Morning All.
I have a bizarre problem.
I am now the proud owner of a shiny new PC, which is nice !
Unfortunately, I am experiencing a few 'weird' things now that I have moved up to Windows 2000 Professional.
My app, which under Windows 98 worked fine, now crashes when I click a toolbar button to close it.
The code behind the button is "Unload Me", and then it performs the code below for the unload of the MDI master form.
Even more bizarrly, if I step thru in debug mode it doesn't crash, only when I run it normally !!!!
This happens EVERY time as well.
Can anyone give me an idea why this might be ?
Thanks.
Steve.
VB Code:
Private Sub MDIForm_Unload(Cancel As Integer) Screen.MousePointer = vbHourglass #If live = 1 Then RecordTimeOff #End If HtmlHelp Me.hwnd, "", HH_CLOSE_ALL, "" Screen.MousePointer = vbNormal ' Set all connection variables to nothing here to close down cleanly Set conndll = Nothing Set conn = Nothing End End Sub




Reply With Quote