|
-
Jun 11th, 2001, 04:11 PM
#1
Thread Starter
New Member
IE events with VBScript
I try executing the following script using the Windows Scripting Host (v5.1):
dim browser
sub browser_DownloadComplete(disp, url)
WScript.Echo "URL " & url & " loaded."
end sub
set browser = CreateObject("InternetExplorer.Application", "browser_")
browser.menubar = false
browser.toolbar = false
browser.statusbar = false
browser.resizable = true
browser.Navigate "http://www.microsoft.com"
browser.visible = true
I get the following run-time error:
The remote server machine does not exist or is unavailable: 'CreateObject'
What gives?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|