Dim datePicture As Date
Dim ctrl As GflAx.GflAx
Set ctrl = New GflAx.GflAx
ctrl.LoadBitmap file
datePicture = ctrl.EXIFDateTaken
Im using this code in vb6 to get the date the picture was taken. It works must of the times but some
pictures crash the program at the "datePicture = ctrl.EXIFDateTaken" line.
But EXIFDateTaken() provides now some data even when picture doesn't have the EXIF Date Take information. Earlier the function provided null, so I was able to sort out the pictures with and without the EXIF Date Taken data.
But EXIFDateTaken() provides now some data even when picture doesn't have the EXIF Date Take information. Earlier the function provided null, so I was able to sort out the pictures with and without the EXIF Date Taken data.