IDeploy

adventures of a geek without a parachute

  Home  |   Contact  |   Syndication    |   Login
  35 Posts | 1 Stories | 38 Comments | 207 Trackbacks

News

Archives

Post Categories

Image Galleries

________

Articles

Blogroll

Humor

David L asks how to convert legacy VB6 code to C#.  There's a lot more to this than one might think. There are significant differences that may make it necessary to rearchitect anything but the simplest application (non deterministic finalization comes to mind.).

I would recommend looking at  Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic .NET for starters. If you still think it's a good idea to “convert”,  you can start with the VB.NET upgrade wizard in visual studio, which is invoked automatically when you open a VB6 project. If you are successful (that's a big if!), there are a number of comercially available VB-->C# converters.

 

 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Tuesday, February 01, 2005 3:50 PM

Feedback

# re: VB6 to C#? 6/11/2008 4:05 PM Luis Leon
Hi, Actually there is one tool capable to port legacy VB6 apps to C# is called Visual Basic Upgrade Companion, its 2nd release features full C# generation with a lot of cool features like structured error handling, lower bounds to zero, interfaces declaration and more...

# re: VB6 to C#? 7/9/2008 10:10 PM Mark Juras
GreatMigrations offers a customizable VB6/COM migration toolset. And No, it does not go through VB.NET first. It compiles the VB6/COM codebase to an intermediate semantic model (like IL) then authors .NET code (either VB.NET or C#) from that model. BTW: It also does a very nice job rewriting ASP to ASP.NET with C# replacing VBScript.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: