read Word Documents from MAPI folder?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi folks!

I am trying to access a Word document via vb 6.0 over the Outlook interface.
I need some information about the document (creation date, title, etc), so
it has to be a Word.Document which i am "talking to", but when i receive
items from a MAPI folder, i get "Item"'s...
Is there a way to get those information with vb6, vba or vbs?

Kind regards,

Fabian Werner
anyWARE ag (http://anyware.ag)
Germany
 
The Word document will exist as an attachment to the item. Extract it with
the Attachment.SaveAsFile method. You can then access it with Word methods.
 
Wow, Sue Mosher herself... Ive read very much about you recently...

thanks, i will give it a try!

Best regards,
Fabian Werner
 
What i forgot to say is that i do not wan to save it. Is there a way to...
"cast" it from attachment or from Item to Word.Document? Is there a way to
access things like title and other props of the document directly?

Thanks again,
Fabian Werner
 
No. Documents exist in items as a binary blob. They become accessible as
files only when they are saved.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



castle8000 said:
What i forgot to say is that i do not wan to save it. Is there a way to...
"cast" it from attachment or from Item to Word.Document? Is there a way to
access things like title and other props of the document directly?
 
Back
Top