View Single Post
  #3  
Old October 2nd 09, 04:07 PM posted to microsoft.public.outlook.program_forms
BuddyWork
external usenet poster
 
Posts: 18
Default Attachment.PathName is always blank

Thank you, that is what I thought but just wanted to double check.

"Sue Mosher [MVP]" wrote:

That's perfectly normal if the attachment is contained in the item. There is
no external path in that case. The PathName will always be blank unless the
attachment is actually a shortcut to an external path.

If you need to make the attachment available to another component, call its
SaveAsFile method to save it to a local or network folder.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"BuddyWork" wrote in message
...
Hello,

I need the location of where the attach file is located because I need to
pass the path and name to another component which will read the file and
then
send it to SharePoint.

Any idea?

Thanks,




Ads