Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Editor in VB
#18
Covert2String Wrote:Hello, here I am asking for help again <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->. So, what I want is to know if there's a way to make a programm like a PHP editor, I want my application to "read" the code and change some keywords like "for", "while" to a specified color.

PHP Editor would be really difficult, but you can always try a HTML Editor by using a TextBox, a WebBrowser, another textbox and a button!

Basically TextBox1 will be for the HTML code. So we don't really need any code on that one.

Our WebBrowser1 doesn't need any code, neither does TextBox2.

For Button1 just add (I keep thinking I'm working in Flash so I put on(release){ <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->):

Code:
WebBrowser1.Navigate(TextBox2.Text)
TextBox1.Text = WebBrowser1.DocumentText


Messages In This Thread
Help Editor in VB - by Covert2String - 09-24-2011, 03:59 PM
Re: Help Editor in VB - by xolara - 09-25-2011, 09:58 AM
Re: Help Editor in VB - by xolara - 09-25-2011, 10:05 AM
Re: Help Editor in VB - by xolara - 09-25-2011, 10:10 AM
Re: Help Editor in VB - by xolara - 09-28-2011, 02:06 AM
Re: Help Editor in VB - by Covert2String - 10-18-2011, 03:19 PM
Re: Help Editor in VB - by Covert2String - 10-19-2011, 08:45 AM
Re: Help Editor in VB - by Covert2String - 10-21-2011, 11:30 AM
Re: Help Editor in VB - by AnchoredFTW - 12-27-2011, 07:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  HTML - Editor How to create "Preview in Webbrowser " Button Himansh 2 11,853 05-21-2012, 12:08 AM
Last Post: Himansh

Forum Jump:


Users browsing this thread: 1 Guest(s)