View Single Post
  #13 (permalink)  
Old May 4th, 2011, 02:35 AM
xyz xyz is offline
Registered User
Join Date: May 2011
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default 800A000D error code in vbscript


I have just typed the following code in a notepad and saved it as google.vbs

Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "
Browser("Title:=Google.*").Page("Title:=Google.*") .WebTable("name:=q.*").WebEdit("name:=q.*").Set "Environment"
Browser("Title:=Google").Page("Title:=Google").Web Table("name:=q").WebButton("name:=Google Search").Click

When I run this script file, the google page opens perfectly, but it throws a runtime type mismatch error in Line 4 Char 1(Type Mismatch: Browser).

Pls help me to resolve this.