This is weird...
Try to put a delay in instead of the MsgBox
see what happens.Code:'top of form Private Declare Sub Sleep Lib "kernel32" (ByVal ms as Long) 'in your code instead of MsgBox Sleep 1000 'wait 1 second
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 48
Thread: Code not running Win98Threaded View
|
Click Here to Expand Forum to Full Width |