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:
Expand|Select|Wrap|Line Numbers
- 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!