View Single Post

  #6 (permalink)  
Old 02-28-2003
baal_2000 baal_2000 is offline
Junior Member
Yellow Belt
 
Join Date: Jan 2003
Posts: 23
David:

What is Windows version your app runs on?
And did the error happen in the original example application?

I've recently found that on some Win98 systems TWindow.FindChildWindow method fails.

It does not happen when a piece of code
in TWindow.FindChildWindow is changed:


If Not TWin.Valid Then
Set TWin = Nothing
End If


To


If TWin.hWnd = 0 Then
Set TWin = Nothing
End If


Try it out!
Sergiy
Reply With Quote