I tried that .... did'nt work. The code failed at AppActivate TaskId
" Error 5 - Invalid procedure call or argument"
Okay heres what runs ....
Code:
Sub Test()
Dim MyApp, TaskId
MyApp = ("C:\Documents and Settings\All Users\Desktop\WMS Lancaster.exe")
TaskId = Shell(MyApp)
Application.Wait (Now + TimeValue("0:00:15"))
AppActivate TaskId
End Sub
When this file is executed it does the following
Open > C:\WNNT\sys.32\cmd.exe, C

rogram~1\openssh\bin\ssh.exe
then it connects to program via a program called "exceed" to
167_140_195_227:00.0
When the app opens its name is "WMS21"
but when I try and make it do anything, it errors .....
I can open the program, but I can't activate it ....