Results 1 to 5 of 5
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    I searched far and wide (OL 2003 and <)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    I am sorry <img src=/S/sorry.gif border=0 alt=sorry width=15 height=15> but I did see, a couple of days ago, a message, with a procedure, about using Outlook Express to change embedded images in Outlook into attachments by exporting the messages to Outlook Express.

    I can't find this message, so if anyone knows where it is, or the procedure, please let me know.

    Thanks a Million <img src=/S/money.gif border=0 alt=money width=17 height=15>

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: I searched far and wide (OL 2003 and <)

    And why would you want to do this? Is this part of your massive mail processing function? If so, maybe you would prefer to use native Outlook code. While looking for the endnote converter the other day, I stumbled across the attached file, SaveEmbeds.zip, dated July

  3. #3
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: I searched far and wide (OL 2003 and <)

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15> Jefferson

    Your code was interesting to look at, and to dissect and see how another programmer thinks about solutions for the same problem. I will use some parts of it.

    But again, it handles attachments, and not embedded images.

    I have mastered that part and have great code to handle attachments, and now I am working on the embedded image part of it.

    I have resigned to the fact that VBA will be of no help when it comes to embedded images. I am very annoyed that MS did not think highly enough of the embedded image to add hooks to it. This is what is termed "First To Market", and to the pigeons the rest.

    So its one of two things:

    1) Write C++ code, I don't even know how to spell C++
    2) Convert embedded images into attachments and use my VBA code. Much simpler I think, if I can find the procedure listed in the aforementioned post.

    What do you think?

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: I searched far and wide (OL 2003 and <)

    Did you <big>try</big> my code against a message with embedded images? It works for me, or I never would have posted it.

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: I searched far and wide (OL 2003 and <)

    Wassim, perhaps I'm wrong, but I thought embedded objects ARE Attachments in the Outlook Object Model. The reason I thought this is that Attachments can be of 4 Types:

    olByReference
    olByValue
    olEmbeddeditem
    olOLE

    There's some oddities with olEmbeddeditem Attachments (and maybe olOLE Attachments) such as they don't have a DisplayName Property, which was causing some of my code to error with HTML messages with embedded pictures. See the thread starting with <post#=302413>post 302413</post#>.

    Test it by sending yourself messages with known embedded items and loop through the Attachments using Debug.Print the Attachment.Type to the Immediates Window.

    Post back what you find out. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •