I just included the webbrowser example in a custom control + added a readHTML to be able to send HTML code to IE.
best regards
Gildas
<<< get latest version here: http://www.arsaniit.com/vp_tools/customie.htm>>>
-
- Active Member
- Posts: 25
- Joined: 8 Jun 2004 23:01
Control for IExplorer 6.3ce -> 1.1&2.01 and for 7ce -> 2.10 updated for 7002
- Attachments
-
- customie.jpg (101.96 KiB) Viewed 43055 times
Last edited by Gildas Menier on 30 Aug 2006 10:26, edited 5 times in total.
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
-
- Active Member
- Posts: 25
- Joined: 8 Jun 2004 23:01
Updated to 1.1 with some new features that use both OLE Command and MSHTML. Can be used in VP6.
New features :
Dialogs : print, print preview, page setup, saveas...
Access : get access to the content of document loaded (HTML and Text), title, docsize, dates...
HTML : use writeHTML to directly write HTML code in the control (doesn't use files anymore)
etc..
Some more docs in http://www.arsaniit.com/vp_tools in the 'customIE' part.
Best Regards
Gildas
<<< get latest version here: http://www.arsaniit.com/vp_tools/customie.htm>>>
New features :
Dialogs : print, print preview, page setup, saveas...
Access : get access to the content of document loaded (HTML and Text), title, docsize, dates...
HTML : use writeHTML to directly write HTML code in the control (doesn't use files anymore)
etc..
Some more docs in http://www.arsaniit.com/vp_tools in the 'customIE' part.
Best Regards
Gildas
<<< get latest version here: http://www.arsaniit.com/vp_tools/customie.htm>>>
-
- Active Member
- Posts: 25
- Joined: 8 Jun 2004 23:01
Updated for VIP 7Ce
This one (V2.x as some parts have been rewritten) is based on a wrapper provided by PDC to get access to sink events.
The new main feature is the access to the values of the fields in forms.
You can use this to build a form in HTML (with some more controls on color, font, animated gif, java, javascript etc.. ) and get the values of the fields in Visual Prolog.
--- 7 August :
2.01 : fixed a (big) bug - the control have to load "about:blank" before beeing able to give access to HTML document (as stated by Microsoft's da-vinci-coded-MSDN). I added this initialization in the show clauses, so you don't have to care anymore about that in the 2.01. Note, that if you use the 1.1, you may have to add a myIE:gotoURL("about:blank") in the show clauses too.
New in 2.01 : Added some extra callback-like features : you can now set a callback for a download error as well as a callback that is triggered when a web page has been downloaded. A last callback to deal with the making of external window by right-click and 'open in new window'. See customIE.i to see what I mean
By the way, I think that the PDC wrapper gives access to much more features than I do. I need only a few and I want to simplify the access to them. But if you dig in the PDC generated wrapper, you may find interesting things to fully control IE : but samewise, you'll have to struggle with MSDN to find your way in...
--- 11 August : updated for VIP 7 Ce
Some more documentation + some more predicates for HTML generation.
--- 30 August : updated for 7002 + some minor bug fixes
best regards
Gildas
<<< get latest version here: http://www.arsaniit.com/vp_tools/customie.htm>>>
This one (V2.x as some parts have been rewritten) is based on a wrapper provided by PDC to get access to sink events.
The new main feature is the access to the values of the fields in forms.
You can use this to build a form in HTML (with some more controls on color, font, animated gif, java, javascript etc.. ) and get the values of the fields in Visual Prolog.
--- 7 August :
2.01 : fixed a (big) bug - the control have to load "about:blank" before beeing able to give access to HTML document (as stated by Microsoft's da-vinci-coded-MSDN). I added this initialization in the show clauses, so you don't have to care anymore about that in the 2.01. Note, that if you use the 1.1, you may have to add a myIE:gotoURL("about:blank") in the show clauses too.
New in 2.01 : Added some extra callback-like features : you can now set a callback for a download error as well as a callback that is triggered when a web page has been downloaded. A last callback to deal with the making of external window by right-click and 'open in new window'. See customIE.i to see what I mean
By the way, I think that the PDC wrapper gives access to much more features than I do. I need only a few and I want to simplify the access to them. But if you dig in the PDC generated wrapper, you may find interesting things to fully control IE : but samewise, you'll have to struggle with MSDN to find your way in...
--- 11 August : updated for VIP 7 Ce
Some more documentation + some more predicates for HTML generation.
--- 30 August : updated for 7002 + some minor bug fixes
best regards
Gildas
<<< get latest version here: http://www.arsaniit.com/vp_tools/customie.htm>>>