Solved

How to view souce of frames

Posted on 2009-06-27
3
263 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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 …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

17 Experts available now in Live!

Get 1:1 Help Now