I designed an OLE object types in the access field, various formats of files can be covered by the Stream can be saved into database,
Now intend using a button in the program to open this file stored in the repository directly, how to do it, please help, thank you!
Is the writing different format of file open? I saw on the Internet has opened the image and word, but must be targeted to write code, is there a general method, according to different types of files open match
CodePudding user response:
Can first the content in this field is stored in a temporary file (need to know the original file extensions), then calls the ShellExecute API function to open the can,CodePudding user response: