Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving an OLE Object to original file name.

Status
Not open for further replies.

lillypad

Programmer
May 12, 2003
4
US
I am creating an Access database which will store generic files as OLE objects in a backend MDB (No problem with this so far). I can import the files to the MDB programmatically and I can extract them using the Object Packager->File->Save Contents option. I would like to be able to save the files programmatically without having to use the object packager (So users can log in, check out a file, and I can log the activity to a separate MDB).

Example: Store the file "C:\Temp\SomFile.XYZ" to an OLE record (I can do this).

Extract the OLE record back to external file "C:\Temp\SomeOtherFile.XYZ" (Haven't been able to figure this part out).

Any help is appreciated. [sadeyes]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top