Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programmatically store rtf file.

Status
Not open for further replies.

EarS

Programmer
Jun 5, 2002
26
US
Does anyone know how I can get the text out of an rtf file?
when I open it in word all I see is the text itself. I want to be see all the formatting rich text code so I can store it in sql. For example in I Word I see:

Written in Red. (text appears red)

What I want to store in my database is :

\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\cf6 Written in Red.

Does anyone know how to programatically get this data out of the rtf file?

Thanks in Adavance,
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top