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

VB6.0 Vs 2005

P: 236
Can anyone explain me what VB2005 has more than VB6.0 please?
Jun 16 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 432
VS 2005 is a completely different programming language.

It is used for developing with .NET (VB.NET, ASP.NET)
Jun 16 '08 #2

Expert 100+
P: 432
As another note, any "VB" package out after 2005 is essentiall for the .NET archeticture\language.

I only mention this because there is already a VB 2009 in the works I think

VB 6.0 is still widely used and there is a lot of vb6.0 infrastructure out there so its not going away anytime soon, but there will be no more support from Microsoft for it, and someday soon any new servers they produce will probably no longer support VB 6.0.
Jun 16 '08 #3

P: 296
You're really asking: "What's the difference between VB6 and VB.NET?"
There's a lot of difference. VB.NET is, essentially, a new language because you will have to become familiar with the .NET framework in order to use VB.NET. Much of the familiar VB6 syntax is in place - and for compatibility with VB6 language elements it will still host many methods and functions just like VB6. For example you can still use:

MyString = Left(OrgString, 6) 'you cannot use LEFT$

But the "DotNet Way" is

MyString = OrgString.Substring(0,6)

The daunting part is gaining familiarity with the framework classes. It's a lot like learning to ski. The first several hours you honestly wonder if it is even possible - that no human could actually do this. After a couple of hours you begin to feel the groove and BY GOLLY you're SKIING!
With .NET it's much the same - except it's several days or even weeks. Once you do "feel the groove" you actually begin to like it and you begin to see the power and flexibility. Considering VB6 is going away eventually, and that nothing new will be added - this is your only true course...
There are some nice things.
Declaration and setting a value in one:

Dim MyString as String = "this is mystring"

Incrementing is easier:

I += 1 'increments the value of I by one

Overall speed is quite good.

Deployment is easy - but unduly large as you should always include the .net framework. This means a "Hello World" application is at about 30+ megabytes.

MS still has a ways to go to make the language fit the mission of "Visual Basic" though. Given almost any assignment - I can code something up in VB6 in half the time. C'est la vie...

Jun 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.