Title bar not refreshing properly when spawning IE session from vb

G

Guest

I am writing a vbscript that uses InternetExplorer.Appilcation object. Some
of the URL's I supply to the Navigate method correctly resolve the web page
title and display the title of the web page in the title bar of the IE
session. Others will display the URL followed by the title of the web page.
However, if I open the any of the URL's in an IE session not spawned from
the vbscript, the title bar refreshes as it should.

Can anyone explain this behavior and what I might need to do in order to
correct my script?

Thanks,
Shawn
 
R

Rob Parsons

Try the Navigate2 method instead...of Navigate

Navigate2 also has an optional argument of the refresh level. A value of 3
completely loads the page from its address and not the cache.
 
G

Guest

Hi Rob,

I tried the Navigate2 method. Still no joy. Don't know if it matters
(frankly, it should not), but the destination URL loads a java applet. Any
other ideas?

This is not a pressing matter, but it is quite annoying that the same page
opens properly in an IE session launched from My Favorites or typing it in
the address bar of an existing IE session, but does not resolve and display
the title bar information correclty when opened inside my script.

Thanks,
Shawn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top