Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old March 14th, 2007, 12:43 PM
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 6,870
Default 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
Reply
  #2  
Old March 14th, 2007, 01:32 PM
vijaydiwakar's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 582
Default

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
Reply
  #3  
Old March 15th, 2007, 06:08 AM
debasisdas's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 6,870
Default

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

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
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles