Change the MP3 file Details using .Net

Posted by Harshana | .Net, Media, Microsoft, Visual Studio | Sunday 27 September 2009 2:18 PM

Actually what I need to do,
I have some music albums downloaded from Internet. Those files contain some unwanted things or blank on the Title, Artist, Comments, and Album tags. So I need to put correct/real information to these files. So first I have renamed properly files using file Move functionality in programming language. So after that I can put name as a Title easily. I’m using extra library UltraID3Lib and it is free. You can download it from http://home.fuse.net/honnert/hundred/?UltraID3Lib.
I have used System.IO and HundredMilesSoftware.UltraID3Lib references and this is the sample method I have used.

  • Share/Bookmark

How to set DataGridView.DataSource with more than 655 Columns

Posted by Harshana | Microsoft, Visual Studio | Wednesday 16 September 2009 5:26 PM

Anyone have been tried to bind data to Windows.Forms.DataGridView more than 655 Columns ?
When you tried, you can see Exception “Sum of the columns’ FillWeight values cannot exceed 65535.” ?
Solution is for this reduces the DataGridViewColumn.FillWeight. Default value is 100 and the maximum sum of FillWeight values for all columns in a DataGridView control is 65535.

What is the FillWeight in DataGridViewColumn ?
It is simply value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control.

This is the C# sample.

  • Share/Bookmark

Microsoft Career Offer

Posted by Harshana | Microsoft, Vista, Visual Studio, Windows, XP | Wednesday 2 September 2009 12:48 PM

This is a chance to who interest to do the Microsoft certifications. Prometric offers 25%, 20% and 15% discounts for selected exams. for more information visit http://www.prometric.com/microsoft/careeroffer.htm

Microsoft Career Offer

  • Share/Bookmark
e-wallet Wordpress Theme