Link to home
Start Free TrialLog in
Avatar of borisl
borisl

asked on

An HTML Viewer

Does anyone know about a simple control to display HTML. I triedd to use Microsoft WebBrowser control (from VB6 SP1) but it behaves unreliably: often locks up VB IDE or/and errors without an obvious reason. Any suggestion will be appriciated
Avatar of waty
waty
Flag of Belgium image

I use it under VB5 and seems correct.
you could try Webster Pro control at
http://www.homepagesw.com
it is quite neat and has some good functions..plus IE does not need to be installed on you computer.

Avatar of joao_patrao
joao_patrao

Take a look at this:

AlphaConnect acHTML
http://www.download.com/PC/Result/TitleDetail/0,4,0-44113,1000.html

maybe is what you are looking for.

bye
Avatar of borisl

ASKER

joao_patrao thanks for the suggestion. Unfortunately acHTML is a tool for programmatic creation and reading (parsing) of HTML. What I'm looking for is a simple HTML viewer for a local files. I don't need any user interaction with the text just a "preview" of a (programmaticly generated) HTML page.
Avatar of borisl

ASKER

To waty:
I tried my project in VB5 and it locks the VB IDE after some operations involving WebBrowser. It behaves as if somewhere there is a modal dialog box which I can not see. I can not reproduce this behaviour outside of the project yet. To make the control work I had to put in a few DoEvents which I don't like either.  
Avatar of borisl

ASKER

To wford:
Did you actually use try Webster Pro? From the description of it looks like it would do the job but it is an overkill for my specific task: just to show local HTML files in "preview mode" with no user interaction. Do you know of any "read-only" HTML viewers?
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

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
Yes I know its overkill..but it was the only standalone viewier I could find..last time I looked..the problem seems to be that, if you have html, then it should be linked to a web browser so the hyperlinked objects will work..plus all the applets etc..If you just want formated text use a rtb. (which suxs, but there you go)
Avatar of borisl

ASKER

to waty:
thanks for the code. My project still locks from time to time so I will have to investigate further. By the way do I understand correctly that the only purpose of the code above is to get rid of right mouse button click menu (and set the focus to the WebBrowser control right before navigation)?