Solved

Using the WebBrowser control to navigate to a new frame?

Posted on 2004-03-31
3
667 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

947 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now