Store file as OLE-object in image-datatype field 
Author Message
 Store file as OLE-object in image-datatype field
I have this annoying problem:

I have serveral crystal-reports reports where I have to display a logo
(OLE-object) that is stored in an SQL-server database in a field of the
Image-datatype. The OLE-Object can either be a MS-Word doc, bitmap .bmp
file, JPEG image, Acrobat PDF, ....

I can't seem to find any way to store an object in this field in VB.net
(from a disk-file) as an OLE-object so that I can use it in Crystal Reports.

When I link the table through MS-access, I can insert an object by
right-clicking the column and selecting "Insert Object". In this way, I can
use it in crystal reports.

So, Does anyone know how to do the same thing (load a document from disk
into such a field) in VB.Net Code?

thanx,

Stijn Lambert, Belgium

--
S



Sun, 03 Apr 2005 21:19:50 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Linking or Embedding an OLE object into an Access OLE DataType Field using DAO

2. Linking or Embedding an OLE Object in an Access OLE DataType Field using DAO

3. OLE object in Image-datatype -> CR9

4. storing an OLE object into an Access OLE field

5. Storing images in OLE field

6. Store OLE object in database field

7. Storing a bitmat in an OLE object field in an Access database

8. Store OLE object in database field

9. VBA-assigning an OLE-object to an Ole-object-field

10. Storing Scripting.Dictionary object to SQLserver IMAGE field

11. Extract Image out of OLE Object Field to Filesystem

12. Images in Ole Object field

 

 
Powered by phpBB® Forum Software