Go Back  Xtreme Visual Basic Talk > General Discussion > Tech Discussions > VB6 vs VB.NET


Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2004, 06:43 AM
geo1st487's Avatar
geo1st487 geo1st487 is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 328
Default VB6 vs VB.NET


C++ has more OOP in it than VB6, but VB6 also has a much smaller learning curve. Also, VB6 can develop applications with much faster development time, than many other languages. Now VB.NET is equal to C++ as OOP but I think that VB6 can develop applications with much faster development time, than VB.NET. Is true that?
I know that VB.NET can make more things from VB6 but if compare the same code between VB6 and VB.NET i see that VB6 code is smaller than VB.NET code. Also VB.NET is more complex than VB6.
Thanks
Reply With Quote
  #2  
Old 01-31-2004, 07:37 AM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 01-31-2004, 07:47 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

Vb.Net is much faster as far as application development time.
Reply With Quote
  #4  
Old 01-31-2004, 08:13 AM
geo1st487's Avatar
geo1st487 geo1st487 is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 328
Default

Quote:
Originally Posted by reboot
Vb.Net is much faster as far as application development time.



Reboot, look the below example codes for understand which is easiest and faster as far as application development time


Code:
' VB6 code Dim x As Long Randomize Timer x = Int(Rnd*9)

Code:
' VB.NET code Dim RandomNumber As System.Random RandomNumber = New Random(System.DateTime.Now.Millisecond) RandomNumber.Next(0, 8)
Reply With Quote
  #5  
Old 01-31-2004, 08:33 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

That means absolutely nothing. You can hardly compare the need to type extra characters to do a particular thing to the actual "development" of a large application. The introduction of Inheritance to VB alone is a major gain in development time.
Reply With Quote
  #6  
Old 01-31-2004, 09:54 AM
geo1st487's Avatar
geo1st487 geo1st487 is offline
Junior Contributor
 
Join Date: Oct 2002
Posts: 328
Default

Quote:
Originally Posted by reboot
That means absolutely nothing. You can hardly compare the need to type extra characters to do a particular thing to the actual "development" of a large application. The introduction of Inheritance to VB alone is a major gain in development time.



For make little functions means many. And this is only one example. Also exist many other examples that it show vb6 is easiest and faster as far as application development time.
How the below code can do a particular thing to the actual "development" of a large application? If can't, the additional characters do not have meaning.

thanks


Code:
Dim RandomNumber As System.Random RandomNumber = New Random(System.DateTime.Now.Millisecond) RandomNumber.Next(0, 8)
Reply With Quote
  #7  
Old 01-31-2004, 10:57 AM
reboot's Avatar
reboot reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,612
Default

Obviously I'm talking about commercial software and you're talking about AOL punters... *shrug*
Reply With Quote
  #8  
Old 01-31-2004, 11:18 AM
HiTmAN's Avatar
HiTmAN HiTmAN is offline
Contributor
 
Join Date: Mar 2003
Location: The FSB
Posts: 570
Default

Never judge a book by its cover.

Although the syntax may be more complicated, .NET is a much more flexible and powerful language, with many of the features that VB6 should have but didn't come with.

Shame that the compiler is slow
__________________
MSDN is your friend.

3L Designs
Reply With Quote
  #9  
Old 01-31-2004, 01:11 PM
TANKERx TANKERx is offline
Newcomer
 
Join Date: Jan 2004
Location: Cwmtwrch, South Wales
Posts: 9
Default

As someone who has only recently moved from VB6 to VB.Net (and still struggling with some basic concepts - excuse the pun), I do feel that while VB.Net is 'harder', it does tie me into more structured and disciplined coding, it makes me think more about what I want to do and what is the best way to go about it.
Reply With Quote
  #10  
Old 01-31-2004, 09:28 PM
dan_'s Avatar
dan_ dan_ is offline
Centurion
 
Join Date: Sep 2003
Location: Aussie Computer
Posts: 151
Default

what exactly is vb.net?
__________________
Digg.com member
Reply With Quote
  #11  
Old 01-31-2004, 09:37 PM
anon anon is offline
Senior Contributor

Retired Leader
* Expert *
 
Join Date: Dec 2003
Location: Offline
Posts: 861
Default VB6 vs VB.Net

Quote:
Originally Posted by dan_
what exactly is vb.net?


You must have missed Reboot's "Sticky" thread (" What is the difference between legacy VB and VB.Net?") at the top of the Random Thoughts Forum page. Here's the link:

http://www.xtremevbtalk.com/t134402.html

Basically it's the next version of VB after VB6 that integrates VB into the Microsoft "Net" framework...


And just to add my $0.02 - It would have been nice if Microsoft had provided a better set of migration tools/wizards or maybe had an interim version like VB6.5 that sort of was a "bridge" version that would have introduced some of the .Net framework and still be able to develop under the "legacy" Win O/S of Win98SE...But I know this has happened before when so much VB3 code had to be rewritten (or abandoned) in the upgrade to VB4. There was a lack of smooth migration tools then also...

Last edited by anon; 01-31-2004 at 09:48 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open VB.NET 2002 project within VB.NET 2003 geo1st487 .NET General 2 01-10-2004 04:13 PM
VB.Net Office Integration FAQ Mike Rosenblum .NET Office Automation 2 12-19-2003 12:17 PM
VB.Net Conversion of BMP to AVI FirebirdGuy Interface and Graphics 1 08-21-2003 02:15 PM
What's the future hold for VB? Ashington Sid Tech Discussions 18 06-04-2002 12:20 PM
A VB6 to VB.NET conversion sample Helmar General 0 11-14-2001 05:27 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->