CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

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#


Published Jun 28 2005, 11:04 AM by darrell
Filed under:

Comments

Chris Wallace said:

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.
# June 28, 2005 8:34 AM

TomCat said:

Can someone tell me what AJAX is?
# June 28, 2005 11:38 AM

darrell said:

TomCat - see this article for a detailed explanation of "AJAX"
http://www.adaptivepath.com/publications/essays/archives/000385.php
# June 28, 2005 12:20 PM

Keith G said:

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.
# June 28, 2005 12:54 PM

darrell said:

Sorry Keith. :(
# June 28, 2005 2:17 PM

Angus Logan said:

# June 28, 2005 5:42 PM

TomCat said:

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?
# June 28, 2005 9:05 PM

Christopher Steen said:

Link Listing - June 28, 2005
# June 28, 2005 9:34 PM

Andrew Connell [MVP MCMS] said:

# July 4, 2005 5:32 PM

Frank La Vigne said:

# July 6, 2005 6:48 AM

Frank La Vigne said:

# July 25, 2005 7:59 AM

Konamiman said:

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;"
# September 12, 2005 3:50 AM

Weblog said:

# October 4, 2006 3:39 PM
Check out Devlicio.us!