473,396 Members | 1,748 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.net - C# converter

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 rest :)

I am using VS 2005.

thanks

Sep 16 '06 #1
12 2619
Tana wrote:
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 rest :)

I am using VS 2005.
Several such tools exist.

Local apps and web apps.

I do not use VS.

SharpDevelop has a little tool to do it.

You can find a lot of alternatives via Google.

90-95% does not sound unrealistic, but you may still
want a person to go over the code anyway.

Arne
Sep 16 '06 #2
Tana,

http://dotnet.mvps.org/dotnet/faqs/?...erters&lang=en

Be aware that converting from C# to VB.Net is much easier than visa versa and therefore there are much more good C#->VB.Net converters than good VB.Net -C# converters.

I hope this helps,

Cor
"Tana" <ta**@verizon.netschreef in bericht news:%2*****************@TK2MSFTNGP06.phx.gbl...
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 rest :)

I am using VS 2005.

thanks

Sep 16 '06 #3
You can expect much better than 90-95%.
Try the various demo/trial editions of the available converters (including
ours), and pick the best one.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
"Tana" wrote:
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 rest :)

I am using VS 2005.

thanks
Sep 16 '06 #4
I don't think that's true. We make both VB to C# and C# to VB converters and
they each have major challenges:

VB to C#:
The main challenge is to sort out the extremely high level of ambiguity and
diverse syntax alternatives. In addition, there are syntax alternatives from
*many* years back that are still supported in VB.NET.

C# to VB:
One main challenge is parsing - since there is no one-to-one correspondence
of line to statement you have to be able to parse possibly fragmented or
combined C# lines into sensible C# statements. Another challenge is that C#
doesn't spell out everything in agonizing detail like VB, so you need to work
harder to identify things (e.g., is the entity after the colon in a class
header a class or interface?, e.g., which methods will need "Implements" tags
- you need to have logic to accurately determine that).
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
"Cor Ligthert [MVP]" wrote:
Tana,

http://dotnet.mvps.org/dotnet/faqs/?...erters&lang=en

Be aware that converting from C# to VB.Net is much easier than visa versa and therefore there are much more good C#->VB.Net converters than good VB.Net -C# converters.

I hope this helps,

Cor
"Tana" <ta**@verizon.netschreef in bericht news:%2*****************@TK2MSFTNGP06.phx.gbl...
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 rest :)

I am using VS 2005.

thanks
Sep 16 '06 #5
David,
>Be aware that converting from C# to VB.Net is much easier than visa versa
and therefore there are much more good C#->VB.Net converters than good
VB.Net -C# converters.
>I don't think that's true. We make both VB to C# and C# to VB converters
and
they each have major challenges:
You mean that Tana can take any VB.Net -C# Sharp converter and it should
not be precisely your product?

While writing my text I was thinking about your product because I know how
attentionful you are. I am not sure anymore if I have expirience with your
product. However, I have seen much more C# -VB.Net converters than visa
versa.

I have not the idea that it is because there are more people converting from
C# to VB.Net (I have in fact lately only seen one in the language.vb
newsgroup who did that completely).

:-)

Cor

Sep 16 '06 #6
David,

I'm just curious. Does your C# to VB.NET converter handle anonymous
methods well?

Brian

David Anton wrote:
You can expect much better than 90-95%.
Try the various demo/trial editions of the available converters (including
ours), and pick the best one.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
Sep 16 '06 #7
It converts some cases of anonymous methods, but not all.
For example, anonymous methods referencing local variables in the scope of
the anonymous method call ('captured variables') are not converted.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
"Brian Gideon" wrote:
David,

I'm just curious. Does your C# to VB.NET converter handle anonymous
methods well?

Brian

David Anton wrote:
You can expect much better than 90-95%.
Try the various demo/trial editions of the available converters (including
ours), and pick the best one.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#

Sep 16 '06 #8
David,

Yeah, I figured captured variables would be difficult to convert. In
fact, I'm not sure how you would do it without implementing part of the
C# specification. There are some intricate rules regarding the
lifetime of the captured variables. It would be cool if you could
somehow accomplish that without too much effort.

Brian

David Anton wrote:
It converts some cases of anonymous methods, but not all.
For example, anonymous methods referencing local variables in the scope of
the anonymous method call ('captured variables') are not converted.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
Sep 16 '06 #9
Thank you everybody for your help, you people rule :)

David, I will definitely try your software.
"Tana" <ta**@verizon.netwrote in message news:%2*****************@TK2MSFTNGP06.phx.gbl...
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 rest :)

I am using VS 2005.

thanks

Sep 17 '06 #10
One of the purpose of .Net framework is lighten the cross language calling. If you have existing VB.NET code in place then I believe you can just leave it. For your new application you can develop in C# or build it using class library perhaps so that your existing VB.NET can utilize the C# portion of it.

When you check the Microsoft patterns: http://msdn.microsoft.com/practices/ I don't think they specified which language you must use as well.

Good luck

chanmm
"Tana" <ta**@verizon.netwrote in message news:OH*************@TK2MSFTNGP06.phx.gbl...
Thank you everybody for your help, you people rule :)

David, I will definitely try your software.

If
"Tana" <ta**@verizon.netwrote in message news:%2*****************@TK2MSFTNGP06.phx.gbl...
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 rest :)

I am using VS 2005.

thanks

Sep 17 '06 #11
Thank you everybody or your help.

Dave, I will definitely try your software.

chanmm, I also have a framework that is written in vb.net. That's why I better convert all my code.
Good news is it seams like these conversion tools actually do a good job, 95% of code gets converted and does not need any intervention. So, I am willing to do the rest, at this point we don't have to mach of code written.

regards
tana
"Tana" <ta**@verizon.netwrote in message news:%2*****************@TK2MSFTNGP06.phx.gbl...
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 rest :)

I am using VS 2005.

thanks

Sep 19 '06 #12
David,

I must say that I am very pleased with your "instant C#" software.
I did convert much more than 95% of my code.

I reported the minor bug to your company and they fixed it the same day and provided me with a updated executable.
Excellent customer service.

I would recommend this software to anyone who needs to migrate VB.net code to C#.

Tana


"David Anton" <Da********@discussions.microsoft.comwrote in message news:C0**********************************@microsof t.com...
You can expect much better than 90-95%.
Try the various demo/trial editions of the available converters (including
ours), and pick the best one.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C#/VB to C++ converter
C# Code Metrics: Quick metrics for C#
"Tana" wrote:
>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 rest :)

I am using VS 2005.

thanks
Oct 1 '06 #13

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"> <!--...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.