Link to home
Start Free TrialLog in
Avatar of Jim Little
Jim LittleFlag for United States of America

asked on

Setting Extended File Properties of Image or Media Files in VB.Net

I'm writing a VB.Net application in which users need to be able to play and/or view date and time-sensitive media files (WMV, WMA, AVI, MP4, MOV, MP3, etc.).  There are also image/other files (GIF, TIFF, BMP, JPG, PDF, etc) that will have a sensitive date/time.

The date/time of each file must not change once it has been created.

Using the DATE CREATED or DATE MODIFIED properties of the files won't work because the important date/time of the media file or image file could be different than when the file was created.

In VB.Net, what would be the best method to add a Creation Date and Creation Time to a file so that we can also read it when playing back the file (i.e. media file) or displaying an image file (JPG or PDF)?

I'm guessing that writing the date/time information in the extended file properties is where this is leading. Does anybody have an example of how to write the Date/Time into one of the extended file properties - let's say the DESCRIPTION property?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial