469,364 Members | 2,332 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,364 developers. It's quick & easy.

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 5859

"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Marc Miller | last post: by
2 posts views Thread by vaishnavi | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.