home *** CD-ROM | disk | FTP | other *** search
- README.TXT for the BLOBTEST (OLETEST) Project
- For VB4 16bit - Storing a File in/from an OLE OBJECT field
- June 1996
-
- The OLETEST.FRM file contains CopyOleFromFile() and
- CopyOleToFile() functions. Sample syntax is as follows:
-
- MsgBox CopyOleFromFile(txtName, Data1.Recordset("Blob")), , "Done"
-
- MsgBox CopyOleToFile(txtName, Data1.Recordset![Blob]), , "Done"
-
- To use the functions, just pass in the name of the file you want
- to write/read and the the Access 2.0 OLE OBJECT field. The
- functions do the rest. No windows API required.
-
- The app is something I put together to test the functions
- I provide it as-is to help other folks that may have gotten
- stuck like I did.
-
- As far as I can tell, there is currently no documentation
- illustrating the process of storing and retrieving a binary
- file from an OLE OBJECT field. However, MSKB article Q147727
- was used helpful in putting these functions together.
-
- Sincerely,
- Frank Font