Connecting Tech Pros Worldwide Forums | Help | Site Map

Calling EXE file in VB from another System.

debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#1: Mar 14 '07
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's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 579
#2: Mar 14 '07

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
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#3: Mar 15 '07

re: Calling EXE file in VB from another System.


how to pass remote host username n password in winsock
vijaydiwakar's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 579
#4: Mar 15 '07

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