CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    318

    Converting RTF to HTML

    I want to convert a help window file (hlp or rtf format) to a HTML file.
    Do anybody know how to do this ?



  2. #2
    Join Date
    Apr 1999
    Location
    Beaverton, OR
    Posts
    241

    Re: Converting RTF to HTML

    My suggestion would be to write your own class (then post it on Codeguru . I don't know if you've ever looked at an RTF source before, but like HTML, it's a system of tags. In your class, you could do text searches for tags, then convert them to HTML. For example, if you find /i in the RTF code, change it to <i>. This may not have been exactly the answer that you were looking for, but I hope it helps.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured