D
Dudely
Not sure if this is the right place to post, but here goes anyway. I
pull out "javascript:__doPostBack('ctl01$ContentPlaceHolderMain
$Page_SearchResults$Results','LID_2076923')" from an href in an object
I'm parsing and set URLaddress to be that string
On a whim, I then plug it into obIe.navigate (URLaddress) and miracle
of miracles, it actually brought me to the right web page, which I
didn't think it would do and have no idea why it actually works.
Setting aside the issue of why it does work as well as it works,
there's still a problem.
It never enters readyState 4, but remains at readyState 3, so I never
leave the loop.
In VBA I do:
obIe.navigate (URLaddress)
Do While obIe.readyState <> 4 'READYSTATE_COMPLETE
DoEvents
Loop
I can't figure out how to get past this. I'm sure it must have to do
with the href string in some way since I didn't expect it to work at
all.
I was considering doing something like [myObject].href.onClick
instead, but I would prefer to use the navigate method above for the
simple reason that I believe I have more control over timing and
errors - at least usually.
Any help?
Thank you
pull out "javascript:__doPostBack('ctl01$ContentPlaceHolderMain
$Page_SearchResults$Results','LID_2076923')" from an href in an object
I'm parsing and set URLaddress to be that string
On a whim, I then plug it into obIe.navigate (URLaddress) and miracle
of miracles, it actually brought me to the right web page, which I
didn't think it would do and have no idea why it actually works.
Setting aside the issue of why it does work as well as it works,
there's still a problem.
It never enters readyState 4, but remains at readyState 3, so I never
leave the loop.
In VBA I do:
obIe.navigate (URLaddress)
Do While obIe.readyState <> 4 'READYSTATE_COMPLETE
DoEvents
Loop
I can't figure out how to get past this. I'm sure it must have to do
with the href string in some way since I didn't expect it to work at
all.
I was considering doing something like [myObject].href.onClick
instead, but I would prefer to use the navigate method above for the
simple reason that I believe I have more control over timing and
errors - at least usually.
Any help?
Thank you