Running Apps Remotely 
Author Message
 Running Apps Remotely

Hi All

    I am trying to run an application on the terminals of some of my users
to notify them of new data in a database. The app is an EXE of a VB6 app and
all it is a message box that tells them of the new data. I need to call the
app from an app that runs on the server to import the data. I need to notify
the users as soon as possible of new data. if there is a better way to do
this. Please feel free to let me know of it.

Thanks in advance
--
Andrew J Canfield

Yesterday is History
Tomorrow a Mystery
Today a Gift
That's Why it is called the Present!



Mon, 04 Aug 2003 23:47:23 GMT  
 Running Apps Remotely
WMI can start a process on a remote machine.

Dominic
<dont crosspost *so* much>



Quote:
> Hi All

>     I am trying to run an application on the terminals of some of my users
> to notify them of new data in a database. The app is an EXE of a VB6 app
and
> all it is a message box that tells them of the new data. I need to call
the
> app from an app that runs on the server to import the data. I need to
notify
> the users as soon as possible of new data. if there is a better way to do
> this. Please feel free to let me know of it.

> Thanks in advance
> --
> Andrew J Canfield

> Yesterday is History
> Tomorrow a Mystery
> Today a Gift
> That's Why it is called the Present!



Tue, 05 Aug 2003 02:05:34 GMT  
 Running Apps Remotely
Andrew J Canfield says:

Quote:
>    I am trying to run an application on the terminals of some of my users
>to notify them of new data in a database. The app is an EXE of a VB6 app and
>all it is a message box that tells them of the new data. I need to call the
>app from an app that runs on the server to import the data. I need to notify
>the users as soon as possible of new data. if there is a better way to do
>this. Please feel free to let me know of it.

Sub StartProcess (CommandLine, CurrentDirectory, computername)
  Dim Proc, ProcessId
  Set Proc = GetObject("WinMgmts://" & computername & _
              "/root/cimv2").Get("Win32_Process")
  Proc.Create CommandLine, CurrentDirectory, ProcessId
  Set Proc = Nothing
End Sub

----------
Randy Hunt
MCP+I / MCSE



Tue, 05 Aug 2003 12:19:55 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Run app remotely

2. Remotely Running Apps On a Terminal from the Term Srv

3. Running VB apps remotely on NT

4. Preventing an app from being run remotely

5. stop app, run script, restart app

6. VB5 app w/ Exchange/MAPI to Remotely send data

7. Detecting SQL Server status remotely using a VB App

8. Running an exe remotely

9. Running VB procedures remotely

10. How to run DLL remotely?

11. Running a program remotely

12. Detect processes running remotely

 

 
Powered by phpBB® Forum Software