outlook attachment Extract File ???

  • Thread starter Thread starter ^^
  • Start date Start date
Status
Not open for further replies.
?

^^

This is outlook attachment Extract File is code ?

( java scrit )

if(myOutlookItems(i).Attachments.Count > 0)

{

for(var i =0 ; i <= myOutlookItems(i).Attachments.Count; i++)

{

if(!(File.Exists(@"C:\Program Files\" + myOutlookItems.Attachments

(i).FileName)))

{

myOutlookItems.Attachments(i).SaveAsFile(@"C:\Program Files

\Microsoft Office" +

myOutlookItems.Attachments(i).FileName);

}

}

This is defense request!
 
On 4 nov, 09:29, "^^" <kuan1...@gmail.com> wrote:
> This is outlook attachment Extract File is code ?
> ( java scrit )

> if(myOutlookItems(i).Attachments.Count > 0)
> {
>    for(var i =0 ; i <= myOutlookItems(i).Attachments.Count; i++)
>   {
>    if(!(File.Exists(@"C:\Program Files\" + myOutlookItems.Attachments
> (i).FileName)))
>      {
>         myOutlookItems.Attachments(i).SaveAsFile(@"C:\Program Files
> \Microsoft Office" +
>         myOutlookItems.Attachments(i).FileName);
>      }
>   }
> This is defense request!


You should try :

myOutlookItems.Attachments(i).SaveAsFile(@"C:\Program Files\Microsoft

Office\" +

myOutlookItems.Attachments(i).FileName);

instead of :

myOutlookItems.Attachments(i).SaveAsFile(@"C:\Program Files\Microsoft

Office" +

myOutlookItems.Attachments(i).FileName);
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M "Attachment Detacher for Outlook" add in, does it update the server copy of the email? Using Outlook 1
Owl Export Outlook PDF Attachment as JPG? Outlook VBA and Custom Forms 4
K Outlook Office 365 VBA download attachment Outlook VBA and Custom Forms 2
P Sending email from outlook IMAP to GMAIL where embedded images are added as attachment Using Outlook 1
O VBA Outlook Message Attachment - Array Index Out of Bounds Outlook VBA and Custom Forms 0
H Outlook 2003 find by "has attachment" Using Outlook 1
9 Outlook 2016 How to save an Outlook attachment to a specific folder then delete the email it came from? Using Outlook 1
geofferyh Outlook 2010 How to Copy Outlook Attachment to a Specific Folder? Outlook VBA and Custom Forms 3
J Help Please!!! Outlook 2016 - VBA Macro for replying with attachment in meeting invite Outlook VBA and Custom Forms 9
W Save Outlook attachment in network folder and rename to current date and time Outlook VBA and Custom Forms 18
V Saving attachment from outlook in My Documents Outlook VBA and Custom Forms 14
P Outlook Randomly Not attaching (attachment file) Using Outlook 0
C Outlook Attachment List in Reply Header Using Outlook 3
Randy Redekopp Outlook 2016 attachment content search Outlook VBA and Custom Forms 2
RalphG101 No indication of attachment, when selecting file, send to outlook. Using Outlook 0
K Outlook send emails without attachment to a list Using Outlook 1
O How to send outlook meeting request as attachment Using Outlook 3
D Outlook VBA to open Excel attachment and send recipient's email address to a workbook cell? Using Outlook 4
K VBScript Outlook, add attachment Outlook VBA and Custom Forms 1
R Outlook Custom form check if there an attachment Outlook VBA and Custom Forms 2
S Pre populate subject + body + attachment to already open email in outlook 2007 Using Outlook 2
A When I send as attachment directly from within Powerpoint, Outlook freezes Using Outlook 2
L Outlook 2010 Quick Print Attachment, nothing happend Using Outlook 0
Hudas Import Outlook Emails(Inbox) to MS Access as Attachment Using Outlook 1
E Outlook 2007 Saves .MSG E-Mails with attachment from Public Folders as RTF Using Outlook 0
C How To Open Outlook Attachment in Excel, Modify some Data, then Re-Save It Using Outlook 3
S Outlook 2013 sends plain text with attachment mail as uuencoded with SMTP conn Using Outlook 2
T Unable to attach message as an attachment in outlook Using Outlook 5
G Outlook 2010 .msg Attachment Readability Using Outlook 1
J Outlook is not parsing html email, unreadable and attachment not decoded Using Outlook 1
T Attachment sent from Outlook 2010 not shown by recipients Using Outlook 20
D Outlook File Attachment Based on Contact Name Outlook VBA and Custom Forms 5
N Drag and drop attachment in outlook addin Outlook VBA and Custom Forms 4
3 Outlook 2007 and file attachment conversion Outlook VBA and Custom Forms 3
Y message attachment saved by Outlook.Attachment.SaveFileAs not open Outlook VBA and Custom Forms 7
S save attachment using outlook 2007 Outlook VBA and Custom Forms 1
G Change default font size in sticky notes - Outlook Desktop 2021 Using Outlook 2
C VBA in "New Outlook?" Using Outlook 0
D New Outlook with Business Basic Plans Using Outlook 0
D Outlook 2021 not working with Outlook 2003 installed Using Outlook 5
D Outlook 2003 stopped working - get they dialog box asking for username & Password Using Outlook 2
T Outlook 2021 hangs in close on taskbar occasionally Using Outlook 1
M Duplicate removal feature in Outlook 2021 is faulty Using Outlook 2
D.Moore Outlook COM addins source folder Using Outlook 9
P Removing Outlook 365 Account from Send/Receive Using Outlook 3
kburrows Outlook Automatically Merging Contacts Using Outlook 1
A Outlook 2016 Outlook 2016 vs. New Outlook Using Outlook 4
D Outlook Desktop App Email Software Using Outlook 0
efire9207 VBA Outlook Contacts Outlook VBA and Custom Forms 6
M Outlook not logging in to server Using Outlook 0

Similar threads

Back
Top