473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VB to C# converter

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
7 1774
Do you mean VB.NET to C#, or VB6 to C#? (The latter would be a
frightening prospect, IMHO.)

Jan 11 '06 #2
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: techy techno | last post by:
hii Experts..!! I need someone to tell me where I can get a Currency Converter like http://cconv.textor.com please can someone tell me where I can get it I need it for free + I dont need...
5
by: jorfei | last post by:
I have written a component with a property IPAdrress of type System.Net.IPAddress. To ease the configuration of the component at design time, I have written a type converter for the type...
3
by: Jon Rea | last post by:
is there a c# -> c++ code converter out there ? Hi people, I was just wondering if there is a C# to C++ converter out there. I have some working c# code and need to integrate it into a...
2
by: TheMadHatter | last post by:
does anybody know of a half decent converter????? I tried the "VBConversions VB.Net to C# Converter" with less than satisfactory results, and an unnecisary hole in the bank.
0
by: Max Power | last post by:
I'm having some trouble with an RTF converter called Logictran R2Net when two users access my site simultaneously. My application simply runs an SQL query (based on parameters typed by user) that...
4
by: John | last post by:
Hi Is there a way to convert whole c# projects (or solutions) to vb.net projects or solutions? Most converters I have come across only convert snippets. Thanks Regards
1
by: Nikola | last post by:
Hellooo! Can someone help me please. I tipe this code and it don't work!!! Whyyyyyy. <html> <head> <title>Text object value</title> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!--...
12
by: Tana | last post by:
Hi, My company wants to migrate all our apps from vb.net to c#. Can someone recommend a good migrate/convert tool? I am hoping that such a tool can do a 90-95% work for me, and I will do the...
10
by: esha | last post by:
I tried several online converters. In many case they do the job, but sometimes give some mess. I think that all converters I know are old, were created for VS 2003 and do not understand new stuff...
3
by: John Dalberg | last post by:
I have been trying a few commerical vb.net to c# converters. None of them converts inline vb.net asp.net code? Is there any converter that can convert inline code (code in aspx files)? I don't...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.