Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Occasional error

Status
Not open for further replies.

AndyGroom

Programmer
May 23, 2001
972
GB
Any ideas why the following line occasionally gives the error "Object variable or With block variable not set". Is it a binding issue, and is there a way to resolve it?
Code:
WebBrowser1.Document.Clear

- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
 
I haven't worked with the webBrowser control but could it be a latency issue? If the you call .clear when the document is not fully formed/rendered would you get this error??

Patrick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top