HTML reader

Is there in VB6 any control that read HTML code and show the HTML file like NETSCAPE/EXPLORER?
Who is Participating?
vignolaConnect With a Mentor Commented:

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

ppaulinolopesAuthor Commented:
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!
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.
ppaulinolopesAuthor Commented:
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...


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.