![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
Vb 6, Vb.net
I'm new to VB,
First i would like to know the difference between VB 6 and VB.NET, I assume vb.net is an upgraded version of vb6 and can do everything that vb6 can and more. I dont know alot of BASIC, i know just 3 or 4 things, but I am knowledgable with HTML and JavaScript. In my opinon, I think I should start learning VB without knowing much of BASIC. Any arrguments would be appricated. Also, I'm looking for a tutorial, any suggestions? Im using SharpDevelop as my compiler by the way. Last edited by navnav; Mar 15th, 2005 at 6:02 PM. |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
OK... it's the VB6 vs. VB .NET debate again. Basically, VB6 is faster, but VB .NET is better. Take your pick.
Oh, and you don't need to know BASIC to understand VB - they're actually quite different. |
|
|
|
|
|
#3 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
vb .net runs on the .net framework. The .net framework is big and slow, but it's actually worth it. It contains lots of classes (not sure if you know what those are) and functions that are built in to help you get work done faster. It also is "language-neutral", which means that it's extremely easy to use C# or Managed C++ libraries in your VB.NET code.
Oh, and MS is going to stop supporting VB6 really soon (if they haven't already) |
|
|
|
|
|
#4 |
|
Expert Programmer
|
I would argue that VB6 native code is actually slower, because of the use of Object Thunks and the like - comparing the execution time of cleverly designed For loops (to avoid compiler optimisation) bears this out. VB.NET speed is close if not identical to equivalent code in C# - whilst obscure calls to System might be slower than using the API in VB, it's much easier, flexible and safer.
|
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
Speed is also relative to the hardware. I believe MS support for Visual Studio Pro (including VB) is on the back burner and will soon be no longer offered.
If you plan on development Windows applications, it would be wise to go with .NET.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#6 |
|
Programmer
|
It's true, MS are planning to withdraw free support for VB6 and eventually there will be no support at all. Although there will still be apps with VB code out there, the number of them will probably decrease as mantaining it becomes more of a problem. I would say VB.NET is the way to go - I definitely prefer it to v6.
A lot of people have said though that VB.NET is a completely different language. I can see why they think that - the .NET edition is the first to be fully object-oriented (classes, encapsulation, polymorphism, etc). There are also a number of keyword changes and there is the .NET framework integration.
__________________
David Morris BSc.(Hons), MBCS Qualified Computer Engineer Administrator (SEED Software) |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|