Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey all

 

I have a listview box with search results from an SQL DBase included... the DB entries consist of 3 text and one data (which is an image)

 

When I click on a search result in the listview box, i want the image from that entry to appear as a preview in a picture box located on the same form....

 

Any ideas?

 

Cheers

Posted
well you could associate the click event and the data in the item selected to set an image object, then set the picbox to the image object -the only thing I am not sure of is how to get the actual image data (is it stored in the db?) I am thinking of this from an existing image file perspective.

mod2software

Home of the VB.NET Class Builder Utility - Demo and Full versions available now!

Posted
you probably have to rebuild the image from the db data using some sort of FromStream method. You may want to use the object browser and lookup the Image Object.

mod2software

Home of the VB.NET Class Builder Utility - Demo and Full versions available now!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...