Category: Computers > Programming
Asked by: joketery-ga
List Price: $50.00
14 Aug 2006 03:24 PDT
Expires: 13 Sep 2006 03:24 PDT
Question ID: 755768
Please show me how to edit the tag of WMA and WMV music file by using Microsoft Visual Basic.NET 2005 I wanted to get some document on these artice.
Re: Music program...
Answered By: theta-ga on 14 Aug 2006 11:45 PDT
Hi joketery-ga, The simplest way to access the attributes in a WMA or WMV file is to use the Windows Media SDK. This SDK comes with a managed wrapper that lets you easily access and modify file attributes with C# and VB.net. You can download the Windows Media Format 9.5 SDK from: - http://msdn.microsoft.com/windowsmedia/downloads/default.aspx The SDK provides source code for a managed wrapper which will allow you to access the windows media API from .Net. It also contains a sample program written in C# that uses the managed wrapper to allow you to add, modify and delete metadata for a particular windows media file. For your convenience, I have translated the C# code to VB.Net. You can download the compressed file containing the VS2005 solution from here: - http://rapidshare.de/files/29397218/WmEdit.zip.html This VS2005 Solution file contains 3 projects: - WMFSDKWrapper: This is the managed wrapper written in C# - MetadataEdit: This is a console program written in C# that allows you to edit the attributes of a windows media file. - VBMetadataEdit: This is a console program written in VB.net that allows you to edit the attributes of a windows media file. Run the console application from the command prompt with no arguments to see its usage instructions. The source code is pretty simple and self-explainatory. Further reading =============== - Windows Media Attribute Reference [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/attributereference.asp] Contains a list of all the windows media attributes categorised by media type. - MSDNAACC: Playing with Music Files [https://www.mainfunction.com/DotNetInAction/Technologies/display.aspx?ID=2626] Look at the 'Obsolete Already' section for some vb.net code that utilizes the windows media sdk to reat file tags. If you need any more information, or any clarifications, just post a request. Hope this helps! Regards, Theta-ga :)
rated this answer:
and gave an additional tip of:
That's good job! Are you have any document to access the tag in mp3 file?
|There are no comments at this time.|
If you feel that you have found inappropriate content, please let us know by emailing us at firstname.lastname@example.org with the question ID listed above. Thank you.
|Search Google Answers for|