You mean from a RichTextbox control (or whatever the name is)? There should be a RichText (or similar) property, which will give you the contents with formatting codes still included (as opposed to the Text property, which is just the plaintext). Converting that to HTML will probably require another function, which someone might have put on the Internet somewhere...
Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53