Link to home
Start Free TrialLog in
Avatar of ppaulinolopes
ppaulinolopes

asked on

HTML reader

Is there in VB6 any control that read HTML code and show the HTML file like NETSCAPE/EXPLORER?
Avatar of kswinney
kswinney

There is, but there are some limitations.  If you load the component "Microsoft Internet Controls" there is a browser control (the little world icon).

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.
Avatar of ppaulinolopes

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!
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.
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


ASKER CERTIFIED SOLUTION
Avatar of vignola
vignola

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial