VB6 or VB.NET ?

Hi,

I am going to develop a program by using VB. After the program is built up, it will be distributed through the Internet. So I want to keep the size of the whole program as SMALL as possible.

As I know, programs developed by VB.NET need a large library in addition to your program, so the resulting installation program will be very large. Is it true ?

I should choose VB6 or VB.NET as my development tools ?
My program will be run on Windows 9x/NT/ME/2000/XP.

Actually, what are the major advantages of VB.NET ?


Raymond
RaymondAsked:
Who is Participating?
 
ShaneCourtrilleCommented:
Once again you have to remember Microsoft is pushing the framework anyway it can.  It's on Windows Update now, and will be included in all future service packs.  Microsoft wants this thing to get everywhere.  Plus it's just like when VB6 first came out.  You needed to have the VB6 runtimes.  Personally I'm willing to tell my users they'll need to download this .Net framework (which of course will let them run ANY .Net program so it only ever has to be done once) to use my program.. but then again the stuff I write is mostly specialized commercial so we can put any restrictions we want.
0
 
rspahitzCommented:
I haven't used .NET yet, but based on readings and industry expectations, here's my opinion:

1) Old projects should not be upgraded to .NET yet (if ever.)
2) If you are familiar with .NET, use it.
3) If you are not familiar with .NET and the project is small, VB6 is probably the way to go, although this may be a good time to learn .NET
4) Microsoft has been pushing .NET to the point where it will inevtiably become the defacto standard of their development line, and any development on older products will quickly become obsolete: why build something with an obsolete tool if you will have to upgrade it anyway in  the near future.
0
 
rkot2000Commented:
runtime for .Net(framework) ~ 10~20 Mb, it may sound really big but if you have ado with vb6
ado ~ 7MB
vb6 Runtime ~ 1.5M
~8.5 Mb

we are developing with .net.

in your case since you need to run on  9x/NT/ME/2000/XP
with .net you avoid dll hell. :)

Mircosoft is planning to add .net runtime(framework) to the XP os.


0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
RaymondAuthor Commented:
rkot2000:

What this statement means ? Please explain a little bit more to me.
"in your case since you need to run on  9x/NT/ME/2000/XP
with .net you avoid dll hell."

Thanx !!!
0
 
Ashen_69Commented:
.net will allow you to build object oriented applications with inheritance as well as polymorphism.  This is reason enough to choose .net but on the other hand if you are not familiar with .net you will find that it is almost an entirely different language than vb6.  If your app is going to be distributed over the internet but not run on or over the net then you should probably use VB6 as the setup cabs will be significantly smaller.
0
 
ShaneCourtrilleCommented:
1. .Net dosen't support Windows 95
2. The library which is required is called the .Net framework and is now available from the Windows Update.  Microsoft is doing there best to make sure the framework gets out there so that developers won't have to decide whether or not to do a .net vs vb6 based on whether or not the framework isn't out there.
3. Personally I intend to do ALL new development in .Net.  Sure it causes the end user a lil extra grief if they need to download the framework but as a developer .Net saves me ALOT of time and grief.  Plus if its an internet app you could write it so that it gets pieces as it needs them right off of the web.  
4. There are ALOT of changes in .Net so expect to take some time based relearning things.  It is NOT VB7.. but it's well worth the time/effort required...
0
 
RaymondAuthor Commented:
so if my program is a Internet Application, what benefits can .NET bring to me ?

0
 
rkot2000Commented:
3D- easy to develop,debug and deploy. :)
0
 
ShaneCourtrilleCommented:
In .Net your program will be distributed in what are called assemblies.  In VB.Net an assembly can be either a single DLL or a single EXE.  Your program can be coded/distributed so that assemblies are only downloaded as needed.  You also have access to things such as WebServices which your program can communicate with (an example of usage could be checking a license key..)

The question really comes down to

Do you want to learn .Net?  For myself this is a definite Yes.. the .Net development environment is much improved and the things you have access to are great.

Do you have the time to learn .Net right now?  This totally depends on when your project is do.  To do it right in .Net will add a significant amount of time to your timeline.
0
 
RaymondAuthor Commented:
I want to learn .NET too. But my concern is the large size of .NET framwork, users never like to download a large size of installation file.
0
 
ShaneCourtrilleCommented:
Once again you have to remember Microsoft is pushing the framework anyway it can.  It's on Windows Update now, and will be included in all future service packs.  Microsoft wants this thing to get everywhere.  Plus it's just like when VB6 first came out.  You needed to have the VB6 runtimes.  Personally I'm willing to tell my users they'll need to download this .Net framework (which of course will let them run ANY .Net program so it only ever has to be done once) to use my program.. but then again the stuff I write is mostly specialized commercial so we can put any restrictions we want.
0
 
RaymondAuthor Commented:
ShaneCourtrille:

Do you know that how many percentage of users have already installed .NET framework now ? Any statistics ?
0
 
rspahitzCommented:
Just a guess based on questions I've seen here in EE: 15-25% so far.

Based on talking with friends: 5%

However, these are very preliminary stats, and within a year I think they will be at about 50%.
0
 
RaymondAuthor Commented:
Thank You.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.