Launch URL within browser window using TargetFrameName? 
Author Message
 Launch URL within browser window using TargetFrameName?

Hi,

I would like to, by clicking a menu button in Word, launch
a URL that should open within the frame of an already open
browser window (frameset).

Currently the Visual Basic macro uses the
InternetExplorer.Application OBJECT, its Navigate METHOD,
and the TargetFrameName ARGUMENT to open the URL.

Unfortunately, the URL is NOT being opened within the
specified frame in the already open browser window.
Instead, it is opening in a new browser window.

I am using the following code:
Dim TestBrowser As Object
Set TestBrowser = CreateObject
("InternetExplorer.Application")
TestBrowser.Visible = True
TestBrowser.Navigate URL_To_Launch, Flags = Null,
TargetFrameName = "_Main", PostData = Null, Headers = Null

Your comments are greatly appreciated!

Arturo



Fri, 13 Feb 2004 22:01:39 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Launch URL within browser window using TargetFrameName?

2. Launch URL within browser window using TargetFrameName?

3. Creating MS Access table with float field

4. HowTo: Launch default browser from Windows Control running in IE browser

5. Launch Default Browser and return URL

6. Launch browser with URL from field

7. Launch def browser to a specific URL??

8. How to launch a browser with certain URL?

9. How to launch a browser with certain URL?

10. Launching URL in default web browser

11. Starting Internet browser with url from within VB

12. VB : Change Url of an activated browser within VB

 

 
Powered by phpBB® Forum Software