Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

AJAX-based VB and C# code converter

Now this is cool. Carlos Ag has a page that allows you to convert VB to C# or C# to VB as you type with code coloring. Fantastic use of AJAX.

Check it out here: Code Translator VB <-> C#

This entry was posted in .NET. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

7 Responses to AJAX-based VB and C# code converter

  1. Konamiman says:

    I have another bug to report. A line of code like “Dim MyArray(some_size) As SomeType” should be converted to “SomeType[] MyArray=new SomeType[some_size];”, but actually it is converted to “SomeType[,] MyArray;”

  2. TomCat says:

    Thank you Darell for the article. So that’s what they call it now. Hmm.. how come nobody told me.. just kidding:)

    I know this is off topic but I have to ask this. how serious is this? i mean who other than google can afford invest so much money for simple functionlity just to some geeks (btw only geeks are wowed because it’s only them know the limitations that AJAX is overcoming and how challenging it is). My guess less 1% of companies. My next question is: is this here to stay and should i as a web developer learn it?
    I don’t know cz there so much to learn on the server side that gives “real” functionality.

    However, the problem that Ajax is solving is real and but i think it’s solving it in a very expensive way. Are Smart Clients the alternative? I don’t think so because they are not “Web” applications. What do you think of Flash/Flex?

  3. Keith G says:

    I was excited when I saw your title. A VB to C# code converter. But then I realized it was a VB.NET to C# converter. Not nearly as valuable.

  4. TomCat – see this article for a detailed explanation of “AJAX”

  5. TomCat says:

    Can someone tell me what AJAX is?

  6. Cool, but not 100% correct from what I can tell. ex. Response.Write(s.ToString) in VB should translate to Response.Write(s.ToString()); in C# but it doesn’t add the () on the end and you wind up with Response.Write(s.ToString); which if I’m not mistaken won’t compile.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>