HTML Support?

This is a discussion on HTML Support? within the Windows Programming forums, part of the Platform Specific Boards category; I made a program, NetStudio, and I want to make a preview browser. When I load an HTML file, how ...

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question HTML Support?

    I made a program, NetStudio, and I want to make a preview browser. When I load an HTML file, how do I show the result of it in the preview window?


    NOTE: I already started the preview browser!
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    You'll have to parse the html file and display it. If you can use MFC, CHtmlView will make your life easier.
    zen

  3. #3
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    yeah, there's not much more you can do than prse it, and take zen's advice about trying to mix in CHtmlView if you can...do a search on MSDN on how to use it. You could also just launch it in the person's default browser. Just save the file in a temp location, and launch the browser using ShellExec() (I think that's the one...if it's not, someone correct me) with the tmp HTML page as an argument to the browser program (like "iexplore.exe tmp001.html")

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 02:29 PM
  2. Please Help - C code creates dynamic HTML
    By Christie2008 in forum C Programming
    Replies: 19
    Last Post: 04-02-2008, 08:36 PM
  3. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  4. Dev-cpp - compiler options
    By tretton in forum C Programming
    Replies: 7
    Last Post: 01-06-2006, 06:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21