u can use the richTextBox for this
bharat
----- Original Message -----
From: "Jack Dunstan" <jdunstan7@h...>
To: "professional vb" <pro_vb@p...>
Sent: Tuesday, July 30, 2002 7:57 PM
Subject: [pro_vb] Formatting Text in Text Box
> Hi,
>
> I'm putting a bunch of informational text into a text box. Is there a way
to individually format parts of the text, using some type of escape
sequences or vb... constants surrounding the strings I am inputting. Or is
there a quick and better way to do it. Right now I am just using:
>
> Dim info As String
>
> info = info & "Description: This program is used blah blah ......"
> info = info & " and so on and so on ......"
> info = info & "....and so on and so on ......"
>
> frmMyHelp.txtHelp.Text = info
>
> Would be nice to be able to say bold/underline the Description, like:
> info = info & "Description: This program is used blah blah ......"
>
>
> Any thoughts/ideas are appreciated - thanks.
>
> Jack
>
>
>
> ---
> Visual C# - A Guide for VB6 Developers
> This book will make it easy to transfer your skills
> from Visual Basic 6 to C#, the language of choice
> of the .NET Framework.
> http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059
>
>