
Code: 80004005 Unspecified Error meaning?
I am EXTREMELY new to WSH. I downloaded WSH 2;
I grabbed Redmond's documentation and was so impressed by its
completeness that I bought Tim Hill's "Windows Script Host" book.
I downloaded Tim's sample code and tried to run HelloWorld2.vbs.
It failed with an "Unspecified Error" message.
I upgraded from IE4 to IE5 to check the problem was not version
incompatibility. I am running Windows 95 4.00.950C.
I abstracted the relevant lines and show what happened below.
Dim oIE, oIEDoc
Set oIE = Wscript.CreateObject("InternetExplorer.Application")
oIE.Navigate "about:blank"
Set oIEDoc = oIE.Document
:\>cscript try.vbs > t.t
C:\try.vbs(4, 1) Unspecified error
C:\>
What does "Unspecified Error" mean?
Am I right that I am missing messages from my system?
From wscript, I get a cryptic "Code: 80004005" in the error box.
How do I refresh the error texts in my system?
What does the error mean?
What is the workaround?
I am sorry that my posting seems to be nothing but questions.
I hate to have my path barred to this EXTREMELY useful technology.
Before I started writing this, I had searched DejaNews without success
for "Unspecified Error". I since searched for 80004005 and was pointed
at http://www.*-*-*.com/
http://www.*-*-*.com/
suggests I may need to wait for IE to start.
I introduced a 5 second sleep with a 'WScript.Sleep 5000' and I now have
a working script.
I have answered some of the questions I asked earlier.
I would appreciate n explanation of the reason for the cryptic messages.
I would also like a suggestion for a better fix. Something along the
lines of 'oIE.action "Delay me until you are ready to work"'
--
Walter Briscoe