Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Form Filling frames with webbrowser control?

Posted on 2009-07-14
5
Medium Priority
?
283 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 500 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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

722 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