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

VB6 to VB.NET What have peoples experiences been

P: n/a
I have just started to look at VB.NET and they say the
upgrade wizrd does 95% of the job. I have also heard that
it is not worht doing. What have other peoples experience
been ?
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
It works pretty well, however, a lot of logic in VB6 doesn't fit into .NET
well (see ADO.NET). Also, chances are the VB6 code is weakly typed (see
Yuck) even if it converts perfectly (it may), you'll want to rewrite a lot
of it. Also, you'll want to kill all of your Error handling and replace it
with structured exceptions. DataAccess and weak typing are the too biggest
things IMHO that you don't want introduce into your new code. Option Strict
OFF is Option Slow On...never forget that. So even if it compiles totally
clean, make sure do make the adjustments

I also had some trouble getting infragisitics to register correctly, but we
played with the .licx file and got it to work.

All in all though, it's pretty straightforward.

HTH,

Bill
"Zakhurst" <St*********@instem-lss.co.uk> wrote in message
news:06****************************@phx.gbl...
I have just started to look at VB.NET and they say the
upgrade wizrd does 95% of the job. I have also heard that
it is not worht doing. What have other peoples experience
been ?

Nov 20 '05 #2

P: n/a
Thanks
I am glad we are not the only infragistics vitims.
Tjey were quite short with me about our problems. In the
end I know it is probably too late for you but I got
Microsoft to fix the bugs (via artinsoft)

Steve

-----Original Message-----
It works pretty well, however, a lot of logic in VB6 doesn't fit into .NETwell (see ADO.NET). Also, chances are the VB6 code is weakly typed (seeYuck) even if it converts perfectly (it may), you'll want to rewrite a lotof it. Also, you'll want to kill all of your Error handling and replace itwith structured exceptions. DataAccess and weak typing are the too biggestthings IMHO that you don't want introduce into your new code. Option StrictOFF is Option Slow On...never forget that. So even if it compiles totallyclean, make sure do make the adjustments

I also had some trouble getting infragisitics to register correctly, but weplayed with the .licx file and got it to work.

All in all though, it's pretty straightforward.

HTH,

Bill
"Zakhurst" <St*********@instem-lss.co.uk> wrote in message
news:06****************************@phx.gbl...
I have just started to look at VB.NET and they say the
upgrade wizrd does 95% of the job. I have also heard that it is not worht doing. What have other peoples experience been ?

.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.