Saturday 7 July 2012

Make torrent from online files

Today i am going to introduce you a website called http://www.burnbit.com
burnbit
This is a cool service for those who host files over internet. Today a file hosting service charges you for your hosting account (Premium), also you have some limitation like 10GB Bandwidth per month or 500GB hosting space. But think if your total file size is greater than 500GB or your bandwidth limit is near about to 9.9GB in the middle of the month  and you still don’t want to remove your old files then this service will help you to save your hosting space and bandwidth.
But how? The answer is BurnBit. It gives you the ability to change your Giant Size files into torrents. By using BurnBit you can create torrents from your online hosted files. So after creating the torrent give your user the torrent file for download. And after someday you can remove the original hosted file from your hosting account. And your file will never die.

MP3 tag editor using vb.net

To edit mp3 files tags we need UltraID3Lib.dll.
So first download it from here
UltraID3Lib.DLL
Now we have to do this following steps.
  1. Open Visual Studio IDE
  2. Create a new windows application
  3. From Project —> Add Reference –> Browse –> Select the UltraID3Lib.DLL
After adding reference we can use this DLL.
Now the coding part…
First we need to import it.
Imports HundredMilesSoftware.UltraID3Lib


Create a new UltraID3 object.


Dim tg1 As New UltraID3


Now we need a mp3 file for reading. The reading function tag1.Read() will does this work.


tg1.Read("c:\mp3\sample.mp3")


And then we can display the basic tags of that mp3 file using


tg1.Album
tg1.Title
tg1.Artist
tg1.Year.ToString
tg1.Comments

Now if we want to update any tag information, we just need to set the property value and use the .write() method.

tg1.Album="Demo album"
tg1.Title="Demo Title"
tg1.Artist="Demo Artist"
tg1.Year=2012
tg1.Comments="Sample Comment"

tg1.Write()

After that these informations will saved into your mp3 file.