473,856 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How is VB.net different from VB6?

Dan
Hi - can anyone tell me how much different VB.net is different from VB6? I'm
thinking of transitioning but would like to know more about its capabilities,
ease of transition, etc.

Any opinions would be greatly appreciated!

Thanks -

Dan
Dec 5 '05 #1
8 1387
Hello Dan

Well i am a VS6 and VS.Net coder ( i use both for my work ) VB.Net is
fully object oriented and is in a lot of ways totally different as VB6 ,
you have to think more in OOP style while VB6 was more forgiving VB.Net is
much more strict .

However i believe that with the correct book specially targetted to
programmers switching from VB6 to VB.Net like the Core reference guide
from Francesco Balena "Programmin g Microsoft Visual basic .Net" ( note that
the 2005 edition will be availlable in mid january 2006 ) you feel
yourself at home within a few weeks , and never want to switch back in a few
months

VB.Net is now as powerfull as all the rest of the Visual studio languages ,
if you can overcome the distribution of the framework with your app , You
have a far more superior development environment as with VS 6

regards

Michel Posseth [MCP]

"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:D5******** *************** ***********@mic rosoft.com...
Hi - can anyone tell me how much different VB.net is different from VB6?
I'm
thinking of transitioning but would like to know more about its
capabilities,
ease of transition, etc.

Any opinions would be greatly appreciated!

Thanks -

Dan

Dec 5 '05 #2
IMHO, you'll get farther faster if you think of VB.Net as another language
entirely.

You will see some things (such as syntax and old method names) that are
similar to VB6, but VB.Net is really nothing like VB6. The underlying
classes, object oriented approach to everything and dealing with the CLR as
opposed to stand-alone exes makes VB.Net a new breed.

Don't expect VB.Net to be VB 7. It isn't. If you try and force the new
things that you will learn into your VB6 knowledge, you will have a harder
time learning VB.Net.

I believe that you will be better off not thinking of VB.Net as VB 7.
Approach it as an entirely new language and you will learn faster and be
better off for it.

DL the learning edition of Visual Basic 2005 (called Visual Basic 2005
Express) for free at http://msdn.microsoft.com/vstudio/express/vb/download/.
It is a great place to start and is light years ahead of the VB.Net 2002 and
VB.Net 2003 versions. In fact, it's starting to feel a little like VB6
again.

Jim Hubbard

"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:D5******** *************** ***********@mic rosoft.com...
Hi - can anyone tell me how much different VB.net is different from VB6?
I'm
thinking of transitioning but would like to know more about its
capabilities,
ease of transition, etc.

Any opinions would be greatly appreciated!

Thanks -

Dan

Dec 5 '05 #3
Dan
Michel - thanks a lot for that information! Not sure what you mean by
"distributi on of the framework"... Is creating an executable or install
package more cumbersome than VB6?
Dan

"m.posseth" wrote:
Hello Dan

Well i am a VS6 and VS.Net coder ( i use both for my work ) VB.Net is
fully object oriented and is in a lot of ways totally different as VB6 ,
you have to think more in OOP style while VB6 was more forgiving VB.Net is
much more strict .

However i believe that with the correct book specially targetted to
programmers switching from VB6 to VB.Net like the Core reference guide
from Francesco Balena "Programmin g Microsoft Visual basic .Net" ( note that
the 2005 edition will be availlable in mid january 2006 ) you feel
yourself at home within a few weeks , and never want to switch back in a few
months

VB.Net is now as powerfull as all the rest of the Visual studio languages ,
if you can overcome the distribution of the framework with your app , You
have a far more superior development environment as with VS 6

regards

Michel Posseth [MCP]

"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:D5******** *************** ***********@mic rosoft.com...
Hi - can anyone tell me how much different VB.net is different from VB6?
I'm
thinking of transitioning but would like to know more about its
capabilities,
ease of transition, etc.

Any opinions would be greatly appreciated!

Thanks -

Dan


Dec 5 '05 #4
> Michel - thanks a lot for that information! Not sure what you mean by
"distributi on of the framework"... Is creating an executable or install
package more cumbersome than VB6?
LOTS. I really miss the old Package & Deployment Wizard.

In the .NET world, you create a "setup project" which has its own bizarre
set of designers.

"Distributi on of the Framework" means having to distribute the .NET
Framework with your application. This is similar to how many C++
applications required the MFC dll's, or how "classic" VB required
msvbvm60.dll / msvbvm50.dll / vbrun40032.dll / vbrun40016.dll / vbrun300.dll
etc.

The pain is that in the .NET world, your users may already have the
framework installed by the OS (XP / 2003) or not (Windows 98 / 2000) or if
they're running say, Windows 2000, and some other application has already
installed the .NET Framework, the version of the Framework that your app
needs might be a different version.

Plus, the classic VB runtime DLL's are just a couple megs, but the .NET
Framework is about 20 Megs.
--
Peace & happy computing,

Mike Labosh, MCSD

"When you kill a man, you're a murderer.
Kill many, and you're a conqueror.
Kill them all and you're a god." -- Dave Mustane
"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:6A******** *************** ***********@mic rosoft.com...

Dan

"m.posseth" wrote:
Hello Dan

Well i am a VS6 and VS.Net coder ( i use both for my work ) VB.Net is
fully object oriented and is in a lot of ways totally different as VB6
,
you have to think more in OOP style while VB6 was more forgiving VB.Net
is
much more strict .

However i believe that with the correct book specially targetted to
programmers switching from VB6 to VB.Net like the Core reference guide
from Francesco Balena "Programmin g Microsoft Visual basic .Net" ( note
that
the 2005 edition will be availlable in mid january 2006 ) you feel
yourself at home within a few weeks , and never want to switch back in a
few
months

VB.Net is now as powerfull as all the rest of the Visual studio languages
,
if you can overcome the distribution of the framework with your app , You
have a far more superior development environment as with VS 6

regards

Michel Posseth [MCP]

"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:D5******** *************** ***********@mic rosoft.com...
> Hi - can anyone tell me how much different VB.net is different from
> VB6?
> I'm
> thinking of transitioning but would like to know more about its
> capabilities,
> ease of transition, etc.
>
> Any opinions would be greatly appreciated!
>
> Thanks -
>
> Dan


Dec 5 '05 #5
Dan,
As Mike suggests a .NET application requires the .NET Framework installed.
However this is a one time install (per version), once the Framework is
installed for one app, its installed for all apps. As more & more developers
create .NET apps, the framework is going to be installed on more & more
machines, thus increasing the chance that it will already be installed...

Luckily .NET was designed with side-by-side in mind, which means you can
have multiple versions of the Framework installed at one time. Each
respective app will use their respective version of the Framework. .NET was
also designed with a certain amount of compatibility across versions.

http://msdn.microsoft.com/library/de...ecutiontop.asp
..NET 2.0 will run most .NET 1.1 & 1.0 applications without any problems.

http://msdn2.microsoft.com/en-us/library/ms228009.aspx

In fact most .NET 1.0 & 1.1 apps will/should run under the .NET 2.0 64-bit
edition!

http://blogs.msdn.com/joshwil/archiv...06/415191.aspx

However due to meta file changes (Generics & such) .NET 1.0 & 1.1 cannot run
..NET 2.0 assemblies.
With appropriate lines you your app.config/web.config you can have .NET 1.0
run most .NET 1.1 applications. While .NET 1.1 will run most .NET 1.0
applications without change.

The general problem with running an app on different versions of the
framework are the "Breaking changes".

By .NET application I mean which version of the framework the program was
compiled against. VS 2002 compiles against .NET 1.0, VS 2003 is .NET 1.1,
while VS 2005 is .NET 2.0.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Dan" <Da*@discussion s.microsoft.com > wrote in message
news:6A******** *************** ***********@mic rosoft.com...
| Michel - thanks a lot for that information! Not sure what you mean by
| "distributi on of the framework"... Is creating an executable or install
| package more cumbersome than VB6?
|
|
| Dan
|
|
|
| "m.posseth" wrote:
|
| > Hello Dan
| >
| > Well i am a VS6 and VS.Net coder ( i use both for my work ) VB.Net is
| > fully object oriented and is in a lot of ways totally different as VB6
,
| > you have to think more in OOP style while VB6 was more forgiving VB.Net
is
| > much more strict .
| >
| > However i believe that with the correct book specially targetted to
| > programmers switching from VB6 to VB.Net like the Core reference guide
| > from Francesco Balena "Programmin g Microsoft Visual basic .Net" ( note
that
| > the 2005 edition will be availlable in mid january 2006 ) you feel
| > yourself at home within a few weeks , and never want to switch back in a
few
| > months
| >
| > VB.Net is now as powerfull as all the rest of the Visual studio
languages ,
| > if you can overcome the distribution of the framework with your app ,
You
| > have a far more superior development environment as with VS 6
| >
| > regards
| >
| > Michel Posseth [MCP]
| >
| >
| >
| > "Dan" <Da*@discussion s.microsoft.com > wrote in message
| > news:D5******** *************** ***********@mic rosoft.com...
| > > Hi - can anyone tell me how much different VB.net is different from
VB6?
| > > I'm
| > > thinking of transitioning but would like to know more about its
| > > capabilities,
| > > ease of transition, etc.
| > >
| > > Any opinions would be greatly appreciated!
| > >
| > > Thanks -
| > >
| > > Dan
| >
| >
| >
Dec 5 '05 #6
Dan,
Michel - thanks a lot for that information! Not sure what you mean by
"distributi on of the framework"... Is creating an executable or install
package more cumbersome than VB6?

It is not as simple as the VB6 setup
However less difficult as more advanced deployment packages.
What you can do with is in the same order.

The advance is that often the resulting msi file is very small.

This because that the main part is already in the .Net framework that only
needs to be installed one time.

The .Net framework is a standard layer on the OS. A user has only to install
the latest version of the framework (the same as with a servicepack) it is
backwards compatible. (Not the developments parts, those are version
related).

VB6 has the same kind of code as VBNet, however for the rest is comparing
VB6 with VBNet almost the same as comparing a bicycle with a car.

I hope this gives an idea

Cor
Dec 5 '05 #7
"Dan" <Da*@discussion s.microsoft.com > schrieb:
Hi - can anyone tell me how much different VB.net is different from VB6?
I'm
thinking of transitioning but would like to know more about its
capabilities,
ease of transition, etc.


In addition to the other replies, you may find the following resources
useful when migrating:

Upgrading Visual Basic 6.0 Applications to Visual Basic .NET and Visual
Basic 2005
<URL:http://msdn.microsoft. com/library/en-us/dnpag2/html/VB6ToVBNetUpgra de.asp>

Micrososoft Visual Basic Code Advisor
<URL:http://msdn.microsoft. com/library/en-us/dnvb600/html/vb6_FixItRuleTo ol.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Dec 5 '05 #8
And than in addition to Herfried again,

http://www.vb-tips.com/default.aspx?...5-e16db864a414

I hope this helps,

Cor
Dec 5 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1923
by: Neil | last post by:
Folks, I've got a problem at work, and I'm hoping that someone out there may have had something similar (although I doubt it!) or may be able to offer some advice. I'm in the process of designing a system that interacts with a third party external firm. Basically, they will send us an XML document (the quote request) via SOAP that contains a load of info with all the information required to make an insurance quote. Our company will do
16
4225
by: Geoff Cox | last post by:
Hello, I publish some web pages using large fonts and would like to give the user the opportunity to print the pages using a smaller font. I believe that this is possible using different style sheets? I am not clear how the user would select the different .css files? Seems to be easier than having duplicate html files ...
1
439
by: Avanish Pandey | last post by:
Hello All We have 3 differen services (in 3 different server) Service A,B,C . We want to implement distributed transaction when call methods of B and C from A. Is it possible? if yes then how? I have read the doc regarding this: http://www.developer.com/net/asp/article.php/3385631 but it will not work when methods are in different services on
5
3917
by: Hendrik Schober | last post by:
Hi, we just run into the problem, that "default" alignment in the project properies dialog seem to be different. We have a project that's a DLL, which is linked with a couple of LIBs. All are with the same solution. All had "Default" set in the "Struct Member Alignment" entry. After some assembler debugging we found out that a struct member that is a member function pointer in
3
2951
by: asanford | last post by:
I want to create an ASP.NET web application that receives a form POST message, inspects the data, and reroutes the request to one of many different servers. I wrote an IHttpModule which successfully used HttpContext.RewritePath() to send a request to different pages in one web application, but it gives me an error when I try to rewrite a path to a different web app or server. Does RewritePath() not support this? I can reroute by...
27
2692
by: Ben Finney | last post by:
Antoon Pardon wrote: > I just downloaded your enum module for python > and played a bit with it. IMO some of the behaviour makes it less > usefull. Feedback is appreciated. I'm hoping to provide a "one obvious way" to do enumerations in Python. > >>> from enum import Enum > >>> day = Enum('mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun')
4
3374
by: cantatahost | last post by:
Hello, Likely this has been asked before... We have a library (in DLL form) that we distribute. The interface to the library is all C, but within the library it uses C++ in many places. Traditionally we've built our library with VC 6. We are considering moving to VS .NET 2003 or VS 2005. However, we'd like to retain the ability to link applications with the library when the application is still built with VC 6.
3
2504
by: Ryan Liu | last post by:
Hi, I have a big urgent problem to solve. I used to use Windows 2000 Chinese version, now I installed Windows XP (English) system. The problem is not about 2000 or XP, it is about English and Chinese. All forms of my compiled C# desktop application, as well as in Visual Studio
16
2188
by: Stefano Sabatini | last post by:
Hi all, I'm facing this design problem. I have a table which defines the behaviour of an Object in a given state according to the type of event it is receiving. So for each couple event,state I want I set in the table a different handler.
5
2547
by: Christopher Brewster | last post by:
I am running the same script on the same data on two different machines (the folder is synchronised with Dropbox). I get two different results. All the script does is count words in different files and perform a simple set operation on the word lists. The laptop is a Macbook Pro (2 1/2 years old) running OS X 10.5.5 with Python 2.5.1 The desktop is an iMac (brand new) running OS X 10.5.5 also with Python 2.5.1 I have tried running the...
0
9916
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9762
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11056
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10782
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9531
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7093
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5761
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4174
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3201
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.