Solved

Using the WebBrowser control to navigate to a new frame?

Posted on 2004-03-31
3
669 Views
Last Modified: 2013-12-26
I'm currently using the WebBrowser control in VB6 to access a website, login, and do some other stuff.   There is a particular website that has frames such that once you login, there's a navbar-like set of options on the left, and a content frame on the right.   I want to programmatically navigate directly to a new frame on the right using a specified URL, rather than programmatically clicking through the links and drilling down to it.   The problem is, this website logs me out if I do WebBrowser.Navigate because it thinks I am leaving the website by navigating away from the navbar frame etc.  

How can I use the WebBrowser control to navigate to a new page for the *content frame* only?

Thanks for your help!
0
Comment
Question by:steveuci
  • 2
3 Comments
 

Author Comment

by:steveuci
ID: 10727656
No one has any ideas?
0
 
LVL 13

Accepted Solution

by:
crazyman earned 500 total points
ID: 10730917
find out the frame name and Use Navigate2

WebBrowser1.Navigate2 "http://www.somesite.com/somepage.asp",,"FRAMENAME"
0
 

Author Comment

by:steveuci
ID: 10736825
Well I'll be darned. :)   Thanks a ton crazyman!
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question