Solved

How to view souce of frames

Posted on 2009-06-27
3
271 Views
Last Modified: 2013-11-26
How can I do something like
        MsgBox(WebBrowser1.document.Window.Frames["0"].Documenttext)
Thanks
0
Comment
Question by:Netlink2
[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
3 Comments
 
LVL 3

Expert Comment

by:tpsl
ID: 24726874
r u trying to do this in javascript?

window.top.frames[0].innerHTML
0
 
LVL 1

Author Comment

by:Netlink2
ID: 24726905
trying to use VB.Net to extract source code from a specific frame and then input data into a form within the specified frame. This needs to be done using Webbrowser1. I'd prefer to use vb.net.  ;)
0
 
LVL 1

Accepted Solution

by:
Netlink2 earned 0 total points
ID: 24727911
I found the answer:
TextBox2.Text = Me.WebBrowser1.Document.Window.Frames(0).Document.Body.InnerHtml()
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 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