Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 329
Default File Object properties for Photos...

Hi Neily,

There's a useful dll you can download from he
http://members.cox.net/foxbat121/exifview.html
Included in the zip file is some sample vb code you could adapt.

Cheers

--
macropod
[MVP - Microsoft Word]


"Neily" wrote in message
...
When I put photos from my Canon camera onto my computer, I hover the

cursor
over the file and it tells me the model of the camera and the "Date Taken"
the date the photo was taken on.

Now I messed about and found File Object code...
Sub ShowFileInfo(filespec)
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(filespec)
s = f.DateCreated
MsgBox s
End Sub

...and found I could return the file attributes such as Date Created and
Date Modified.

Does anyone know if there is a way to bring back the Date Taken attribute
from my image files taken with my camera.

Ta.

Neily again.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 329
Default File Object properties for Photos...

Hi Neily,

Now that you've done that, take a look at the workbook I developed yesterday
using EXIFView. It's at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=618967

Cheers


--
macropod
[MVP - Microsoft Word]


"Neily" wrote in message
...
Thanks Macropod,

Very useful. Managed to work out that you need to register the dll file

in
the Tools References dialog within the VBA tools.

"macropod" wrote:

Hi Neily,

There's a useful dll you can download from he
http://members.cox.net/foxbat121/exifview.html
Included in the zip file is some sample vb code you could adapt.

Cheers

--
macropod
[MVP - Microsoft Word]


"Neily" wrote in message
...
When I put photos from my Canon camera onto my computer, I hover the

cursor
over the file and it tells me the model of the camera and the "Date

Taken"
the date the photo was taken on.

Now I messed about and found File Object code...
Sub ShowFileInfo(filespec)
Dim fs, f, s
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(filespec)
s = f.DateCreated
MsgBox s
End Sub

...and found I could return the file attributes such as Date Created

and
Date Modified.

Does anyone know if there is a way to bring back the Date Taken

attribute
from my image files taken with my camera.

Ta.

Neily again.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Object properties for Photos... NickHK Excel Programming 0 December 6th 06 10:15 AM
File Object properties for Photos... SteveW Excel Programming 0 December 6th 06 09:36 AM
Changing Photos in a Image Object Troubled User Excel Discussion (Misc queries) 1 January 15th 06 01:48 AM
Properties transferring from excel cells to word file properties lubo Excel Programming 4 July 12th 05 11:24 AM
OLE Object -TexBox Properties SSR[_2_] Excel Programming 2 December 31st 03 08:22 AM


All times are GMT +1. The time now is 03:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"