Solved

How to determine a digital picture's "picture taken" date from within VB6

Posted on 2003-10-26
5
1,008 Views
Last Modified: 2008-02-01
I have noticed that Windows XP shows the date a picture was taken on some digital images. This applies to pictures taken with a Sony Mavica camera that have not been manipulated in any way. How can I access the ability to determine a "picture taken" date from within VB6?

Thanks.
0
Comment
Question by:rawill5053
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:cool12399
ID: 9625026
Mmm... that type of information is not generally available in most pictures.
Sounds like the sony cam is storing that information in the comments section of
the image... so for those types of pictures taken from those cameras, you would
simply look in the comments section of the image and extract it...
0
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 9629704
These are EXIF header properties.  Short of decoding the JPG header yourself, I don't know how you can get these from VB6 alone.  You need to use either GDI+ or .Net which you can't do from VB, get a third party control, or write a bit of code in C++.

However, decoding the JPG header shouldn't be too hard.  Try starting here http://www.media.mit.edu/pia/Research/deepview/exif.html

0
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 50 total points
ID: 9630012
0
 
LVL 10

Expert Comment

by:cool12399
ID: 9707409
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split points between Cool12399 and JohnBPrice

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Cool12399
EE Cleanup Volunteer
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question