|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
WebBrowser Control Frame DocumentsHi 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. Nick,
I have the same question, I have placed the question as well somewhere else. Cor Show quoteHide quote "Nick" <a@a.com> schreef in bericht news:ev1YihEgGHA.3572@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. > 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 Show quoteHide quote "Nick" <a@a.com> schreef in bericht news:ev1YihEgGHA.3572@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. > 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. Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:OzlV91KgGHA.4304@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:ev1YihEgGHA.3572@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. >> > > Nick,
If I hear something and remember it me, than I let you know (I have your email address). Cor Show quoteHide quote "NickP" <a@a.com> schreef in bericht news:%23c9s7$KgGHA.5104@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]" <notmyfirstn***@planet.nl> wrote in message > news:OzlV91KgGHA.4304@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:ev1YihEgGHA.3572@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. >>> >> >> > > Cheers Cor,
That's much appreciated. Nick. Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23UPgKJLgGHA.356@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:%23c9s7$KgGHA.5104@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]" <notmyfirstn***@planet.nl> wrote in message >> news:OzlV91KgGHA.4304@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:ev1YihEgGHA.3572@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. >>>> >>> >>> >> >> > > Try something like
parent.frames.FRAME2.sID.innertext http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/frame.asp Show quoteHide quote "Nick" <a@a.com> wrote in message news:ev1YihEgGHA.3572@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. > 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 Show quoteHide quote "AMDRIT" <amd***@hotmail.com> wrote in message news:OUvrbkNgGHA.4144@TK2MSFTNGP02.phx.gbl... > Try something like > parent.frames.FRAME2.sID.innertext > > http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/frame.asp > > > "Nick" <a@a.com> wrote in message > news:ev1YihEgGHA.3572@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. >> > > 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 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. <cweeks78***@yahoo.com> wrote in message Show quoteHide quote news:1149017579.858180.278530@j73g2000cwa.googlegroups.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 > 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. :-))) CorShow quoteHide quote "NickP" <a@a.com> schreef in bericht news:uBBLw$IhGHA.4104@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. > > <cweeks78***@yahoo.com> wrote in message > news:1149017579.858180.278530@j73g2000cwa.googlegroups.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 >> > >
Wrapper classes
error handle preventing default value in vb.net How to translate C++ 'for' loop into VB.NET? Windows Service using VB.Net automatic startup problem ! catch the process terminate from the task manager ClickOnce deployment problem! FAST date string conversion ? make a form shared - called from another form - how? Best Suite Documentation |
|||||||||||||||||||||||