View Single Post
  #2  
Old October 2nd 09, 03:58 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Attachment.PathName is always blank

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