VB to C# Converter
-
Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I sincerely hope I will never have to look at a VB program, ever. X|
Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
-
I sincerely hope I will never have to look at a VB program, ever. X|
Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
JimmyRopes wrote:
I sincerely hope I will never have to look at a VB program, ever.
The scary thing is, the VB code wasn't compiled with the Strict option (one reason why VB sucks.) I enabled it on a small project and there were probably 100 errors. I also discovered the machinations the previous programmer went through to implement "static" objects. OMG. What a disaster. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
JimmyRopes wrote:
I sincerely hope I will never have to look at a VB program, ever.
The scary thing is, the VB code wasn't compiled with the Strict option (one reason why VB sucks.) I enabled it on a small project and there were probably 100 errors. I also discovered the machinations the previous programmer went through to implement "static" objects. OMG. What a disaster. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I feel for you. Sixteen years ago I took a contract where they used VB6. I couldn't believe how bad some VB programmers coded. Fortunately, I haven't looked at a VB program since 2002 when the contract ended, and hopefully never will ever again.
Once you lose your pride the rest is easy. In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
-
And miss out on a perfect opportunity to write some good 'ol VB!? NEVER! :-D [Edit] I read that the other way around. The VB has already been written... I guess someone already took that perfect opportunity :D [/Edit]
Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.
Simplicity is prerequisite for reliability. — Edsger W. Dijkstra
Regards, Sander
Sander Rossel wrote:
And miss out on a perfect opportunity to write some good 'ol VB charge a client a small fortune to convert it to C#!? NEVER!
FTFY
If it's not broken, fix it until it is
-
Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
I've used one of their trial products to see what some legacy java code would look like when converted to c# - it took a bit more 'hand polishing' of the result, but I learned a whole lot about java reflection thence c# reflection on the 'journey' Their product gets a thumbs up from me - with the caveat, crap (any language in) => crap (any language out)
-
Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
Have a look at ILSpy[^] It does dll to c# well enough, so you don't even need the vb code ...
Espen Harlinn Chief Architect - Powel AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra
-
Just tried the free version[^] on a small VB project. The tool ROCKS! Only a couple minor things needed to be cleaned up, and it also puts comments in for where it made important decisions. Simple user interface, it generates a complete folder with solution files and project files (as in, it doesn't just convert VBarf, it actually rebuilds the entire solution for you with C# code.) Recommended. :) Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
VB6 or VB.net?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
VB6 or VB.net?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Dan Neely wrote:
VB6 or VB.net?
I would assume vb.net since it converts to C#. That's what I tried. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
-
Dan Neely wrote:
VB6 or VB.net?
I would assume vb.net since it converts to C#. That's what I tried. Marc
Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!
If that's all it does, MEH. Lots of tools that can do that reasonably well already.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt