Read LINE by LINE in RTF 
Author Message
 Read LINE by LINE in RTF

Is there a possibility to read each line in an rtf-text after another like
with perl5 or similar


Wed, 13 Feb 2002 03:00:00 GMT  
 Read LINE by LINE in RTF

Public Function GetLine(RTB as Richtextbox, Byval LineNumber as long) as
string

    Dim LineIndex as Long
    Dim LineLength as long

    LineIndex = SendMessageLong(RTB.hWnd,EM_LINEINDEX,LineNumber,0&)
    LineLength = SendMessageLong(RTB.hWnd,EM_LINELENGTH,LineIndex,0&)

    GetLine = mid$(RTB.Text,LineIndex+1,LineLength)
End Function

Sincerely,

Richard Cardarelle
Eclipse Applications
www.eclipseapplications.com


Is there a possibility to read each line in an rtf-text after another like
with perl5 or similar



Thu, 14 Feb 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. RTF Read Line before user exits line.

2. RTF Read Line before user exits line.

3. convert line of RTF to line of ASCII ?

4. reading mail message body line by line

5. i want to read line by line from a word document

6. Reading a Word Doc Line by Line in VBA

7. Read a MultiLine textbox line by line?

8. Reading from a file line for line

9. Help : Reading files line by line !

10. reading input line by line

11. Line-by-Line File Reading in VBScript

12. Reading Line by Line through Text File

 

 
Powered by phpBB® Forum Software