Solved

Form Filling frames with webbrowser control?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
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…

829 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