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

That folder really isn't useful for your scenario, because (a) unless an
explicit location is set in the registry (which is rare), there's no
guarantee that you'll be able to find it and (b) the file you want may no
longer be stored in this temporary storage location. You should use
SaveAsFile instead to ensure you have control over the file and the location
where it's made available to the other component.
--
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
...
I've found out that the files are stored in the 'Outlook Secure Temporary'
http://support.microsoft.com/default.aspx/kb/817878

How do I get this directory witin Outlook Forms?

"BuddyWork" wrote:

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