Hi There
New Baby In Town :(
I’m getting the following error when I try to use Navigate Method of
IWebbrowser2 control.
"An error occurred in : Method 'Navigate' of object 'IWebBrowser2' failed"
The problem seems to persist only in 1 users PC. Other PCs its working fine L
Can you check with your tech team there ??
Find below code for navigation.
Note : The below method is called on Click on a Tool Bar Button in MS-WORD
Sub OpenIE(bytData() As Byte, sNavigateURL As String)
Dim objBrowser As Object
Set objBrowser = CreateObject("InternetExplorer.Application")
objBrowser.AddressBar = False
objBrowser.MenuBar = False
objBrowser.StatusBar = True
objBrowser.ToolBar = False
objBrowser.Width = 790
objBrowser.Height = 550
objBrowser.Visible = True
Call objBrowser.navigate(sNavigateURL, Nothing, wcParent, bytData)
Set objBrowser = Nothing
Exit Sub
ErrorHandler:
MsgBox "An error occurred in " & wcMethodName & ": " & Err.Description &
" [" & Err.Number & "]", vbExclamation
End Sub
User's OS and IE version?
I have seen this error when there is an orphaned IE instance in Tasks (see
Tasks - Processes tab) when the user is running an older version of either
the LIve (formerly the MSN) or Yahoo Search bars with tabbed browsing for
IE6.
Regards.
"Kishore" <Kis...@discussions.microsoft.com> wrote in message
news:E4776041-A309-4C5E...@microsoft.com...