Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Visual Basic
Expertise: Beginner
May 3, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Accessing graphics file from VB

I need to store thumbnail graphics in an Access database (as an OLE object?) and be able to display the columns including the graphic in a table or grid. Ultimately this database will be used in an Intranet site. I cannot determine how to view the graphic. The getChunk commands seems like a lot of work with a great chance for failure. An OCX might work, but I don't need to "play" with the graphic--just show it. Thanks Jdr

I would recommend another approach, if your requirements allow. Store the actual graphic file to disk, and store the filepath and name in the database. This approach is not only simple, it will also be easier to display the graphics on a Web page.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date