Results 1 to 28 of 28

Thread: [RESOLVED] Parsing and coloring the VB CODES in my Richtextbox [SUGGESTIONS & HELP NEEDED]

Threaded View

  1. #8

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: [RESOLVED] Parsing and coloring the VB CODES in my Richtextbox [SUGGESTIONS & HEL

    Quote Originally Posted by Spoo View Post
    Akhil

    You seem to have some good replies already.

    About all I'd be good for would be to suggest a brute-force approach,
    well, at least for reserved words -- you'd need a list of them, and if found,
    set color to blue. Comments could just be handled by looking for
    apostrophe. And so on...

    Do you want to go that route, or are you satisfied with other guys' replies?

    Spoo
    Thanks spoo....
    Could you show a small sample or an example for describing the 'brute-force approach' (it's a new term for me )...
    Edit: I found it after Googling. Thanks...
    Last edited by akhileshbc; Mar 19th, 2010 at 08:02 AM. Reason: found the details about brute-forcing

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width