I'm trying from VB 6.0 to return to an app I previously launched to send some keystrokes. I think I'm correctly following the examples I've seen:
dim NetscapeWindow as long
sn={full pathname of netscape.exe}+{full pathname of local HTML file}
NetscapeWindow = Shell(sn, vbNormalFocus)
This works fine
Later on:
AppActivate NetscapeWindow
produces "Invalid procedure call or argument (Error 5)"
Any suggestions?
[sig][/sig]
dim NetscapeWindow as long
sn={full pathname of netscape.exe}+{full pathname of local HTML file}
NetscapeWindow = Shell(sn, vbNormalFocus)
This works fine
Later on:
AppActivate NetscapeWindow
produces "Invalid procedure call or argument (Error 5)"
Any suggestions?
[sig][/sig]