Pictures Paths in Access to Display in VB.Net need help

vargf

Member
Joined
Feb 15, 2006
Messages
13
Programming Experience
Beginner
Hi I'm working in a proyect Ilike to know how to retrive images from Access
to display in VB.Net

I have a Access Database with IDPrimayKey,First_Name,Last_Name,Phone_number,Address,Picture.
the idea is to retrive the picture of each student in the Picture Box
the All the personal info display Good,but I didn't find the code to
do this task. Here is my code

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
daStudents.Fill(DsStudents1)
Student_Foto.Image = Image.FromFile(Application.StartupPath & "\images\")
End Sub
Private Sub btn_Next_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Next.Click
Dim images As String
BindingContext(DsStudents1, "Students").Position += 1

End Sub
Private Sub btn_Preview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Preview.Click
BindingContext(DsStudents1, "Students").Position -= 1
End Sub

End Class

Can any body help me with this process
vargf :confused:
 
Back
Top