Any suggestions?
Bob
> Any suggestions?
> Bob
VB and Access store images very differently. Unless there's a way
to bind OLE controls to database long binary fields in VB 4,
you'll have to use the method given in the KB for extracting the
image from the OLE data, saving the image to a temporary disk
file, and using LoadPicture to display the image. The KB is at
<http://www.microsoft.com/kb> and some keywords to use are:
LoadPicture FieldSize GetChunk Open Put Close.
--
Joe Foster (j...@bftsi0.gate.net or joe%bft...@uunet.uu.net)
WARNING: I cannot be held responsible for the above They're coming to
because my cats have apparently learned to type. take me away, ha ha!
Bob:
Imagine software has VBX, OCX, Access, Fox, Clarion, C, etc. graphics
handling tools which are fast and include other features like palette
control, rotation, printing and zooming. ($395)
http://www.imagn.com/
regards,
jack
--
********************************************************************
Jack Berlin - 813-875-7575 x303 FAX 813-875-7705 jbe...@jpg.com
http://www.jpg.com/ - Pegasus Imaging Corp - the BETTER JPEG people!
********************************************************************
Thanks for the info, Jack, but I think $400 is a bit much for a picture box
VBX. The entire VB3 Pro package cost less than that :)
I've found the Microsoft KB article (q103115) that discusses my problem. MS
claims that the bound picture box can display bitmaps stored in OLE fields in
the Access database. The problem is displaying Paintbrush OLE objects. I
double-checked my DB & found that my objects are listed at 'picture'. I do
have a couple of 'Paintbrush picture' objects stored in the field, & those
display correctly by using the sample code in q103115, but the 'picture'
objects do not display, which seems to reenforce my assertion that they are in
fact bitmaps & should display in the bound picture box.
The plot thickens.
Bob
Bob
Sorry, I was answering a question and did not think about the cost. It
does seem to me that the timed saved in this process of having a
solution (which I do not know) would have been worth quite a lot?
I just have found that most graphics packages are from people who bundle
software, not understand graphics; explaining the speed and quality
problems. Mike at Imagine has done a super job and I personally think
he sells his stuff too cheap for the support (there is a concept) he
gives.
Best of luck,