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

    Load html into Richtextbox

    I would like to load an html file into a richtextbox and be able to view the html tags. Basically, I would like the richtextbox to do what notepad does when opening an html file. Right now, when I use LoadFile for an html document the Richtextbox doesn't show the tags properly.

  2. #2
    Join Date
    Dec 2003
    Location
    Northern Ireland
    Posts
    1,362

    Re: Load html into Richtextbox

    Here is a way you can do it with a regular textbox control, a filesystem object and a textstream.

    Hope this helps
    Attached Files Attached Files

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