|
-
Feb 10th, 2001, 02:20 PM
#1
Thread Starter
Lively Member
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.
-
Feb 10th, 2001, 11:24 PM
#2
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.
-
Feb 11th, 2001, 11:52 AM
#3
Hyperactive Member
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)
When I write my code, only God and I know what it means. But a week later, only God knows.
-
Feb 11th, 2001, 11:57 AM
#4
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
-
Feb 11th, 2001, 06:57 PM
#5
Lively Member
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 ]
Code:
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.
Kieran Smith
'Computing' A Level Student
[email protected]
Visit my Home Page
Visual C++ 6.0 Pro
Visual Basic 6.0 Ent
SQL, ADO, DAO
"Computers in the future may weigh no more than 1.5 tons."
-- Popular Mechanics, forecasting the relentless march of science, 1949
-
Feb 12th, 2001, 11:47 AM
#6
Thread Starter
Lively Member
Hello kiesmithuk
Please help me with your source code or explain more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|