Rich Text Box in Windows Forms!!

Last post 10-19-2009 3:19 AM by anooj. 4 replies.

Sort Posts:

  • Rich Text Box in Windows Forms!!

    10-14-2009, 7:12 AM
    • Participant
      1,478 point Participant
    • anooj
    • Member since 06-23-2009, 6:04 AM
    • Posts 310

     Hi guys,

    I am trying to use a Rich Text Box in my Windows forms application.I want features like Bold,Italics,Font etc.

    I dragged and dropped the Rich Text Box in to Form,but i don't see that Panel or Tool bar with all these buttons.WHat i have to do to Enable that??

    Any help is Appreciated....

    Thanks in Advance

    Anooj.

  • Re: Rich Text Box in Windows Forms!!

    10-14-2009, 8:30 AM
    • Contributor
      5,017 point Contributor
    • karthicks
    • Member since 01-09-2009, 12:43 PM
    • Chennai
    • Posts 865

    hi,

    hi no control exist to achieve this .net, you can check in google to get any free control like your's requirement else you need to write code to do all those features 

    If this post is useful,
    Please,Dont Forget to click Mark As Answer and Earn Your Point

    Thanks,
    Karthick S
    Celebrate Programming
  • Re: Rich Text Box in Windows Forms!!

    10-14-2009, 10:28 AM
    • Participant
      1,478 point Participant
    • anooj
    • Member since 06-23-2009, 6:04 AM
    • Posts 310

    Hi,

    If i copy some Formatted content(like Bold fonts with Colour) into the rich text box and then use

    RichTextBox1.Text i get the Plain content without any formatting.

    I tried with RichTextBox1.Rtf but then i got some Junk characters.

    How to read the Formatted text from Rich Text Box and insert into DB? 

  • Re: Rich Text Box in Windows Forms!!

    10-19-2009, 3:07 AM
    Answer

    Hi,

    The Rtf property represents the text with the specified RTF formatting. I suggest you save it with binary type or use Parameter of insert command.

    Besides, this is ASP.NET forum and I suggest you deploy it on http://social.msdn.microsoft.com/Forums/en-US/category/windowsforms, which has many Windows Forms experts.

     

    Thanks.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Rich Text Box in Windows Forms!!

    10-19-2009, 3:19 AM
    • Participant
      1,478 point Participant
    • anooj
    • Member since 06-23-2009, 6:04 AM
    • Posts 310

    Thanx for your help!

    I ll Post it there... 

Page 1 of 1 (5 items)