Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VB to C# converter

0 views
Skip to first unread message

craigke...@hotmail.com

unread,
Jan 11, 2006, 12:54:36 AM1/11/06
to
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.

Bruce Wood

unread,
Jan 11, 2006, 1:54:20 AM1/11/06
to
Do you mean VB.NET to C#, or VB6 to C#? (The latter would be a
frightening prospect, IMHO.)

Gabriel Magana

unread,
Jan 11, 2006, 2:14:23 AM1/11/06
to
LOL, The best way to convert from VB6 to C#: 1) Redesign application, 2)
Write new code from scratch.

"Bruce Wood" <bruc...@canada.com> wrote in message
news:1136962460.0...@g14g2000cwa.googlegroups.com...

Jon Skeet [C# MVP]

unread,
Jan 11, 2006, 4:07:59 AM1/11/06
to

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

Rudderius

unread,
Jan 11, 2006, 7:13:13 AM1/11/06
to
If you mean VB.NET why do you want to convert it? I tought the language
is unimportant with .NET ...

Jon Skeet [C# MVP]

unread,
Jan 11, 2006, 8:35:15 AM1/11/06
to
Rudderius wrote:
> > 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 ...

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

GreenSC

unread,
Jan 11, 2006, 8:34:01 AM1/11/06
to

Rudderius

unread,
Jan 11, 2006, 12:33:07 PM1/11/06
to
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.

0 new messages