HTML reader

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

0
 
kswinneyCommented:
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.
0
 
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!
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
cvidlerCommented:
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.
0
 
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.
0
 
MAVERICKCommented:
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


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