Announcement

Collapse
No announcement yet.

Richtext to ASCII

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

  • Richtext to ASCII

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

    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

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

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

    Comment


    • #3
      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



      ------------------
      Best Regards
      Peter Scheutz

      Comment


      • #4
        WM_GETTEXT


        ------------------
        hellobasic

        Comment


        • #5
          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
          -Greg
          [email protected]
          MCP,MCSA,MCSE,MCSD

          Comment

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