How to use ole automation for bitmap 
Author Message
 How to use ole automation for bitmap

Hi,

i have a problem here. i have written a vb application which uses alot of
bitmap files.Presently, all the bitmaps are stored in the system as a
physical file. For security and easy retrieval, i intend to save the bitmap
to a database using a field defined as an "ole object" type. However, i do
not know to do it using ole automation. There are too few of examples in
mircosoft and other sites. Basically,  i need two routines, (a) to save the
bitmap to the database using ole object, (b) to display the bitmap that
stored in the database as ole object.

Any body can help me...



Mon, 07 Jan 2002 03:00:00 GMT
 How to use ole automation for bitmap

If you are using VB, you can use the ActiveX Data Objects (ADO) library
to retreive / store the information.  See
http://msdn.microsoft.com/library/sdkdoc/dasdk/mdae3fi0.htm for a great
example of using images with a database.

Kirk Allen Evans



Quote:
> Hi,

> i have a problem here. i have written a vb application which uses
alot of
> bitmap files.Presently, all the bitmaps are stored in the system as a
> physical file. For security and easy retrieval, i intend to save the
bitmap
> to a database using a field defined as an "ole object" type. However,
i do
> not know to do it using ole automation. There are too few of examples
in
> mircosoft and other sites. Basically,  i need two routines, (a) to
save the
> bitmap to the database using ole object, (b) to display the bitmap
that
> stored in the database as ole object.

> Any body can help me...

--
Kirk Allen Evans

(Do not send mail to the Deja News account used

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



Mon, 07 Jan 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Display Bitmap field using the OLE control

2. XP using OLE automation

3. Help: Calling stored procedure from Impromptu using OLE Automation

4. Using OLE Automation On 95 versus NT

5. How do I start an access database (mdb) from VB4 using OLE automation

6. Using OLE Automation to Open Access Project

7. Using OLE Automation objects

8. Saving and retrieving Ole-Automation objects from Dao and MFC using CLongBinary class

9. Memory Leak with Ole Automation in SQL Server when using seagate crystal reports

10. Using OLE Automation Object to print Access 2.0 report

11. Web server / ole automation using VFP5


 
Powered by phpBB® Forum Software