Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HTML View Question

HTML View Question

Scheduled Pinned Locked Moved C / C++ / MFC
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    inforix
    wrote on last edited by
    #1

    I want to use HTML View in my application, but the HTML file is loaded from database, and there is some picture, how to load it to HTML VIEW?:-D

    P 1 Reply Last reply
    0
    • I inforix

      I want to use HTML View in my application, but the HTML file is loaded from database, and there is some picture, how to load it to HTML VIEW?:-D

      P Offline
      P Offline
      Paolo Messina
      wrote on last edited by
      #2

      Some ideas: 1) save the picture to a temp file, then change each reference to that picture in the HTML source 2) use a .mht file, that has embedded pictures Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)

      I 1 Reply Last reply
      0
      • P Paolo Messina

        Some ideas: 1) save the picture to a temp file, then change each reference to that picture in the HTML source 2) use a .mht file, that has embedded pictures Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)

        I Offline
        I Offline
        inforix
        wrote on last edited by
        #3

        However, If I know how IE works, I think it will help me more. Thanks your help!!! What I needed maybe you have, so let's help each other.

        P 1 Reply Last reply
        0
        • I inforix

          However, If I know how IE works, I think it will help me more. Thanks your help!!! What I needed maybe you have, so let's help each other.

          P Offline
          P Offline
          Paolo Messina
          wrote on last edited by
          #4

          Well, I would be glad to help you, if I could, but I can't see how. :) If all you do is reading from the database, and you can convert each "HTML+pictures" record to a ".mht" record, then no problem. If you need to write such records from your program, obviously you have to know how to produce a ".mht". What I know about it is that it's a multipart MIME message, in fact if you rename it to .eml you can open it with OutlookExpress. Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups