Solved

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

Posted on 2003-10-26
5
1,011 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need help formating a date variable in my VB.Net application 2 68
Adding to a VBA? 6 85
using web browser with BING 40 137
Passing a Text Box name to a Sub 6 102
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

696 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