Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


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

Accessing graphics file from VB

Question:
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

Answer:
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.

 

 

Sitemap