943,884 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 1519
  • C# RSS
Oct 10th, 2008
0

Converting from VB.Net and 1.1 to C#.Net and 2.0

Expand Post »
Hello.

I'm charged with taking a site I helped create in VB.Net 1.1 to C#.Net 2.0 - I'm just starting to research this and wondered if anyone has done it and if you can direct me to some good material . . .

I need to add a new module to the site but we are trying to do all new programming in C# and in 2.0 . . . (yea I know, we're still behind . . )

Thanks

Oh and by the way - using Visual Studio 2008 . ..
Last edited by rapture; Oct 10th, 2008 at 12:18 pm.
Similar Threads
Reputation Points: 155
Solved Threads: 41
Posting Whiz in Training
rapture is offline Offline
294 posts
since Jul 2007
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

Beauty of .net is you can mix and match languages, so if your vb part goes in .net 2 then your task is a lot smaller.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

So I should attempt to convert from 1.1 to 2.0 first then attempt to convert to C# correct?
Reputation Points: 155
Solved Threads: 41
Posting Whiz in Training
rapture is offline Offline
294 posts
since Jul 2007
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

i would recommond to convert to C# first. Luckily 1.1 to 2.0 C# conversion is relatively simple since most new things in C# 2.0 only make things easier (so worst case C# 1.1 code will be harder than it has to be).

Tricky part is VB.Net to C#. But like LizR said, it is up to you, you could run it as vb.net just fine with future C# code
Last edited by vckicks; Oct 10th, 2008 at 4:06 pm.
Reputation Points: 11
Solved Threads: 9
Junior Poster in Training
vckicks is offline Offline
58 posts
since Jun 2008
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

The 'powers that be' have decided that I need to convert the code to C# as a learning experience before we fully begin to code in C# in a couple of weeks.
Reputation Points: 155
Solved Threads: 41
Posting Whiz in Training
rapture is offline Offline
294 posts
since Jul 2007
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

Well, you have a choice to convert to .net 2 then c#, or conver to c# and then to .net 2

Personally Id move it to .net 2 and then do the c#, as because you can mix language in various modules you could work through a module at a time,
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Oct 10th, 2008
0

Re: Converting from VB.Net and 1.1 to C#.Net and 2.0

Thanks again everyone
Reputation Points: 155
Solved Threads: 41
Posting Whiz in Training
rapture is offline Offline
294 posts
since Jul 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Add users to Distro List
Next Thread in C# Forum Timeline: Need help designing application





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC