Solved

Using the WebBrowser control to navigate to a new frame?

Posted on 2004-03-31
3
675 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
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…
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…
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

623 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