On Oct 6, 2006, at 6:05 AM, Carlos M wrote:
I've added a workaround to the HTMLViewer.IsAvaliable report for
Windows that from my tests works fine and that is:
Add a window property:
- mIsHTMLViewerAvailable As Boolean
On HTMLViewer Open event place:
Sub Open()
Me.LoadURL "about:blank"
End Sub
On HTMLViewer DocumentComplete event place:
Sub DocumentComplete(URL as String)
If Not mIsHTMLViewerAvailable AND URL = "about:blank" Then
mIsHTMLViewerAvailable = True
End If
End Sub
I've finally gotten around to trying this workaround. It works if
you use the .LoadURL method; but the .LoadPage method still ends up
causing a NilObjectException. FWIW.
Thanks! I reworked my program a little and it now works!
Mark
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>