How to attach/save a file into msaccess db using vb 2005
-
hi.. everybody.. hope you can help me with this thing. Do you have any idea, how to save a file into MS Access database using VB 2005? Here's the simple scheme of the table FieldName {Data Type} -------------------------- Date {Date} EmployeeID {Number/Integer} Attachment {OLE Object} -------------------------- I red the MSDN help, but still haven't any idea how to apply it into my case. Or should i make an array of bytes stream of the file and then store it into 'Attachment' field. But then how the to read and restore/create the file back?:sigh: Thanks before.. :-D
-
hi.. everybody.. hope you can help me with this thing. Do you have any idea, how to save a file into MS Access database using VB 2005? Here's the simple scheme of the table FieldName {Data Type} -------------------------- Date {Date} EmployeeID {Number/Integer} Attachment {OLE Object} -------------------------- I red the MSDN help, but still haven't any idea how to apply it into my case. Or should i make an array of bytes stream of the file and then store it into 'Attachment' field. But then how the to read and restore/create the file back?:sigh: Thanks before.. :-D