Is there any VB6 to C# migration tool?

basl picture basl · Oct 7, 2008 · Viewed 52.1k times · Source

Does anyone know a way to convert from VB6 code to C#?

Is there a tool that can do this for me?

Is there any migration process that I can follow to do this?

Answer

theraccoonbear picture theraccoonbear · Oct 7, 2008

VisualStudio offers (or at least offered) a wizard to do a conversion from VB6 to VB.NET (which could then be converted to C# with a bit of work, possibly helped by #develop's VB.NET <-> C# converter), but when last I used it, for anything non-trivial there was a lot of manual work needing to be done so I suspect you're probably better rewriting or porting by hand if this is a large and/or important application.