Solved

Form Filling frames with webbrowser control?

Posted on 2009-07-14
5
279 Views
Last Modified: 2012-05-07
Hi,

How to I get access to 'iframes' with the webbrowser control?

I am trying something like:

Webbrowser1.document.frames(x).document , etc, etc
and variations thereof, but all I get (sometimes) is an 'access denied' message,
and other times it just can't seem to get access to it.

I want to get access to all the 'iframes' in a particular document, and then get access to the form elements within those particular iframes. Any idea on how to accomplish this?

(PS, Im using VB6, but assume the code would be similiar if you are using vb.net)

Thanks very much!
0
Comment
Question by:cool12399
[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
  • 2
5 Comments
 
LVL 20

Accepted Solution

by:
hes earned 125 total points
ID: 24858550
0
 
LVL 10

Author Comment

by:cool12399
ID: 24866465
I see... so basically you are saying it's not possible with iframes?
0
 
LVL 20

Expert Comment

by:hes
ID: 25093295
So you are saying it can't be done is not an acceptable answer anymore ?
0
 
LVL 10

Author Comment

by:cool12399
ID: 25109078
I was awaiting a reply (confirmation) from you (that is why it was still open), but to the mod, did some further research and it does appear that it is not possible to do it directly because of how the webbrowser works.

So I'll accept it as an answer.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

617 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