home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / blobtest / readme.txt < prev   
Encoding:
Text File  |  1996-11-20  |  956 b   |  26 lines

  1. README.TXT for the BLOBTEST (OLETEST) Project
  2. For VB4 16bit - Storing a File in/from an OLE OBJECT field
  3. June 1996
  4.  
  5. The OLETEST.FRM file contains CopyOleFromFile() and
  6. CopyOleToFile() functions.  Sample syntax is as follows:
  7.  
  8.   MsgBox CopyOleFromFile(txtName, Data1.Recordset("Blob")), , "Done"
  9.  
  10.   MsgBox CopyOleToFile(txtName, Data1.Recordset![Blob]), , "Done"
  11.  
  12. To use the functions, just pass in the name of the file you want
  13. to write/read and the the Access 2.0 OLE OBJECT field.  The
  14. functions do the rest.  No windows API required.
  15.  
  16. The app is something I put together to test the functions
  17. I provide it as-is to help other folks that may have gotten
  18. stuck like I did.
  19.  
  20. As far as I can tell, there is currently no documentation
  21. illustrating the process of storing and retrieving a binary
  22. file from an OLE OBJECT field.  However, MSKB article Q147727
  23. was used helpful in putting these functions together.
  24.  
  25. Sincerely,
  26. Frank Font