![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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, |
#2
|
|||
|
|||
![]()
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, |
#3
|
|||
|
|||
![]()
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, |
#4
|
|||
|
|||
![]()
Is there away in getting the path and name before the file is actually
attached? I am using Outlook 2003. "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, |
#5
|
|||
|
|||
![]()
No.
-- 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 ... Is there away in getting the path and name before the file is actually attached? I am using Outlook 2003. "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, |
#6
|
|||
|
|||
![]()
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, |
#7
|
|||
|
|||
![]()
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, |
#8
|
|||
|
|||
![]()
Wrote code to read the registry.
"BuddyWork" wrote: 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, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
message attachment saved by Outlook.Attachment.SaveFileAs not open | arcfan | Add-ins for Outlook | 7 | May 12th 09 07:15 PM |
blank attachment received | Steve | Outlook - General Queries | 0 | October 8th 07 03:07 AM |
Blank email attachment of email. | IT Boy | Outlook - General Queries | 8 | July 22nd 07 02:43 PM |
How to define a folder object given its pathname | jimboluke | Outlook and VBA | 2 | March 8th 06 10:07 PM |
Fax blank & no attachment | [email protected] | Outlook - Fax Functions | 3 | February 22nd 06 03:54 PM |