Solved

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

Posted on 2003-10-26
5
1,001 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now