473,385 Members | 1,942 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.

VB6 to VB.NET What have peoples experiences been

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
2 1102
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Antoon Pardon | last post by:
I have had a look at the signal module and the example and came to the conclusion that the example wont work if you try to do this in a thread. So is there a chance similar code will work in a...
4
by: Ali Abin Makesh | last post by:
Steve Ballmer calls Linux Advocates waging 'jihad' Jihad is Holy War and is most sacred. Ballmer makes insult to all our peoples.
9
by: sojin | last post by:
#include<stdio.h> void change() { /* Write something in this function so that the output of printf in main function should give 5 . Do not change the main function */ } void main() {
2
by: Ben Fidge | last post by:
Hi I'm trying (and failing) to create and regular expression for parsing peoples names. I simply want to make sure that a firstname and surname, at least, can be extracted. For example, "Ben...
5
by: wheel | last post by:
I've never tried this but, what if Access (2003) is not installed on the server, in the classic front end back end setup? I know sometimes Jet can process requests on the server, returning less...
10
by: vfunc | last post by:
OK, after reading some C++ books and writing some programs that cover the core, where do I go from there, to say be able to read some open source code ? How do you unravel other peoples code when...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
5
by: gibble | last post by:
Hi, I am going crazy. We get a hundred or so of these errors each day and while the fix would seem obvious, the error does not include a line number! -------------------- Process...
158
by: madhawi | last post by:
This question is occur in interview. Please help me.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.