By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Picture box problem?

P: 52
OK! I posted a similar question some time back but I didn't understand it fully as I'm quite fresh to VB coding. So I'll try once more.

On my VB form it shows details of staff, which works perfectly fine (using the list box) and what I want is the picture box or the image that will show the picture of each staff when a different one is selected.
I am using Access with my VB to store the details. I tried using the OLE Object on the design view but couldn't figure out how to join it with VB.

So could you please give me some code that will help me show a picture for each staff and does it have anything to do with the OLE Object. If this can't be done with Access then give some help with the picture problem.

Please shine some light on this problem and thanks for any answers.
Jan 8 '08 #1
Share this Question
Share on Google+
5 Replies

Expert 5K+
P: 8,127
are you also trying to store the picture in the database ?
Jan 8 '08 #2

P: 52
are you also trying to store the picture in the database ?
Yes im trying to store the picture if possible.
Jan 8 '08 #3

Expert 5K+
P: 8,434
If you have a look in the HowTo's section, I believe we have VB samples there that show how to store and retrieve a photo in an Access database.

You'll see them there, with the word "BLOB" at the start. (It stands for something like "binary large object").
Jan 9 '08 #4

P: 52
Fanks alot, its just what i've been looking for 4 about a week.
Jan 10 '08 #5

Expert 5K+
P: 8,434
Glad we could help. :)
Jan 10 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.