[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2003-10-26
5
Medium Priority
?
1,030 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
4 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 200 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 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…
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 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