Solved

Using the WebBrowser control to navigate to a new frame?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

747 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

15 Experts available now in Live!

Get 1:1 Help Now