How to Load Picture From Access DB IN VB6.0
Follow this steps
Step 1 - First you design a form as you wish to like this Screen Shot.
in this form when user enter student enroll no then if picture added in db then display it.
Step 2 - Create a module and paste this code and save it with any name.
Step 3- Call Function LoadPictureFromDB and Change declaration parameters
A - First Parameters is Picture Control where you want to Display the picture from db
B - Second is Adodb Recordset Variable that you defined.
C - Third is Field Name that you created in database table.
Step 4- You can just call above function any event like this
आप ये भी पढ़ सकते है
0 Comments