954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How To Store data in MS access using VB6 Form

Hi Friends,
First thing is I want to say Thank youuuuuuuuuuuuuuu. for retriving me answer on my other question you guys are such a greate people.

Sory To Disturb you But I have One Big problem That i can't solve it :'(

I m creating A project, in this project i need to store Photo in access database using VB6 form
I creat one field PHOTO which datatype is OLE Object in access DB. And i put one picture box on my VB6 Form(EMP info).

I want to store photo using save button and display it on picture box, Even when i forward the next record i want to change photo in vb form

Please send me code of it.:sad:
Pleaseeeeeeeeeeeeeeeeeeeeeeeeee:$

And again thanks to read my question

hell_tej
Junior Poster in Training
53 posts since Apr 2008
Reputation Points: 15
Solved Threads: 3
 

you can use ado(advance data object) to store any type of data in any database management systeme onle use ado control and adocontrolname.recordset.field("fieldname or index number")=pictureboxname.picture or imageboxname.picture

virendra777
Newbie Poster
3 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

for ado control please reffer vb help guid or email me @ [email]virendra.deshmukh@aol.in[/email]

virendra777
Newbie Poster
3 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

you can use ado(advance data object) to store.........................

adocontrolname.recordset.field("fieldname or index number")=pictureboxname.picture or imageboxname.picture

You have posted a new defination of ADO .
which book you are reading man ???

your method is never going to work.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Please find related discussions here and here for store and retrival of images in database.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You