Similar Threads
1. Getting the bitmap OLE Object from Microsoft Access database table
Hi,
I have bitmaps attached to Microsoft Access table. I need to read the Access
table and get the bitmap. Im able to get to the record and get the field
value using GetFieldValue() which returns as a COleVariant. How can I get the
bitmap and palette(CPalette) information. Im using MFC and C++
Will appreciate any help/suggestion with the above.
Thanks
MA
2. Creating OLE-bitmap field in Access without MFC????
3. Access an Microsoft Access Database that is on a network, from Pocket PC
Hello,
I have my PDA with an wireless network adapter connected to it. How can I
access a Microsoft access database which is on a PC network server from my
PDA application. With the CCEDatabase objects work or can I use the ADO
objects and give the network path to the database? Also, I would like my
PDA to be able to access an SQL Server 2000 database on my NT server; how
can I do that without having to install IIS on the server?
Regards,
James
4. Ole Object in database
5. Ole Objects from and to database
I don't know which group is the right one, so excuse my xpost and follow
up 2 the correct one if recommended.
In Access you can declare a table's column to be of type "Ole Object" in
order to save binary data. The corresponding type in Oracle is "LONG RAW".
You may not only save directly binary streams to this field but you can
place a complete OLE object into it. In Access you can accomplish this
by right-clicking on the field and selecting "Insert object...", where
you can create e.g. a new bitmap or select a file. Advantage: In an
automated report for example, you can place that column on your report
and saved images in the database will be displayed in the report. This
behaviour doesn't work if you only save the binary stream instead of
"ole object".
But now I have a problem, ie. two questions about which I didn't find
any information on the WWW or the Microsoft homepage itself:
1. How can I read this field from C++ in order to retrieve the original
(binary) file contents of an embedded ole object?
2. How can I programmatically write (with C++) my own Image data to
those fields so that the Ole objects are correctly written and can be
displayed by report designers like Crystal or Access itself?
Thanks in advance for your help...
--
Sender's Mail address is valid but not to be read.
In order to write an email, please replace "compuserve" with
the name given in Organization header.
6. Using C# to open a Word doc embedded as an Ole Object in Access
7. Getting access to pixels within a bitmap
Hi,
I need to write an application that will load 2 bitmaps from file and
compare pixel by pixel for changes. I can load a bitmap from disk but
am having a little difficulty trying to access the pixel data within.
Ideally, I would load the bitmap and convert it to greyscale so I only
have 1 plane to worry about. Then, I would compare pixel by pixel
depending on a user setting for tolderance create a new bitmap with say
white for different pixels and black for the same pixels.
HBITMAP hBitmap = NULL;
hBitmap = (HBITMAP) LoadImage(NULL, m_Filename, IMAGE_BITMAP, 0, 0,
LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE);
I've tried GetDIBits, GetBitmapBits, etc. but must be doing something
wrong. The above code works well for displaying the loaded bitmap
within a picture control.
if (NULL != hBitmap)
m_picSource1.SetBitmap(hBitmap);
Any suggestions or links would be great. Thanks.
8. about microsoft access database - CSharp/C#