Hello,
I've come across a problem whilst coding my web browser control. Any help would be very much appreciated. Here's the deal:
VB Code:
Private Sub net_DocumentComplete(ByVal pDisp As Object, URL As Variant) If (pDisp = net.Application) Then work.Text = net.Document.documentelement.innerHTML End If Call yell End Sub
Now, before I even navigate to a page. (On form load in fact), my web browser control (net) fires the following error:
It highlights the work.text line
What is the cause of this problem? Thanks a lot.Code:Rune-time error '91': Object variable or With block variable not set
Jord




Reply With Quote