Crazy D @ Work
November 10th, 1999, 03:42 AM
ok, what am I missing... I create an Access database succesfully in code. Now I need to insert pictures to the database.
The picture comes from an SQL server database.
I define the field as adLongVarBinary with a defined size of 1073741824. I use that since that's the type and defined size of an OLE Object field when I create manually with access a OLE field.
I can fill it, that works fine, but as soon as I go to Access, and double-click on the field, it tells me that Access can't communicate with the OLE server and that I have to restart that OLE server, it doesn't tell me though which/what/why...
Again, when I create it manually in Access and insert an ole object thru the insert-menu, it works fine...
Has anyone any idea what I'm supposed to do with that error? And even better, how do I get rid of it so that it works the way I (and the customer...) want?
Tnx in advance!
Crazy D @ Work :-)
The picture comes from an SQL server database.
I define the field as adLongVarBinary with a defined size of 1073741824. I use that since that's the type and defined size of an OLE Object field when I create manually with access a OLE field.
I can fill it, that works fine, but as soon as I go to Access, and double-click on the field, it tells me that Access can't communicate with the OLE server and that I have to restart that OLE server, it doesn't tell me though which/what/why...
Again, when I create it manually in Access and insert an ole object thru the insert-menu, it works fine...
Has anyone any idea what I'm supposed to do with that error? And even better, how do I get rid of it so that it works the way I (and the customer...) want?
Tnx in advance!
Crazy D @ Work :-)