f3rDzReYeS
06-02-2004, 08:07 AM
How come there are instances wherein the jpg's blob file are saved in the Photo field and there are time's its not?
Private Sub cmdTWAIN_Click()
'create a temporary file acquired from a webcam
frmAcquireImage.Show vbModal, Me
'load the temporary file n image1
Image1.Picture = LoadPicture("c:\fjrtemp.jpg")
'append image file to database
FileToBlob Adodc1.Recordset.Fields("Photo"), "c:\fjrtemp.jpg"
End Sub
the filetoblob function came from this thread:
http://www.xtremevbtalk.com/showthread.php?t=26291
appreciate any help :D
ferdz
Private Sub cmdTWAIN_Click()
'create a temporary file acquired from a webcam
frmAcquireImage.Show vbModal, Me
'load the temporary file n image1
Image1.Picture = LoadPicture("c:\fjrtemp.jpg")
'append image file to database
FileToBlob Adodc1.Recordset.Fields("Photo"), "c:\fjrtemp.jpg"
End Sub
the filetoblob function came from this thread:
http://www.xtremevbtalk.com/showthread.php?t=26291
appreciate any help :D
ferdz