Author Message

Not sure whats up here but when i call Appactive liek this is gives an error
5 : Invalid procedure call or argument.

Appactivate "Flight Simulator"

Anyone got any ideas?

Thu, 20 Nov 2003 02:30:42 GMT  

The AppActive statement activates an application window.

AppActivate title[, wait]

title is a String expression specifying the title in the title bar of the
application window you want to activate. The task ID returned by the Shell
function can be used in place of title to activate an application.


' AppActivate use the return value of the Shell function.
MyAppID = Shell("C:\WORD\WINWORD.EXE", 1)   ' Run Microsoft Word.
AppActivate MyAppID   ' Activate Microsoft  Word.



Fri, 21 Nov 2003 13:59:32 GMT  
 [ 2 post ] 

 Relevant Pages 

1. AppActivate Error

2. AppActivate with Shell's return value

3. AppActivate

4. AppActivate and SendKeys

5. AppActivate error in Access 2000

6. VB.Net AppActivate Method and Visio Application ProcessID property

7. How can I tell if AppActivate has failed?

8. Alternatives to SendKeys and AppActivate with VB6.0...

9. AppActivate doesn't seem to work with SendKeys

10. AppActivate question

11. AppActivate exception?

12. SendKeys, AppActivate


Powered by phpBB® Forum Software