Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hello,
The "WindowsForms File Attachments" module allows an end-user to open an attachment with the help of a default program, which is registered in the operating system for this sort of files (by a file extension).
This module saves its content into a file within a system 'TEMP' folder and passes it to the operating system to open. Then the Operating System searches for a default program and starts it.
Then, the module doesn't handle the file that has been created (in other words, doesn't delete it), because it cannot determine when a file becomes unnecessary.
For more details, see:
- "A 'File cannot be found' error occurs when trying to open a file from the 'FileAttachmentPropertyEditor' or with the help of the 'Open' action" at http://www.devexpress.com/issue=B97246
- "Can't open some filetypes with FileDataEdit control" at http://www.devexpress.com/issue=B97047
Now, the "WindowsForms File Attachments" module contains the "CustomOpenFileWithDefaultProgram" and "CustomSaveFiles" events, which allow you to manually open a selected attachment with the help of some program, or to manually save it into a file.
Thanks,
Dan