It is without a doubt the best VB to C# translator I've seen! It did an excellent conversion job on my projects and I strongly recommend it to anybody that needs to translate VB to C#.Brian Reisman, MCAD, MCDBA, MCSE, MCSD, MCT
What a time saver! I had to convert six different VB projects for a book I had written. I manually converted the first project and quickly realized what a time consuming process it was. The C-Sharpener for VB product was easy to use, did a thorough job and saved me countless hours of boring and tedious work. It's a great product!!!Sara Rea, MCSD, MCDBA
Here are some of the organizations that have purchased C-Sharpener For VB:
We are committed to providing the best product for converting Visual Basic .NET to C#—quickly, easily and accurately. To that end, we stand behind C-Sharpener For VB and its successes and are proud to share them with you.
Curious about what other people are doing with C-Sharpener For VB? Here are some statistics our users have provided.
Note: When you convert code, C-Sharpener For VB gives you the option of sending us statistics about your conversion project. Nothing private or proprietary is ever sent or used in our reports.
| All Files Converted | Source Files Converted | Lines of Code Converted |
|---|---|---|
| 586,624 | 192,374 | 51,493,453 |
| Date | Project Type | Lines of Code Converted |
|---|---|---|
| 2/8/2007 | Windows | 354,576 |
| 11/1/2007 | Windows | 354,576 |
| 1/26/2009 | Windows | 335,003 |
| 1/26/2009 | Windows | 335,003 |
| 1/14/2009 | Windows | 332,413 |
| 1/15/2009 | Windows | 332,413 |
| 5/9/2005 | Web | 280,641 |
| 5/13/2009 | Windows | 274,422 |
| 7/22/2008 | Windows | 259,446 |
| 10/13/2004 | Windows | 202,058 |
| Date | Project Type | Lines of Code Converted |
|---|---|---|
| 7/3/2009 | Windows | 1,159 |
| 7/3/2009 | Windows | 124 |
| 7/3/2009 | Windows | 468 |
| 7/3/2009 | Windows | 867 |
| 7/3/2009 | Windows | 1,504 |
| 7/2/2009 | Windows | 25 |
| 7/2/2009 | Windows | 26 |
| 7/2/2009 | Windows | 320 |
| 7/2/2009 | Windows | 406 |
| 7/2/2009 | Windows | 67 |
Duwamish Books is a sample web application installed with Visual Studio .NET. Microsoft provides both Visual Basic .NET and C# versions. We converted the entire Visual Basic project with C-Sharpener For VB with an overall conversion rate of 99.9%. The results are below for review.
| Project Name | Source Files Converted | Lines Of Code Converted | Post Conversion Modifications | Conversion Rate |
|---|---|---|---|---|
| BusinessFacade | 4 | 636 | 0 | 100% |
| BusinessRules | 3 | 641 | 0 | 100% |
| Common | 6 | 755 | 0 | 100% |
| DataAccess | 5 | 1,019 | 0 | 100% |
| SystemFramework | 4 | 963 | 4 | 99.6% |
| Web | 22 | 4,026 | 1 | 99.9% |
| Totals | 44 | 8,040 | 5 | 99.9% |
Overall, C-Sharpener For VB converted 8,040 lines of code. Listed below are the manual changes that were required to complete the conversion. Sometimes a single modification fixes several compilation errors and occasionally a single compiler error can require several modifications. The list below documents our modifications.
Preprocessor directives like #define can be assigned a value in Visual Basic .NET, but not in C#. We eliminated the assignments in the C# code.
Some projects do not include all the files necessary in the actual Visual Basic .NET project. In Duwamish Books, none of the image files were contained in the final project, even though they exist in the same directory as the project.We manually copied the image files to the C# project.
Both the original and converted Visual Basic .NET projects are downloadable for review. Modifications can easily be searched for using the comment tags <TRANSMOD> and </TRANSMOD>. The appropriate virtual directories for the web projects will need to be added to view the project. The required database from the original Microsoft sample will also have to be added to run the project.
FotoVision is a sample project available at MSDN Code Samples. It consists of a desktop, Web and Pocket PC sample applications. All code is written in Visual Basic .NET. We converted the FotoVision applications (except the unsupported Pocket PC application) with C-Sharpener For VB with an overall conversion rate of 99.8%. The results are below for your review.
| Project Name | Source Files Converted | Lines Of Code Converted | Post Conversion Modifications | Conversion Rate |
|---|---|---|---|---|
| FotoVisionWeb | 15 | 2,013 | 7 | 99.7% |
| FotoVisionDesktop | 47 | 15,899 | 19 | 99.9% |
| Totals | 62 | 17,912 | 26 | 99.8% |
Overall, C-Sharpener For VB converted 17,912 lines of code. Listed below are the major manual changes that were required to complete the conversion. Sometimes a single modification fixes several compilation errors and occasionally a single compiler error can require several modifications.
In VB, the private members of the base class can be accessed in derived class (E.g. System.Windows.Forms. _timer). We modified the converted code by replacing these with the corresponding protected/public members.
In the converted C# code, some ambiguous refererence occurred. We corrected the C# code by using fully qualified names.
In VB, it is not necessary to use the override keyword to override a member method. However, C# code should contain an override or new keyword in the declaration. We added a new keyword in the method declaration in the converted C# code.
Both the original and converted Visual Basic .NET projects are downloadable for review. Modifications can easily be searched for using the comment tags <TRANSMOD> and </TRANSMOD> . The appropriate virtual directories for the web project will need to be added to view the web project.