Solved

Using the WebBrowser control to navigate to a new frame?

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

821 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