Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

[180] Convert RTF to HTML

Last post 08-05-2005 8:43 PM by shovmyfist. 37 replies.
Page 3 of 3 (38 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 05-16-2003 10:50 AM In reply to

    Good work... Couple small problems

    This code is almost exactly what I've been looking for.  
    I've run into a couple small problems though.

    1. Why does it put everything in tables?
    2. It seems to be adding an extra <br> between each line.  
    Ex:
    This is a test
    This is only a test

    Displays like:
    This is a test

    This is only a test


    If you could help me fix those problems I would be eternally gratefull!

    As far as Gustav's post about Easybyte. They're "Free" converter is nagware and they want $400 dollars for their dll with out the nag and $700 for the source code.  I MIGHT have considered paying $10 or $20, but not a penny more, especially after looking at their pathetic excuse for a web site.  
    • Post Points: 0
  • Advertisement

    • Red Gate Software

    Advertisement

    Want to boost your .NET application performance?

    Some developers always seem to write efficient and lightening-fast code. What is their secret? It’s ANTS Profiler. “We improved the performance of the application up to 10 times” Dan Ports, Intrigma.

    Try it for yourself now.

  • 08-28-2003 5:51 PM In reply to

    • JJ
    • Not Ranked
    • Joined on 08-28-2003
    • New Member
    • Points 15

    Which one is the main function?

    How do I call these functions?Which one is the main function?
    Thanks
    • Post Points: 0
  • 08-28-2003 9:50 PM In reply to

    wow what code! I'm not the author but by looking at the params i would think its rtf2html3!

    Code:

    Function rtf2html3(strRTF As String, Optional strOptions As String) As String


    so youd do rtf2html3 <richtextbox>.rtftext, <options>

    the options are:
      'Options:
      '+H              add an HTML header and footer
      '+G              add a generator Metatag
      '+T="MyTitle"    add a title (only works if +H is used)
      '+CR             add a carraige return after all <br>s
      '+I              keep html codes intact
      '+F=X            default font size (blanks out any changes to this size - saves on space)
      '-FF             ignore font faces

    does that hlep?
    Digitally Yours,

    Thushan Fernando
    • Post Points: 0
  • 10-20-2003 11:54 AM In reply to

    • Mike99
    • Not Ranked
    • Joined on 10-20-2003
    • New Member
    • Points 10

    Arghhh!!

    I tried a number of RTF files against this and this code seems to cut chunks of the actual text off!!

    I found another RTF -> HTML convert at www.easybyte.com, it seems to do the job fine.

    • Post Points: 0
  • 01-22-2004 6:15 AM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,865
    • SystemAdministrator
    Apologies - it seems in the conversion from source code to HTML on this website, a few errors were introduced. We're now hosting a Zip file with the source code instead.
    • Post Points: 0
  • 06-28-2004 12:31 AM In reply to

    • jayes99
    • Not Ranked
    • Joined on 06-28-2004
    • New Member
    • Points 5

    HTML to RTF?

    Can this convert HTML code to RTF code?
    • Post Points: 0
  • 06-03-2005 11:48 AM In reply to

    • impartha
    • Not Ranked
    • Joined on 06-03-2005
    • New Member
    • Points 5

    Dot Matrix Print

    Hi Dears

    I am developing in VB6. I want to take any print from Data Report to Dot Matrix Printer. I using Data Report (VB6) not any Crystal Reports. If it is possible to take any print to Dot Matrix Printer from Data Report (VB6) so please help me as soon as possible and please write me how to solve this porblem by source codes.

    Thanking you,

    Partha Chatterjee
    India
    impartha@hotmail.com
    partha@chitajute.com
    • Post Points: 0
  • 08-05-2005 8:43 PM In reply to

    i am really confused on how to call this function. I have a .rtf file lets say and i dont want any of the options so i just want to call this function out of my main .asp page and then have the .rtf be converted to html. Please help sorry for being a noob but i just started using VB

    thanks in advance

    kenny
    • Post Points: 0
Page 3 of 3 (38 items) < Previous 1 2 3