VB to C# converter

  • Thread starter Thread starter craigkenisston
  • Start date Start date
C

craigkenisston

Hi,

I'm looking for a tool that converts VB to C#.
I've take a look to a couple, though, they didn't totally conviced me.
Any prize/complain about these kind of tools is welcome.
 
Do you mean VB.NET to C#, or VB6 to C#? (The latter would be a
frightening prospect, IMHO.)
 
LOL, The best way to convert from VB6 to C#: 1) Redesign application, 2)
Write new code from scratch.
 
I'm looking for a tool that converts VB to C#.
I've take a look to a couple, though, they didn't totally conviced me.
Any prize/complain about these kind of tools is welcome.

If you mean from VB.NET to C#, I've had success with InstantC#:
http://www.tangiblesoftwaresolutions.com/

Disclaimer: I have a free copy which was generously given to me for
some reason (generally posting a lot, or something like that :)
However, I'm not in the habit of saying something works when it
doesn't!

I haven't used it a lot, but the projects I *have* converted have been
fine (after a little tweaking which I'd expect anyway).

Jon
 
Hi,

I'm looking for a tool that converts VB to C#.
I've take a look to a couple, though, they didn't totally conviced me.
Any prize/complain about these kind of tools is welcome.
If you mean VB.NET why do you want to convert it? I tought the language
is unimportant with .NET ...
 
Rudderius said:
If you mean VB.NET why do you want to convert it? I tought the language
is unimportant with .NET ...

It's unimportant to the CLR. It may be important to the developer.

Case in point: I found an MSDN article about some code to format source
code nicely. The code was in VB.NET. It worked well, but I wanted to
change it. Initially I played around with it in VB.NET, but every time
I added something, it was a bit painful. I certainly didn't want to
attempt the large-scale refactoring it really needed.

I converted the code to C#, and then I was able to manipulate it with
much more confidence.

Jon
 
Hi Jon,

I agree that it may be important to the developer. I prefer C#/Java-like
syntax to VB.NET, Delhpi because of the readability.

The only reason I wanted to mention this is because I've seen people
converting a whole program without changing anything; in my opinion: a
wast of time! If you want to change something, then I can understand you
want to convert it.
 
Back
Top