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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Browser Script Error

Status
Not open for further replies.

mcelligott

Programmer
Apr 17, 2002
135
US
Hello all,

I have the following code:

Private Sub Form_Open(Cancel As Integer)

Dim objIE4 As Object

Set objIE4 = Me.WebBrowser4.Object

DoCmd.Maximize
objIE4.Navigate "
End Sub

It actually works. It brings up the webpages. The problem is that it also displays an "Internet Explorer Scripting Error". It says there is an invalid character in line 2, character 7. I have tried changing the site to several other sites (including Tek-Tips) and always receive the same exact error.

Can anyone explain what is happening and how to fix it?

Any help would be greatly appreciated.

Thanks,

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top