ppaulinolopes
asked on
HTML reader
Is there in VB6 any control that read HTML code and show the HTML file like NETSCAPE/EXPLORER?
ASKER
Okay, this control real works as an html reader...
But, please, how can I print it contents? How do I use this 'SendKey "^P"' command?
Thanks for any help!
But, please, how can I print it contents? How do I use this 'SendKey "^P"' command?
Thanks for any help!
By directly using the shdocvw.dll file (add to references) you can use the same browser control as IE, although with more advanced features then the one in the Internet Controls ActiveX control.
ASKER
I'm ready using this dll. Choosing "Microsoft Internet Control" in field "Components" of VB 6.0 this dll (shdocvw.dll) is already called. But I still don't know how to print it contents.
I made a APP which colored the TAGs for a HTML file .,..... with some work it could be converted to its own activeX control... that would give a source code window for a HTML file...
Jon
Jon
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
However, the browser control requires the DLLs that Microsoft Internet Explorer uses. To distribute an application that uses the control, you must require your user to have Internet Explorer loaded on the machine.
Hint: Use 'SendKeys "^P"' to print the contents of the control (it's not documented).
HTH.