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
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