View Single Post
  #17 (permalink)  
Old June 18th, 2006, 03:28 AM
theotherkiwi theotherkiwi is offline
Registered User
 
Join Date: Jun 2006
Location: Wellington, NI, New Zealand.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try using WebBrowser_V1 instead of WebBrowser (found this by using the object browser), not sure that the class or method is correct though).

or try

'Declarations required for opening an IE window
Private MainIE As New InternetExplorer
Private WithEvents MainIE_Sink As InternetExplorer

Private Sub Form_Load
  'Make the MainIE_Sink refer to the same IE instance as MainIE
  Set MainIE_Sink = MainIE
  MainIE.Visible = Not MainIE.Visible
  MainIE.navigate "http://cisco.com/"
End Sub



Reply With Quote