Hi,
I have a windows vb.net application.
I have been trying to make a basic html editor that will save the format of the text in html format.
I have come across articles online for vb.net that state about using the webbrowser control and enabling the 'edit' mode which then makes it similar to a text box, where you can press enter and type it and the like, and then extract the contents in html - PERFECT for what i need.
I have found the webbrowser control from the toolbox, but have been unable to enable this edit mode.
The object when I drop it on the form is called webbrowser1.
I had looked at this site,
http://209.85.173.104/search?q=cache:TfE-08TU_pIJ:weblogs.asp.net/hpreishuber/archive/2005/07/13/419281.aspx+vb.net+mshtml+webbrowser1+edit+mode&hl=en&ct=clnk&cd=1 but still couldnt get it enabled.
The code I have is attached below which includes the imports at the top of the form.
Could somebody put me out of missery with a solution?
Thanks in advance.
PS. The error I get when I run it is "Object reference not set to an instance of an object" which is highlighed on the doc = me. line....