Private Sub btnChangePhoto_Click
cam.Initialize("Camera", pg)
If (cam.IsSupported = True) Then
Try
cam.SelectFromPhotoLibrary(Me, cam.TYPE_ALL)
Catch
Msgbox(LastException.Description, "Atenção")
End Try
End If
End Sub
Private Sub Camera_Complete(Success As Boolean, Image As Bitmap, VideoPath As String)
If Success Then
If Image.IsInitialized Then
imgResponsible.Bitmap = Image
End If
End If
End Sub