By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,056 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,056 IT Pros & Developers. It's quick & easy.

VB to C# converter

P: n/a
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.

Jan 11 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Do you mean VB.NET to C#, or VB6 to C#? (The latter would be a
frightening prospect, IMHO.)

Jan 11 '06 #2

P: n/a
LOL, The best way to convert from VB6 to C#: 1) Redesign application, 2)
Write new code from scratch.

"Bruce Wood" <br*******@canada.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Do you mean VB.NET to C#, or VB6 to C#? (The latter would be a
frightening prospect, IMHO.)

Jan 11 '06 #3

P: n/a
cr************@hotmail.com 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 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

Jan 11 '06 #4

P: n/a
cr************@hotmail.com wrote:
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 ...
Jan 11 '06 #5

P: n/a
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

Jan 11 '06 #6

P: n/a
check out this site:
http://www.developerfusion.co.uk/uti...btocsharp.aspx

Hello Rudderius,
cr************@hotmail.com wrote:
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 ...

Jan 11 '06 #7

P: n/a
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.

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

Jan 11 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.