Results 1 to 2 of 2
  1. #1
    LonghronJ is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    150

    Finding photos in network based on photo tags


    Does anyone know how to obtain a list of jpg photos based on their tags?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    http://www.access-programmers.co.uk/...d.php?t=265850

    This shows how to access the .jpg attributes, note you have to turn on the reference 'microsoft shell controls and auotmation'

    The tag property is attribute number 18. you'd just have to look for an instr I think

    Code:
    Dim objShell As Shell32.Shell
    Dim objfolder As Shell32.Folder
    Dim objfolderitem As Shell32.FolderItem
    
    
    Set objShell = New Shell
    Set objfolder = objShell.NameSpace(CurrentProject.Path)
    Set objfolderitem = objfolder.ParseName("jellyfish.jpg")
    
    
    
    
    Debug.Print "Attribute Number: 18 value is: " & objfolder.GetDetailsOf(objfolderitem, 18) '.Value
    
    
    Set objfolderitem = Nothing
    Set objfolder = Nothing
    Set objShell = Nothing

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 11-04-2014, 04:27 PM
  2. Replies: 4
    Last Post: 06-18-2013, 07:36 AM
  3. Replies: 6
    Last Post: 04-06-2013, 10:36 AM
  4. Replies: 4
    Last Post: 08-29-2011, 12:36 PM
  5. Replies: 0
    Last Post: 08-17-2010, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums