Simple HTML Editor in VB .NET  

Posted by Kunal Pradhan

insert a Split Container or 2 Panels

then,

add a Menu Strip to both the panels..

and then add a ToolStrip

then add a Text Box to the first panel and a Web Browser (Preferably IE). Then in the toolstrip, add any buttons that yew want like new, open, save, save as etc.. etc.. in panel 1..


then add a button Preview to the toolstrip...

dbl click on preview and type the following....



WebBrowser1.DocumentText = TextBox1.Text



Then add a Label to panel 2...

set the text as..

' page title will appear here '

Then type the following after the above code that yew entered..



Label1.Text = WebBrowser1.DocumentTitle



add another label and set the text as..

' Double click on preview to view page title '

you are done..

Note:you can develop functions of other buttons

This entry was posted on Wednesday, June 18, 2008 and is filed under , , , , . You can leave a response and follow any responses to this entry through the Subscribe to: Post Comments (Atom) .

0 comments