Solved

Form Filling frames with webbrowser control?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

932 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

13 Experts available now in Live!

Get 1:1 Help Now