![]() |
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 together!
Perhaps you can help me. var oAttachs = objMessage.Attachments; var oAttach = oAttachs.Item(iAttach); oAttach is the attachment I want to open. Can I open it directly or do I have to save the attachment to the FileSystem? When the attachment must be saved to fileSystem, how can I remove the file after e.g. word was closed? I should not fill the disc ;-) thanks, Karsten |
Ads |
#2
|
|||
|
|||
![]()
You must save the attachment to the file system. You can use FileSystemObject methods to delete the file. See http://www.outlookcode.com/d/code/copyatts.htm for sample code.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Karsten Jung" wrote in message oups.com... Hello together! Perhaps you can help me. var oAttachs = objMessage.Attachments; var oAttach = oAttachs.Item(iAttach); oAttach is the attachment I want to open. Can I open it directly or do I have to save the attachment to the FileSystem? When the attachment must be saved to fileSystem, how can I remove the file after e.g. word was closed? I should not fill the disc ;-) thanks, Karsten |
#3
|
|||
|
|||
![]() Sue Mosher [MVP-Outlook] schrieb: You must save the attachment to the file system. You can use FileSystemObject methods to delete the file. See http://www.outlookcode.com/d/code/copyatts.htm for sample code. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx Thank you, but I have to wait until word is closed, how to realize this part? I cannot simply call FileSystemObject.Delete Karsten |
#4
|
|||
|
|||
![]()
Maybe your application could periodically look to see if there is a Word temporary file (beginning with ~) to match the file you saved. You might get other ideas in a Word forum.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Karsten Jung" wrote in message ups.com... Sue Mosher [MVP-Outlook] schrieb: You must save the attachment to the file system. You can use FileSystemObject methods to delete the file. See http://www.outlookcode.com/d/code/copyatts.htm for sample code. Thank you, but I have to wait until word is closed, how to realize this part? I cannot simply call FileSystemObject.Delete "Sue Mosher [MVP-Outlook]" wrote in message ... You must save the attachment to the file system. You can use FileSystemObject methods to delete the file. See http://www.outlookcode.com/d/code/copyatts.htm for sample code. "Karsten Jung" wrote in message oups.com... Hello together! Perhaps you can help me. var oAttachs = objMessage.Attachments; var oAttach = oAttachs.Item(iAttach); oAttach is the attachment I want to open. Can I open it directly or do I have to save the attachment to the FileSystem? When the attachment must be saved to fileSystem, how can I remove the file after e.g. word was closed? I should not fill the disc ;-) thanks, Karsten |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't open PPS attachments | Ancient 1 | Outlook Express | 2 | April 6th 06 09:16 PM |
Can't open attachments | Blair | Outlook Express | 3 | March 22nd 06 09:00 PM |
Cannot open picture attachments in OE | skip42ms | Outlook Express | 4 | February 12th 06 10:50 PM |
Cannot open attachments on any emails | jebrd601 | Outlook Express | 1 | February 6th 06 09:03 PM |
Can not open e-mail attachments | LAURIE DAVIS | Outlook Express | 5 | January 30th 06 04:38 AM |