Re: Convert old VB6 to C#

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Robert Bravery" <me@xxxxx> wrote in message news:A75A3EF0-A72E-4FEF-85F1-B55B2CEDBC1D@xxxxxxxxxxxxxxxx
Can someone point me in the right direction. I am looking for the fastet and
simplest way of converting a vb6 project, written by someone else (I am
takeing over the project) to C#

You could do a two-step conversion: First open the project in Visual Studio, which will convert it into VB.Net. Then convert the VB.net code into C# by means of the various code converters available, such as the one available from http://www.vbconversions.net/. However, it will still require a lot of manual attention, unless it is a trivial program, since there are many incompatibilities between the laguages involved.

.



Relevant Pages

  • RE: Convert old VB6 to C#
    ... other thongs.) ... simplest way of converting a vb6 project, written by someone else (I am ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Convert old VB6 to C#
    ... So, if you have a substring method that is indexed at 1 in VB, convert it to ... simplest way of converting a vb6 project, written by someone else (I am ...
    (microsoft.public.dotnet.languages.csharp)
  • Can Visual Studio Be Any Slower?
    ... I am working on converting a VB6 project to .NET, and I am astounded at how ... amazingly slow Visual Studio is when loading a solution. ...
    (microsoft.public.dotnet.general)
  • Re: Converting VB6 project
    ... I am looking for the fastet ... and simplest way of converting a vb6 project, ...
    (microsoft.public.dotnet.languages.vb)