If I might take a slightly different tack, you could use one of the many reflector tools that are available. My favorite is Lutz Roeder's .NET Reflector at http://www.aisto.com/roeder/dotnet/. Along with converting from IL to source code, it also lets you convert from VB to C# and back again. And even to Delphi, if you were so inclined. ;). This isn't really suitable for projects with a large number of source files, but for small sets of code, it is adequate.
We produce Instant C#, which converts VB.NET to C#. A free Demo Edition is available at www.instantcsharp.com
David Anton www.tangiblesoftwaresolutions.com Instant C#: VB.NET to C# Converter Instant VB: C# to VB.NET Converter Instant C++: C# to C++ Converter Instant J#: VB.NET to J# Converter Clear VB: Cleans up VB.NET code
In addition to developerfusion, there are about 3 other on-line converters. However, here are just some of things that the on-line converters will not convert:
Generics (or any 2005 feature) ASP.NET embedded code Parameterized properties Entire projects Entire folders Member calls to .NET system assemblies Optional parameters Function name assignment Unstructured VB6-style error handling All VB array 'styles'
David Anton www.tangiblesoftwaresolutions.com Instant C#: VB.NET to C# Converter Instant VB: C# to VB.NET Converter Instant C++: C# to C++ Converter Instant J#: VB.NET to J# Converter Clear VB: Cleans up VB.NET code
Converting code from VB to C#
50322899
Geze
Take a look also at:
http://www.carlosag.net/Tools/CodeTranslator/Default.aspx
http://www.elegancetech.com/csvb.aspx
Regards,
Vikram
Exellon
Jeff Schindler
A free Demo Edition is available at www.instantcsharp.com
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant C++: C# to C++ Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up VB.NET code
Mark Watkin
However, here are just some of things that the on-line converters will not convert:
Generics (or any 2005 feature)
ASP.NET embedded code
Parameterized properties
Entire projects
Entire folders
Member calls to .NET system assemblies
Optional parameters
Function name assignment
Unstructured VB6-style error handling
All VB array 'styles'
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant C++: C# to C++ Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up VB.NET code