Click to See Complete Forum and Search --> : VB to Unix


Cancer
November 12th, 1999, 05:40 PM
Is there any way to create app. using VB for Windows as front end communicating with
Unix i.e. running shell scripts, submitting parameters, reading results.

Note: not by means of FTP

Cancer

Ravi Kiran
November 13th, 1999, 03:06 AM
Yes, it is Possible.
Using Com port and MS COMM comtrol. I had some a small project. Sending some simple control data (Simulating a user Panel).
And the unix server section was not written be me so i can't give you much details... it needs to run a socket (or Unix Equil program) which will be looking at its port or what ever!!.

RK

Scotty
November 13th, 1999, 06:41 PM
Could you do this using Smba protocol?? You could set up a UNIX share which would be available to your Win32 machine using smba. Your VB app could then read and write to this share, and could produce scripts on the fly. If the scripts produced had to be executed at regular intervals you could set up cron jobs on the UNIX box to execute them periodically and place the results in a file in the shared directory. Your VB app would then be able to read these files again from the share via the win32 box.

Only an idea. Might not work!

Cancer
November 15th, 1999, 07:41 AM
Thanks!

Cancer

Cancer
November 15th, 1999, 07:43 AM
Thanks Ravi!

Cancer