Code to Convert From Text To HTML

G

Guest

Hi EveryBody:

I got this code from one newsgroup in google, the one who post this code
claim that this code convert Text to HTML , if that is right can Any body
help me and expline for me how can I use this code in VB.Net ?

The Code :

With ALLText

' Specify RTF formatted Text string
..FText = RTFString

' Convert to HTML
..SelStart = 0
..SelLength = . TextLength
..Rtf2Html 31
..selFType = -31
HTMLString = .FText

' Convert back to RTF
..SelFType = 63
RTFString = .FText

' Get the Raw Text
RawTextString = .Text

End With

Any help will be appreciated

Regard's

Husam
 
C

cbDevelopment

This code is incomplete and I'm not sure it does what you want it to. It
appears to be an RTF (Rich text Format) to HTML converter. But all the
important parts are missing.

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top