Hi
Am developing a school software and i have a form named Admission which i want to include the pictures of students, i have managed to upload the picture using this code:
The problem now is how to save and retrieve those pictures. Am using VB6.0 connecting to MS Access database using module and i want pictures to be saved in table admission field called images
Can someone please help!
Am developing a school software and i have a form named Admission which i want to include the pictures of students, i have managed to upload the picture using this code:
Code:
Private Sub Command1_Click() Dim pic As StdPicture dlgPicture.Filter = "Pictures (*.bmp;*.jpg)|*.bmp;*jpg|" dlgPicture.ShowOpen filen = dlgPicture.FileName Picture1.Picture = LoadPicture(filen) End Sub
Can someone please help!
Comment