how to make a webbrowser control "readonly" ?

  • Thread starter Antonio Lopez Arredondo
  • Start date
A

Antonio Lopez Arredondo

hi all !!!

I developed a winform app that shows a Word inside a webbrowser control.

the problem is that, while it is displayed at the webbrowser control the
Word document can be modified by the user, and I don't want to allow that.

the question is: what can I do to just show the Word document in a read-only
non editable way ?

I tried to put a transparent label on top of the webbrowser control, but it
didn't work.
SetStyle(ControlStyles.SupportsTransparentBackColor, True)
Label8.BackColor = Color.Transparent

any help will be greatly appreciated.
regards,
ant.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top