StrataFrame Forum

Tool for converting code from C# to VB.net

http://forum.strataframe.net/Topic11636.aspx

By Charles R Hankey - 9/22/2007

Perhaps everyone else already knows this but Kamal Patel has a tool on the web for converting C# code to vb .net code which I am finding very useful for understanding examples and getting my brain around being able to translate quickly in my head between the two most popular .net languages

http://www.kamalpatel.net/ConvertCSharp2VB.aspx

Thought I'd share it here in case anybody else is as new to all this as I am.  BigGrin

By Ivan George Borges - 9/22/2007

Hey Charles.

This one I hadn't seen yet... thanks for the tip! Wink

By StrataFrame Team - 9/24/2007

Nice, a free web-based tool.  That's perfect for translating quick samples.  We have a tool that will translate an entire project, but it's kinda overkill for short samples.  Thanks.
By StrataFrame Team - 9/24/2007

Ooo, it even has a free offline version with full source code.
By Steven Tahan - 9/25/2007

Here's one I find useful. It lets you convert both ways:



http://codeconverter.sharpdevelop.net/SnippetConverter.aspx



This open source .net ide is useful for converting modules and projects:



http://sharpdevelop.net/OpenSource/SD/Default.aspx



Steve Tahan


By Fabian R Silva, - - 10/4/2007

Ben Chase (09/24/2007)
Nice, a free web-based tool. That's perfect for translating quick samples. We have a tool that will translate an entire project, but it's kinda overkill for short samples. Thanks.




I try sometimes to use codeproject's controls and tools and try to convert c# projects to vb and have to spend 1 to 3 hours to fix the conversion, I can question what program you use to convert the entire project? w00t



thanks a lot!
By Trent L. Taylor - 10/4/2007

There are two that we use that work very well.  They each have their strengths and genreally when one doesn't convert a project the other will.  I have been very impressed with these tools.  We use them for our samples as well so we can maintain a single code base instead of two.  We have to make a few changes, but it makes short work of it.

Instant VB and C#: http://www.tangiblesoftwaresolutions.com/

VB Conversions: http://www.regnow.com/softsell/nph-softsell.cgi?item=11360-1

Instant VB and C# has two products and goes between both langauges.  The latter only converts to C#.  Hope this helps.