SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE no longer works

  • Thread starter Thread starter Anil Gupte
  • Start date Start date
A

Anil Gupte

The following code works in VB.Net 2003, but not in 2005
While webBrowserTemp.ReadyState <> SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE

Application.DoEvents()

End While

I tried

dim WState as SHDocVw.tagREADYSTATE

but that does not work either. Besides telling me how to fix this, can you
comment on why this broke and whethere I should have done it differently in
the first place?

Thanx,
 
I should have added that I get the following error message:

'tagREADYSTATE' is ambiguous in the namespace 'SHDocVw'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top