CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: VB to Unix

  1. #1
    Join Date
    Nov 1999
    Location
    Canada, Ontario, Toronto
    Posts
    3

    VB to Unix

    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

  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: VB to Unix

    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

  3. #3
    Join Date
    Nov 1999
    Posts
    1

    Re: VB to Unix

    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!



  4. #4
    Join Date
    Nov 1999
    Location
    Canada, Ontario, Toronto
    Posts
    3

    Re: VB to Unix

    Thanks!

    Cancer

  5. #5
    Join Date
    Nov 1999
    Location
    Canada, Ontario, Toronto
    Posts
    3

    Re: VB to Unix

    Thanks Ravi!

    Cancer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured