footsteps38 Posted January 18, 2006 Posted January 18, 2006 Hey all, Im sort of a newbie when it comes to winPE and vbs. i am editing a data transfer script that involves an html page that gets info and passes it along the vbs and i am trying to get it to work in winpe enviorment. I keep getting "Could not locate the automation class named "InternetExplorer.Application" I am using Reatoga program to build my WinPe disc and it will run correctly when Im booted into the machine and then pop the cd in and run the script. But while actually booting from the cd into WinPE it will not work. Any Help would be greatly appreciated. Internet explorer works in WinPE (Internet browsing) and is registered. Internet explorer is called iexplore.exe and is located in the i386 folder.ThanksHere is the code:path = WScript.ScriptFullNamepath = Left(path, InstrRev(path, "\"))'create IE Window to Get user inputSet IE = WScript.CreateObject("InternetExplorer.Application")IE.left=0IE.top = 50IE.height = 500IE.width = 950IE.menubar = 0IE.toolbar = 0IE.statusbar = 0IE.resizable = 1IE.navigate path + "Bin\OldData.html"IE.visible = 1WScript.Sleep 2000
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now