Announcement

Collapse
No announcement yet.

Richtext to ASCII

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gregery D Engle
    replied
    I'm loading an RTF file and parsing it. It is an account report
    generated from our MRP package and I'm wanting to grab fields
    from it and put it in a database. First I convert this to
    ASCII (with a utility from our MRP manufacturer.) I'm using PB/CC
    to create this.

    I can continue to use the utility from our MRP manufacturer but
    it would be nice to convert it myself internally.

    Thanks,
    Greg

    ------------------
    -Greg

    Leave a comment:


  • Edwin Knoppert
    replied
    WM_GETTEXT


    ------------------

    Leave a comment:


  • Peter Scheutz
    replied
    Originally posted by Gregery D Engle:
    Anyone know of an easy way to convert Richtext to ASCII?

    You can create a hidden richedit control, and load rtf into that.
    Then send a %EM_EXSETSEL to mark all text.
    Then a SendMessage hEdit, %WM_COPY ,0,0
    and a GetClipboardData(%CF_OEMTEXT)

    --
    Best Regards
    Peter Scheutz



    ------------------

    Leave a comment:


  • Semen Matusovski
    replied
    Greg --
    what do you mean ? Inside richedit - it's not a question; rtf file - there is a clipboard.

    ------------------
    E-MAIL: [email protected]

    Leave a comment:


  • Gregery D Engle
    started a topic Richtext to ASCII

    Richtext to ASCII

    Anyone know of an easy way to convert Richtext to ASCII?

    ------------------
    -Greg
Working...
X
😀
🥰
🤢
😎
😡
👍
👎