Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

accessing media player library in vb.net to get list of photo's wi

3 views
Skip to first unread message

Rodling83643

unread,
Nov 18, 2009, 7:54:02 PM11/18/09
to

using vb.net and accessing the media player library I can not figure out how
to access a list of photos with a perticular keyword like MP does in keyword
list. The data I am after is already in the media player Library and I am
tring to find the VB.NET commands to access it. Media player keeps a list of
pictures that match a perticular keyword in its library. In media player
select picture-Libray-Keyword to see the list of boat pitures or Moms
pictures... Using Vb.net media player object access coding I am trying to
gain access to this list just like it lets me access playlist and pictures.
Playlist code is below as an example of the type of access I am using. This
was just test code to prove the access work to look at objects in the debuger.

Private

Sub play_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles play.Click


Dim MyList As IWMPPlaylistArray


Dim PlList As IWMPPlaylist

Player.currentPlaylist = Player.mediaCollection.getByName(


"playlist_080131_2220")

MyList = Player.playlistCollection.getAll


For x = 0 To 25

PlList = MyList.Item(x)


Next x


End Sub

Neil Smith [MVP Digital Media]

unread,
Nov 29, 2009, 8:37:33 AM11/29/09
to
The photo-specific metadata attributes available are :
http://msdn.microsoft.com/en-us/library/dd563997.aspx

In the overall list there's no specific Keywords attribute though.

There is a Tags feature, which is part of Vistas version of windows
explorer, not of media player :

http://windows.microsoft.com/en-US/windows-vista/Tag-pictures-so-theyre-easier-to-find
http://windowsitpro.com/article/articleid/95691/what-tags-can-i-use-to-search-in-windows-explorer.html

HTH
Cheers - Neil

------------------------------------------------
Digital Media MVP : 2004-2009
http://mvp.support.microsoft.com/mvpfaqs

0 new messages