Click to See Complete Forum and Search --> : Running Exe from one computer on another
Mahbub
Feb 10th, 2001, 01:20 PM
Hello,
Is it possible to run an exe file from one computer on another-->(In which the exe file actually resides)?
Both computers are in a single network.
What are you actually trying to do? I use SMS for access to remote machines, we have a network of 3000 machines spread over Australia.
Another thought is the AT command, look up AT in your windows help, it is a DOS command and from it you can specify a node for a job to execute on as well as a time for the job to run, it's pretty flexible.
BitBlt
Feb 11th, 2001, 10:52 AM
to open files use the API Function....
Declare Function ShellExecute Lib "shell32.dll"_
Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal_
lpOperation As String, ByVal lpFile As String, ByVal_ lpParameters As String, ByVal lpDirectory As String,_ ByVal nShowCmd As Long) As Long
Const SW_SHOWNORMAL = 1
and then stick the following where ever you want the prog to open....
call ShellExecute_(me.hWnd,"open","C:\windows\Calc.exe","","C:\windows\Calc.exe",SW_SHOWNORMAL)
If you want a really good app to do this, then I would recommend Norton PCAnywhere. It is really good
http://www.norton.com
Hope this helps :cool:
kiesmithuk
Feb 11th, 2001, 05:57 PM
That is good, But if you wanna play a prank on some1 then the way to go would be to make a simple client which would be inserted on theyre computer then code it so that when your computer is connected to the internet then 1 email is sent to a specified address saying your IP address then you can make your own server using VB and then just send the instruction and when the client receaves the data the appropiate command (open the exe ) then the client will execute the program. (p.s. the exe would have to be inserted into their registry so it runs on startup [in the background :)]
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Cant you tell ive had experience with this :) all i can say it was one hell of a prank! I better not give the source code away ... yet because im recoding it at the moment but if u still need it just say in a couple of weeks.
Mahbub
Feb 12th, 2001, 10:47 AM
Hello kiesmithuk
Please help me with your source code or explain more.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.