Results 1 to 3 of 3

Thread: Convert HTML to rich text

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2009
    Posts
    32

    Convert HTML to rich text

    Hi,
    I wonder if anyone here knows how to convert html code into rich text using Visual Basic?

  2. #2
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Convert HTML to rich text

    why don't you for the webbrowser control?
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Convert HTML to rich text

    There is no magic conversion unfortunately. Unless you can find a third-party component that will do the job for you you would just have to do it yourself, i.e. parse the HTML and write out the equivalent RTF markup. MAYBE you could do it with MS Word, i.e. Open an HTML file and Save As an RTF file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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