Accessing graphics file from VB

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.ThanksJdr

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.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist