PDA

Click to See Complete Forum and Search --> : Vb.net Horror


Jordan
Nov 27th, 2001, 02:24 PM
I recently updated my large project from VB6 to VB.NET (Beta 2). Before updating, my project compiled perfectly and was free of runtime errors. This is what VB.NET does to a large VB6 project:

318 Errors
1710 Warnings
2028 Total Issues

Given those numbers... I think I'll stick with VB6, at least for now.

JoshT
Nov 28th, 2001, 11:10 AM
MS is expecting us to rewrite VB6 apps to .Net. It's not really backwards compatible.:(

Joacim Andersson
Nov 28th, 2001, 08:54 PM
It's more than "not really backward compatible"!
It isn't backward compatible at all.
You can use the upgrade wizard if you like, but it wont create VB.Net code for you.
What it does is create some code that might be backward compatible by cheating...
First of all there is no way you can use the Clipboard object, or any graphic methods you are use to....
Actually you should forget everything you know about graphics methods in VB 6!!!

The Err object is also discarded!! So is all code using an On Error code.
To be on honest you just can't rely on your old code at all.

gijsj
Dec 8th, 2001, 04:15 AM
Actually it does apply for ActiveX Controls aswell.
It will just use COM interop aswell.

If you want to use a ActiveX Control on a WinForm just right-click on the Toolbox, click "Customize Toolbox, there is a list of all Controls or you can browse for them.

Scott Penner
Dec 14th, 2001, 12:33 PM
cool!

vbAngel
Dec 31st, 2001, 08:54 PM
So, being quite new to vb6, should I drop it & get started on .net or stick with vb6.
Is .net really the future?
:confused:

dylanmendes
Dec 31st, 2001, 11:36 PM
Experienced the same while trying to upgrade my VB6.0 project to VB.NET. So what really does the upgrade wizard do???

Joacim Andersson
Jan 2nd, 2002, 05:29 PM
Originally posted by vbAngel
So, being quite new to vb6, should I drop it & get started on .net or stick with vb6.
Is .net really the future?
:confused: I truely believe that .Net is the future.
But it will be a distant future before Microsoft has implemented the .Net framework in all of it's products so stick to VB6 while you learn VB.Net or/and C#.
VB6 and VS6 will still be sold and supported by Microsoft after the release of VS.Net in February.

BTW
dylanmendes If you want to use my avitar you should ask me kindly first :)

dylanmendes
Jan 3rd, 2002, 01:29 AM
hey joacim,

*sheepish* sorry'bout the avatar thing!!! was just checking out how the u[loading icon works and your swas the nearest one i could find...

cheers,
d

NicoVB
Jan 3rd, 2002, 03:52 AM
I also think .NET IS the future!! Certainly! But there are many changes, and if you want to upgrade a project to .NET there are many issues. I would look at your code, and see what's wrong with it.

Maybe you have maid every time the same 'mistake'.

My best regards.

(please leave your ICQ-number or your MSN-adress)

tumblingdown
Jan 7th, 2002, 12:48 PM
Originally posted by Joacim Andersson
It's more than "not really backward compatible"!

... So is all code using an On Error code.




And the crowd go wild!



td.