armg
asked on
VB4 16-bit AppActivate error
I've place the following code in the Sub Main() of my program
If App.PrevInstance Then
sTitle = App.Title
App.Title = "armgarmgar"
AppActivate sTitle
End
End If
After running a second instance of my program it gives me a runtime error 'Invalid procedure call' '5'
I'm also running the program under Win95. What am I doing wrong?
If App.PrevInstance Then
sTitle = App.Title
App.Title = "armgarmgar"
AppActivate sTitle
End
End If
After running a second instance of my program it gives me a runtime error 'Invalid procedure call' '5'
I'm also running the program under Win95. What am I doing wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.