Results 1 to 6 of 6

Thread: Running Exe from one computer on another

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Bangladesh
    Posts
    74
    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.

  2. #2
    Guest
    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.

  3. #3
    Hyperactive Member
    Join Date
    Sep 2000
    Posts
    257
    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.

  4. #4
    Guest
    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

  5. #5
    Lively Member
    Join Date
    Jan 2001
    Location
    United Kingdom
    Posts
    86
    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

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Feb 2001
    Location
    Bangladesh
    Posts
    74
    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
  •  



Click Here to Expand Forum to Full Width