remote exe execution in vb
how can i execute an exe file present in a remote system by using vb programming.
regards
Vipin.B :)
[108 byte] By [
vipinb] at [2007-11-11 7:26:36]

# 1 Re: remote exe execution in vb
What do u mean exactly? Do u want to run an .exe file from a remote computer? If so do you have access of that remote computer? if so then why not map adrive on ur machine, then use the shell command to run it. i.e shell(path\filename). Hope that is what u are looking for if not then give a thorough explanation of your query.
# 2 Re: remote exe execution in vb
Vipin: You do not even have to map a drive to the remote machine, you may simply use a UNC path to execute the remote program:
Shell "\\machinename\sharename\appname.exe"
# 3 Re: remote exe execution in vb
if i use this Shell "\\machinename\sharename\appname.exe" it will only execute in my system i want to execute that exe in remote system.Not in my System.That means i have a program, that program should take an exe file in remote System and execute in remote system.So how can i do this in vb
regards
Vipin.B :)
vipinb at 2007-11-11 17:28:58 >

# 4 Re: remote exe execution in vb
Try this: http://www.sysinternals.com/utilities/psexec.html
You can use VB's Shell statement to run it.