Is there a utility to do that? I thought I saw one once.
Printable View
Is there a utility to do that? I thought I saw one once.
I haven't even seen a utility that converts VB6 to VB.NET code that actually works. If there is such as thing as your title utility, I'd love to take a look at it.
David Anton has lots of converters, dont know if he has one for VB6-C# though...I dont really think so. One should convert manually for the best end result.
That's kinda what I thought. I can almost rember seeing something, though.
Nope, no VB 6 to .NET converters as Microsoft cant even get it working correctly then no one can :D
VB6 to C# is a bit of a chore, I'm afraid.
I'd recommend first upgrading to VB.NET and then use one of the available VB.NET to C# converters (such as ours).
There are a couple of converters that claim to convert directly from VB6 to C#, but I don't have experience with them:
http://www.vbto.net/
http://www.netcoole.com/vb6tocs.htm
Hmm, I believe VS2003 contained such a converter, didn't it?
(for VB6 -> VB.NET)
Yes - so does VS 2005. That's our recommended way to go from VB6 to VB.NET. That does half the job of converting to C#, but it's not easy - according to our customers, the upgrade from VB6 to VB.NET is much tougher than the conversion of VB.NET to C#, even with the VB6 to VB.NET upgrade wizard.Quote:
Originally Posted by BramVandenbon
Yes, they have converters built in but they are crap and almost never complete the conversion of vB 6 code. Plus its usually not the best logic in code either. Its almost always recommended to re-write your vb 6 code in pure .net