Calling EXE file in VB from another System.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    Calling EXE file in VB from another System.

    Hi all

    I have number of EXE files in my server(no set up).I want to call the the files from client pc through another exe file using shell.
    My server is Windows 2000 advance server and cliients are 98, 2000 or xp.
    I have tried MSTSC and/or NET USE through Shell function.
    for both i have to pass userid n password of the server. thsi si the main problem.
    the parent folder in the server is shared.
    if i open the folder from my system it works fine but once i log out and log in its throughs error

    please help
  • vijaydiwakar
    Contributor
    • Feb 2007
    • 579

    #2
    Originally posted by debasisdas
    Hi all

    I have number of EXE files in my server(no set up).I want to call the the files from client pc through another exe file using shell.
    My server is Windows 2000 advance server and cliients are 98, 2000 or xp.
    I have tried MSTSC and/or NET USE through Shell function.
    for both i have to pass userid n password of the server. thsi si the main problem.
    the parent folder in the server is shared.
    if i open the folder from my system it works fine but once i log out and log in its throughs error

    please help
    try to use winsock ctrl

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      how to pass remote host username n password in winsock

      Comment

      • vijaydiwakar
        Contributor
        • Feb 2007
        • 579

        #4
        Originally posted by debasisdas
        how to pass remote host username n password in winsock
        use senddata property
        first run ur exe on another machine at system startup then whenevr ur application is get started send ur request using senddata
        use dataarrival to receive data
        depends upon the command send do the appropriate actions
        Good Luck

        Comment

        Working...