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

Programatically change Title of .WMV file?

65 views
Skip to first unread message

unified

unread,
Aug 11, 2010, 11:10:49 AM8/11/10
to
How can I change the title of a .WMV movie file? DsoFile only works
for MS Office files. The title is one of the 35 extended properties
you can see when you right-click on the file.

I know this is possible because I did it before, but lost the source
code and related files a few months ago following a hard drive crash.

Thanks for any help you can give.

Onur Güzel

unread,
Aug 13, 2010, 8:09:49 AM8/13/10
to

If you have WMP 9 and above (I'd prefer 11 for that), you can do it by
adding Windows Media Player object to it your toolbox and drag it to
your form and place the code which calls setItemInfo:

Me.AxWindowsMediaPlayer1.mediaCollection.add _
("c:\file.wmv").setItemInfo("Title", "title_here")

When you right click it in the playlist and select the tab "content",
you will see it has been modified programmatically by you.

HTH,

Onur Güzel

0 new messages