Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form.show causes GPF in Win98/ME only

Status
Not open for further replies.

bbuk

Technical User
Apr 27, 2002
44
0
0
GB
Hi

I have a ResetAll sub in my application which resets all variables, unloads any forms showing then reloads the home form. This works fine in win2K and XP but under windows 98 or ME a GPF in User.exe is caused at the point where the home form is reloaded. I am using Unload form first then form.show. I have tried putting a DoEvents between the two operations.

Any suggestions welcome - deadine looming!

Thanks

Andy
 
Perhaps there is a misbehaving custom control or component OCX on your form?

 
Thanks for the suggestion, but there is nothing but standard command buttons, a textbox array and a label array on the form!
 
So it load the first time with no problem....
and then it unloads with no problem ...
and then it loads with no problem ...
but you get an error on Form.Show ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top