Tool for converting code from C# to VB.net


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
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

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)Strategic Support Team Member (4.4K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hey Charles.

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

StrataFrame Team
S
StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
StrataFrame Team
S
StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)StrataFrame Developer (6.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Ooo, it even has a free offline version with full source code.
Steven Tahan
Steven Tahan
StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)StrataFrame Beginner (1 reputation)
Group: Forum Members
Posts: 1, Visits: 1
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



Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)StrataFrame User (283 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
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!

Trent Taylor
Trent Taylor
StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)StrataFrame Developer (13K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search