OpenNTF.org - Detach files using COM
My Links (Not logged in)
Code Bin Search
 
Hosted by Prominic.NET
Rate This Code
5 - brilliant stuff
4 - very nice
3 - average
2 - needs work
1 - bad
   OpenNTF Code Bin
About This Code
Brief Description:
Detach files using COM 
Rating:
Not Rated Yet 
Contributor:
Ralph Borcherds 
Category:
Other 
Type:
File I/O 
Notes Version:
R5.x, R6.x 
Last Modified:
02 Sep 2003 
OpenNTF Disclaimer

All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.

Code / Description
A cool way to detach files from Notes Documents to be processed by some other Application using COM.
Usage / Example
You get e-mails from various systems in a CSV file format. You have an access database that runs reports based upon the data in the CSV file. Have these e-mails moved to a special folder to be processed. This code will open your mail file on the server, open the folder, detach all the file attachments, and then move the e-mails from the to be processed folder to the processed folder. Once the files are detached then you can call the import routine to import the data into an access table to generate your report.
Code Attachments
 Comments
Posted by Ranjeet Rain on 03/13/2004 01:28:04 PMGood code
Good code Ralph
 Add your comment!