|
-
Feb 4th, 2011, 06:29 PM
#1
Thread Starter
Addicted Member
Working With iFrames in the WebBrowser Control
Hey everyone!
So, I'm trying to make a spiffy little program that lets you search for flash games, and it will automatically display the flash game within the program. (by writing document text to a webbrowser control) Unfortunately, the site I use to get the games from uses iFrames from Custom Google Search to house the search results. I know how to deal with frames in a webbrowser (WebBrowser1.document.window.frames("frame name here").document.so on and so forth), however it seems as though iFrames are different. When I try
Code:
WebBrowser1.document.window.frames("googleSearchFrame")
, it doesn't recognize that it's there. Same thing if I replace the name with the index of the frame - it's not there. Using
Code:
WebBrowser1.document.window.frames.count
, it shows that there is 1 frame on the page. So why can I not access it?
Here's an example web page. I'm just wanting to be able to access all of the links (gEBTN) in the frame. Any help would be appreciated! Thanks!
http://www.englishbanana.com/search-...oons&sa=Search
If I helped you with a problem, please rate me and mark your thread as resolved! 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|