A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Attachment.PathName is always blank



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 2nd 09, 04:09 PM posted to microsoft.public.outlook.program_forms
BuddyWork
external usenet poster
 
Posts: 18
Default Attachment.PathName is always blank

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,




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

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,






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 09:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.