|
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 |