Solved

Form Filling frames with webbrowser control?

Posted on 2009-07-14
5
268 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
  • 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

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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