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'.
 
Back
Top