From: Luigino M. <lma...@ou...> - 2002-10-11 08:45:48
|
Hi, I'm planning to use AxWindow to host a WebBrowser Activex control = for displaying dynamic text into a Win32::GUI application and I have a = problem: How can I access and update the "Document.body.innerHTML" property in = the WebBrowser object I have created? I found how to access properties, methods and events in the AxWindow = hosted control but nothing about browsing the object hierarchy itself. Am I missing anything? Thanks. Luigino Masarati OutSys snc |
From: Laurent R. <ro...@cl...> - 2002-10-11 18:12:43
|
Hi, Theoricly, i think you can have access to html object hierarchy via WebBrowser.Document property. But actualy, AxWindow not work with IDispatch property :( I probably add it in a future release. Actual solution is to create/manage you HTML document via perl and save it to a tempory file. Then (re)load it, in a webbrowser. Eventualy, you can use a DHTML Edit control for directly load HTML wihtout file. Laurent. ----- Original Message ----- From: "Luigino Masarati" Subject: [perl-win32-gui-users] AxWindow, WebBrowser and objects Hi, I'm planning to use AxWindow to host a WebBrowser Activex control for displaying dynamic text into a Win32::GUI application and I have a problem: How can I access and update the "Document.body.innerHTML" property in the WebBrowser object I have created? I found how to access properties, methods and events in the AxWindow hosted control but nothing about browsing the object hierarchy itself. Am I missing anything? Thanks. Luigino Masarati OutSys snc |
From: Wasserman H. <hwa...@ya...> - 2002-10-11 20:57:58
|
You might be able to use Win32::OLE to get the browser COM object, which in turn will give you the DOM. Take a look at S.A.M.I.E - simple automated module for Internet Explorer on www.sourceforge.net - Henry --- Laurent ROCHER <ro...@cl...> wrote: > Hi, > > Theoricly, i think you can have access to html > object hierarchy via > WebBrowser.Document property. > But actualy, AxWindow not work with IDispatch > property :( > I probably add it in a future release. > > Actual solution is to create/manage you HTML > document via perl and save it to a > tempory file. Then (re)load it, in a webbrowser. > Eventualy, you can use a DHTML Edit control for > directly load HTML wihtout file. > > > Laurent. > > > ----- Original Message ----- > From: "Luigino Masarati" > Subject: [perl-win32-gui-users] AxWindow, WebBrowser > and objects > > > Hi, > I'm planning to use AxWindow to host a > WebBrowser Activex control for > displaying dynamic text into a Win32::GUI > application and I have a problem: > > How can I access and update the > "Document.body.innerHTML" property in the > WebBrowser object I have created? > I found how to access properties, methods and events > in the AxWindow hosted > control but nothing about browsing the object > hierarchy itself. > > Am I missing anything? > > Thanks. > > Luigino Masarati > OutSys snc > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com |
From: Luigino M. <lma...@ou...> - 2002-10-14 05:47:48
|
Thanks, I think that I will use OLE this time (waiting for Laurent to add IDispatch property support ;-) because I want to use the "HTML window" simply as a nicely formatted log message display. Bye. Luigino Masarati OutSys snc ----- Original Message ----- From: "Wasserman Henry" <hwa...@ya...> To: <Per...@li...> Sent: Friday, October 11, 2002 10:57 PM Subject: Re: [perl-win32-gui-users] AxWindow, WebBrowser and objects > You might be able to use Win32::OLE to get the browser > COM object, which in turn will give you the DOM. > > Take a look at S.A.M.I.E - simple automated module for > Internet Explorer on www.sourceforge.net > > - Henry > --- Laurent ROCHER <ro...@cl...> wrote: > > Hi, > > > > Theoricly, i think you can have access to html > > object hierarchy via > > WebBrowser.Document property. > > But actualy, AxWindow not work with IDispatch > > property :( > > I probably add it in a future release. > > > > Actual solution is to create/manage you HTML > > document via perl and save it to a > > tempory file. Then (re)load it, in a webbrowser. > > Eventualy, you can use a DHTML Edit control for > > directly load HTML wihtout file. > > > > > > Laurent. > > > > > > ----- Original Message ----- > > From: "Luigino Masarati" > > Subject: [perl-win32-gui-users] AxWindow, WebBrowser > > and objects > > > > > > Hi, > > I'm planning to use AxWindow to host a > > WebBrowser Activex control for > > displaying dynamic text into a Win32::GUI > > application and I have a problem: > > > > How can I access and update the > > "Document.body.innerHTML" property in the > > WebBrowser object I have created? > > I found how to access properties, methods and events > > in the AxWindow hosted > > control but nothing about browsing the object > > hierarchy itself. > > > > Am I missing anything? > > > > Thanks. > > > > Luigino Masarati > > OutSys snc > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Perl-Win32-GUI-Users mailing list > > Per...@li... > > > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > |
From: Laurent R. <ro...@cl...> - 2002-10-15 20:20:02
|
Hi Good news for you. I have upload a new version of Win32::GUI::AxWindow. This version add a new method GetOLE. This method return a Win32::OLE object on the Hosted ActiveX control. Now, you can host a webcontrol in a Win32::GUI window and control it via Win32::OLE. Win32::OLE is more powerfull for complex ActiveX. I have add a sample with write directly in the WebControl. See at : http://perso.club-internet.fr/rocherl/Win32GUI.html Laurent. ----- Original Message ----- > Thanks, > I think that I will use OLE this time (waiting for Laurent to add > IDispatch property support ;-) because I want to use the "HTML window" > simply as a nicely formatted log message display. > > Bye. > > Luigino Masarati > OutSys snc |
From: Luigino M. <lma...@ou...> - 2002-10-16 05:41:03
|
You're great... ...Many thanks!!! Bye. Luigino Masarati OutSys snc ----- Original Message ----- From: "Laurent ROCHER" <ro...@cl...> To: <Per...@li...> Sent: Tuesday, October 15, 2002 10:27 PM Subject: Re: [perl-win32-gui-users] AxWindow, WebBrowser and objects > Hi > > Good news for you. > > I have upload a new version of Win32::GUI::AxWindow. > This version add a new method GetOLE. > This method return a Win32::OLE object on the Hosted ActiveX control. > > Now, you can host a webcontrol in a Win32::GUI window and control it via > Win32::OLE. > Win32::OLE is more powerfull for complex ActiveX. > I have add a sample with write directly in the WebControl. > > See at : http://perso.club-internet.fr/rocherl/Win32GUI.html > > Laurent. > > ----- Original Message ----- > > > Thanks, > > I think that I will use OLE this time (waiting for Laurent to add > > IDispatch property support ;-) because I want to use the "HTML window" > > simply as a nicely formatted log message display. > > > > Bye. > > > > Luigino Masarati > > OutSys snc > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > |