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. Visual Basic
  4. Exporting images from Office Applications

Exporting images from Office Applications

Scheduled Pinned Locked Moved Visual Basic
hardwarequestion
3 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.
  • H Offline
    H Offline
    Harold_Wishes
    wrote on last edited by
    #1

    Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes

    M 2 Replies Last reply
    0
    • H Harold_Wishes

      Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      A while back I wrote an article on XSLT with Word documents, and one of the responders had a great tip on handling embedded images and saving them off: Word 2003 CodeProject Article Template[^] XML/XSLT is probably not the first thought you had for a solution on this, but depending on your situation it is a possibility. I think the other route to take is through interop - the Microsoft.Office.Interop.Word namespace.

      MishaInTheCloud.blogspot.com

      1 Reply Last reply
      0
      • H Harold_Wishes

        Hello, I am trying to write a simple program that will export embedded images from an MS-Word file and save it as an image on my machine (either tiff or jpeg). Is there an image object model built in that can extract this type of data? (Note: the Word file could be open or closed. It does not matter) Thanks Harry Wishes

        M Offline
        M Offline
        Mike Ellison
        wrote on last edited by
        #3

        Here may be an example you could use for the word interop direction: http://maniyasblog.wordpress.com/tag/how-to-extract-images-embedded-in-word-documents/[^]

        MishaInTheCloud.blogspot.com

        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