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

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

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a

"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

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

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

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

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

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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.