473,385 Members | 1,645 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,385 software developers and data experts.

How do you convert a VB.net Proj to C#?

ken
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?
Thank You in Advance for Your Help,
Ken
Nov 13 '05 #1
7 5962

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?


You read the code in the VB app, and then type it into C#.
Nov 13 '05 #2
Well, if you have code in that project you will have to rewrite it. The .Net
classes are the same but the C# syntex is not.
Ronen

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?
Thank You in Advance for Your Help,
Ken

Nov 13 '05 #3
Jeremy Cowles wrote:
"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?


You read the code in the VB app, and then type it into C#.


There is a converter out there that will do some of the drudge work for
this, however, in the end, you're right, it requires someone who knows both
VB.Net and C#.net to complete the task.

--
Reginald Blue
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone."
- Bjarne Stroustrup (originator of C++) [quoted at the 2003
International Conference on Intelligent User Interfaces]
Nov 13 '05 #4
ken
Hello Ronen,

I read somewhere that Anakrino could do this. It that so?

Thank You for all Your Help,
Ken
"R Agam" <ra***@mmm.com> wrote in message
news:uX*************@TK2MSFTNGP10.phx.gbl...
Well, if you have code in that project you will have to rewrite it. The ..Net classes are the same but the C# syntex is not.
Ronen

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?
Thank You in Advance for Your Help,
Ken


Nov 13 '05 #5
ken
Hello Jeremy,

I read somewhere that Anakrino could do this. It that so?
Thank You for Your Help,
Ken

"Jeremy Cowles" <je*************************@asifl.com> wrote in message
news:Cp*********************@twister.tampabay.rr.c om...

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?


You read the code in the VB app, and then type it into C#.

Nov 13 '05 #6
I don't know. But how many lines of code are you talking about? Maybe
someone can do it for you?

Ronen

"ken" <kk*****@mindspring.com> wrote in message
news:uB**************@TK2MSFTNGP11.phx.gbl...
Hello Ronen,

I read somewhere that Anakrino could do this. It that so?

Thank You for all Your Help,
Ken
"R Agam" <ra***@mmm.com> wrote in message
news:uX*************@TK2MSFTNGP10.phx.gbl...
Well, if you have code in that project you will have to rewrite it. The

.Net
classes are the same but the C# syntex is not.
Ronen

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?
Thank You in Advance for Your Help,
Ken



Nov 13 '05 #7
Ken,

Anakrino will decompile IL code into C#. However, it does this on a
method by method basis, so you would have to be prepared for a lot of
cutting and pasting. Also, there are no comments, and variable names are
not descriptive.

You are better off compiling the VB code and referencing it in the C#
project that you want to use it from.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"ken" <kk*****@mindspring.com> wrote in message
news:uB**************@TK2MSFTNGP11.phx.gbl...
Hello Ronen,

I read somewhere that Anakrino could do this. It that so?

Thank You for all Your Help,
Ken
"R Agam" <ra***@mmm.com> wrote in message
news:uX*************@TK2MSFTNGP10.phx.gbl...
Well, if you have code in that project you will have to rewrite it. The

.Net
classes are the same but the C# syntex is not.
Ronen

"ken" <kk*****@mindspring.com> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...
Hello All,

I am hoping that this is a simple question with a simple answer.
How do you convert a VB.Net project into a C#.net project?
Thank You in Advance for Your Help,
Ken



Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: aladdin | last post by:
I use outside .jpg picture files in a Windows Form project. I try to compile use csc.exe at command line. I use resgen.exe to generate a resource file like: resgen.exe Form1.resx...
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
1
by: Turk | last post by:
Is it possible to deploy ASP.NET 2 proj onto PWS on windows2000 pro. The app runs fne in vstudio2005, but unable to configure asp.net 2 on PWS on my windows2000 development box. Is this...
2
by: shalender verma | last post by:
I am using VB6. I created a small project. I Want that i can activate my running project(minimized and appearing at the task bar) by pressing any code while working in any other application....
0
by: Tony | last post by:
I am developing a simple .net vb proj and have a few questions that Id be very grateful if someone more experienced than me could answer. Firstly, is it possible to set overwrite options when...
2
by: vaishnavi | last post by:
hi, i want to do a proj for 2nd sem of mcs. could anyone tell me some project topics in java ? some proj topics in servlet or rmi..... or related with db.... pls send me list of the topics....
1
by: lds | last post by:
I have Visual Studio 2005 Professional Edition installed with Service Pack 1. I have several solutions and projects that I have migrated from Visual Studio 2003 to 2005. In most cases the changes...
2
by: ivy317317 | last post by:
Can someone help me convert this Access query to Oracle SQL? UPDATE t1 INNER JOIN t2 ON (t1.begin_year = t2.FY) AND (t1.subhead = t2.SUBHEAD) AND (t1.proj = t2.PROJECT) AND (t1.pdli = t2.TASK) AND...
2
by: kkshansid | last post by:
$projid=$_GET; $q="INSERT INTO proj select * from projtemp where projid ='".$projid."'"; $qins=mysql_query($q); is resulting false is there any error? there are 2 tables in a database with name...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.