While working on TVRenamer I came across the need to give progress feedback for the user and give the user the ability to stop copying and since System.IO.File.Copy or Move doesn't provide any feedback and using the VB.NET copy methods means that this will involve another DLL and might not work on mono supported systems, beside that it doesn't give you control over the UI, so I went on and created my own class.
The idea is to have two streams one to read the source file and the other to write to the destination, while raising an event when progress is made, the class exposed one property which is the buffer size, buffer size will impact performance I found the 3MB is a good buffer size in general.
Here's an example of how to use the class:
oFS.CopyProgress += new EventHandler<FileSystem.CopyProgressEventArgs>(oFS_CopyProgress);
bool success = oFS.CopyFile(sourceFileName, destFileName);
if (success)
{
lblProgressStatus.Text = "File copied successfully";
}
void fs_CopyProgress(object sender, FileSystem.CopyProgressEventArgs e)
{
pb.Value = (int)(e.percentage * 100);
Application.DoEvents();
}
I am working on a new version of the TV Episodes File Renamer [0.6] Beta
The upcoming changes are:
The project is getting much bigger so I decided to host it on it's own site TVRenamer.com the site is still under construction but will be done with the release of the new beta version.
TVRenamer moved to a new site TVRenamer.com
This tool allows you to modify TV series episodes file names to make them all in one standard format. for example if you have few files with naming convention like:
the.office(us)2x14.avi
and others
The Office S02E08.avi
you can make all files with one naming convention of your choice.
currently the tool support the following formats
<Show Name><Separator>S<SS>E<EE>
<Show Name><Separator>e<SS>e<EE>
<Show Name><Separator><SS>x<EE>
Where
<SS> is the season number
<EE> Episode number
<Separator> is a choice of (comma, dash, space or underscore)
<Show Name> is the Title of the show
Show Name is extracted from the file names but if you want to modify it you can.
Use the preview button to see what the file names will look like, you can filter the files to be renamed by using Filter.
NOTE: this software is FREE

This Software requires Microsoft .net framework 2.0
Click here to download
TVRenamer moved to a new site TVRenamer.com
I modified the previous version of TV Series Episodes File Renamer and now releasing version 0.2
Change log:
I am releasing the source code too.
TVRenamer moved to a new site TVRenamer.com
I've been using this application for quite sometime now, and I thought of sharing it with who might find it useful
This tool allows you to modify TV series episodes file names to make them all in one standard format. for example if you have few files with naming convention like
the.office(us)2x14.avi
and others
The Office S02E08.avi
you can make all files with one naming convention of your choice.
currentlythe tool support the following formats
I am not a fan of Sudoku game, but my best best friend's mom is, so I got interested in playing this game for a while and as a programmer I couldn't stop my self from automating(cheating) the game so I created this small program to solve the puzzle. the application is written in c#.net 2005 so you need .NET framework 2.0 to be installed before you can run it.
have fun.
Recent comments
8 weeks 3 days ago
10 weeks 1 day ago
12 weeks 1 day ago
22 weeks 12 hours ago
44 weeks 1 day ago
44 weeks 1 day ago
47 weeks 2 days ago
47 weeks 2 days ago
47 weeks 2 days ago
49 weeks 1 day ago