|
-
Aug 15th, 2003, 06:56 AM
#1
Thread Starter
Addicted Member
Problem with READYSTATE=0
I have an activeX dll on my webserver with the following code in
Set noIE = CreateObject("InternetExplorer.Application")
(code that bulids sURL & lvHeaders)
'Execute the URL
noIE.Navigate sURL, , , , lvHeaders
ldTime = DateAdd("s", 60, Now())
Do Until ((noIE.ReadyState = 4) Or (Now() > ldTime))
DoEvents
Loop
The problem is the object does not seem to be able to navigate to the page (the page I require is sitting on another PC connected to the internet and runs another VB app).
I have put some debugging progress text that is output to file and it tells me that ReadyState = 0 (UNINITIALIZED). I am not sure what this means or why it is not working.
This application used to work but not now. It could be down to some program changes I have made, or some configuration issues with IIS or DCOM. I did have a look at the Internet Explorer (Ver 1.0) in DCOM but couldn't see the anything strange.
Can anyone help?
Thanks
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
|