Connecting Tech Pros Worldwide Help | Site Map

Calling EXE file in VB from another System.

  #1  
Old March 14th, 2007, 12:43 PM
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,485
Provided Answers: 1
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
  #2  
Old March 14th, 2007, 01:32 PM
vijaydiwakar's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 582

re: Calling EXE file in VB from another System.


Quote:
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
  #3  
Old March 15th, 2007, 06:08 AM
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,485
Provided Answers: 1

re: Calling EXE file in VB from another System.


how to pass remote host username n password in winsock
  #4  
Old March 15th, 2007, 10:58 AM
vijaydiwakar's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 582

re: Calling EXE file in VB from another System.


Quote:
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
Reply