How to convert VB to C#?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi,

I built an application with VB many years ago and I want
to use C# and dot net framework now.

How can I convert the VB6 code to C#? Do I need to firstly
convert VB6 code to VB.net and then convert VB.net to
C#.net?

If so, could anyone recommend those 2 translators?

Thanks
 
Hi Tom,

You can migrate from VB6 to VB .NET with Visual Studio .NET's built-in
translator, but it will leave many things to be done manually. Then, I've
heard that guys from www.icsharpcode.com are working on a VB .NET -> C#
translator, so you might want to check it out.

Anyway, I would like you to realize that this is not just the matter of
syntax. Microsoft .NET's programming paradigm is completely different from
the VB6 one, so even with an ideal language syntax translator, you will most
likely to redesign the application - and this is a task no translator will
be able to do in foreseable future.
 
Back
Top