473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

WebBrowser Control Frame Documents

Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed HTML
document this is merely the frame set description, and does not contain the
HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents contained
within those frames?

Thanks loads in advance!

Nick.
May 25 '06 #1
10 8084
Nick,

I have the same question, I have placed the question as well somewhere else.

Cor

"Nick" <a@a.com> schreef in bericht
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.

May 26 '06 #2
Before I misunderstood you, I mean with the 2.0 Net webbrowser.

With other ones there is the Downloadcomplete event which tells that
everything is downloaded.

Cor

"Nick" <a@a.com> schreef in bericht
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.

May 26 '06 #3
Hi Cor,

Yup that's exactly what I'm after too!

Snap! haha.

I'll keep you posted if I find anything also. It's a great control but
one thing I think is a bit blind is the inability to clone the HTML document
object, unless I'm missing something...

Anyway, good luck, let me know if you find anything!

Nick.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Oz**************@TK2MSFTNGP05.phx.gbl...
Before I misunderstood you, I mean with the 2.0 Net webbrowser.

With other ones there is the Downloadcomplete event which tells that
everything is downloaded.

Cor

"Nick" <a@a.com> schreef in bericht
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.


May 26 '06 #4
Nick,

If I hear something and remember it me, than I let you know (I have your
email address).

Cor

"NickP" <a@a.com> schreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi Cor,

Yup that's exactly what I'm after too!

Snap! haha.

I'll keep you posted if I find anything also. It's a great control but
one thing I think is a bit blind is the inability to clone the HTML
document object, unless I'm missing something...

Anyway, good luck, let me know if you find anything!

Nick.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Oz**************@TK2MSFTNGP05.phx.gbl...
Before I misunderstood you, I mean with the 2.0 Net webbrowser.

With other ones there is the Downloadcomplete event which tells that
everything is downloaded.

Cor

"Nick" <a@a.com> schreef in bericht
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.



May 26 '06 #5
Cheers Cor,

That's much appreciated.

Nick.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
Nick,

If I hear something and remember it me, than I let you know (I have your
email address).

Cor

"NickP" <a@a.com> schreef in bericht
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi Cor,

Yup that's exactly what I'm after too!

Snap! haha.

I'll keep you posted if I find anything also. It's a great control
but one thing I think is a bit blind is the inability to clone the HTML
document object, unless I'm missing something...

Anyway, good luck, let me know if you find anything!

Nick.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:Oz**************@TK2MSFTNGP05.phx.gbl...
Before I misunderstood you, I mean with the 2.0 Net webbrowser.

With other ones there is the Downloadcomplete event which tells that
everything is downloaded.

Cor

"Nick" <a@a.com> schreef in bericht
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.



May 26 '06 #6
Try something like
parent.frames.FRAME2.sID.innertext

http://msdn.microsoft.com/workshop/a...ects/frame.asp
"Nick" <a@a.com> wrote in message
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.

May 26 '06 #7
Hi AMDRIT,

Thanks for your help...

<webbrowser>.Document.Window.Frames

This indeed holds a collection to the frames of the document, just what
I was looking for, thanks. My only problem at current is now getting each
document object without experiencing a security exception. I seem to be
able to get the one at index 0, but not 1. Strange...

Anyway, thanks it's much appreciated.

Nick

"AMDRIT" <am****@hotmail.com> wrote in message
news:OU**************@TK2MSFTNGP02.phx.gbl...
Try something like
parent.frames.FRAME2.sID.innertext

http://msdn.microsoft.com/workshop/a...ects/frame.asp
"Nick" <a@a.com> wrote in message
news:ev**************@TK2MSFTNGP04.phx.gbl...
Hi there,

I'm having great difficulty obtaining all of the document data for a
framed HTML document.

Once the documentcomplete event has fired for the last time I am
analysing the webbrowsers document property. Unfortunately in a framed
HTML document this is merely the frame set description, and does not
contain the HTML data for the contained frames.

So my question is, if I navigate to an HTML page that consists of 2
frames, how do I get the document objects for the 2 HTML documents
contained within those frames?

Thanks loads in advance!

Nick.


May 30 '06 #8
Well, you may ... or may not ... find something useful here:

"Accessing Frames in the Managed HTML Document Object Model"
http://tinyurl.com/q7mx3
"About Cross-Frame Scripting and Security"
http://tinyurl.com/o0gp

May 30 '06 #9
Hi there,

Now that *is* crazy, so even though the data has downloaded and I can
view it by right clicking the frame and then "view source", I have no other
form of access to it? Maybe there is a way to derive a new control which
exposes this information in another way...

Thanks loads for your help!

Nick.

<cw*********@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Well, you may ... or may not ... find something useful here:

"Accessing Frames in the Managed HTML Document Object Model"
http://tinyurl.com/q7mx3
"About Cross-Frame Scripting and Security"
http://tinyurl.com/o0gp

May 31 '06 #10
Nick,

As I thought it was, this part is very old in my opinion, with the idea that
this could not be it.

I forgot to try it, but am glad you did it.

:-)))

Cor
"NickP" <a@a.com> schreef in bericht
news:uB**************@TK2MSFTNGP04.phx.gbl...
Hi there,

Now that *is* crazy, so even though the data has downloaded and I can
view it by right clicking the frame and then "view source", I have no
other form of access to it? Maybe there is a way to derive a new control
which exposes this information in another way...

Thanks loads for your help!

Nick.

<cw*********@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Well, you may ... or may not ... find something useful here:

"Accessing Frames in the Managed HTML Document Object Model"
http://tinyurl.com/q7mx3
"About Cross-Frame Scripting and Security"
http://tinyurl.com/o0gp


May 31 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: ASP .NET Newbie | last post by:
How can I run a WebBrowser control using ASP.NET/VB.NET? I know I can use the WebClient to get the page data, but I need to be able to use the WebBrowser (AxWebBrowser)? Thanks, Chad
0
by: Jim Hubbard | last post by:
How would I implement the IDispatch interface to handle the following in VB.Net <BEGIN> Controlling Download and Execution The WebBrowser Control gives you control over what it downloads,...
4
by: Toma Marinov | last post by:
Hello ! I made some test with webbrowser control in VS.2005. When I load a word document in webbrowser through .Navigate method (from my hdd), I want to get the stream of the loaded doc file with...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
1
by: JP2006 | last post by:
I'm trying to write a control that will take a screen capture of a particular website when a user submits a form in a web application; one of the form fields is for a URL - the control needs to get...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
3
by: Webnewsreader | last post by:
Hi,I have a webbrowser object with two frames with similar source code<frameset cols="230,*"> <frame name="frame1" target="frm1" src="teste1.php?var=123"> <frame name="frame2" target="_blank"...
1
by: David Veeneman | last post by:
I'm writing an application that will manage a database of documents typed into the application by the user. Some documents will contain links to other documents. If the user clicks on a link, the...
0
by: ranjanmondal | last post by:
I can access ( read/put ) value into the textbox of an html through webbrowser control in vb ( using document.getElementById("elementName"). But some time I notice that the element(textbox) in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.