The Straight Dope

Go Back   Straight Dope Message Board > Main > In My Humble Opinion (IMHO)

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2004, 01:45 PM
Hermitian Hermitian is offline
Guest
 
Join Date: Jan 2004
Visual Studio 6 Pro Vs. .NET 2003? What is the difference?

My computer science department is offering both Microsoft Visual Studio 6 Pro and Visual Studio .NET 2003 to its students through Microsoft's MSDN program.

What is the difference? Is 6 pro older?

I don't know much about all of the .NET stuff, should I go with 6 Pro for simplicity?

Thanks.
Reply With Quote
Advertisements  
  #2  
Old 12-03-2004, 01:54 PM
Ponder Stibbons Ponder Stibbons is offline
Guest
 
Join Date: Jun 2003
Yea, the .NET 2003 edition is the newer edition, essentially "Version 7", but they didn't want to call it that.
Reply With Quote
  #3  
Old 12-03-2004, 01:57 PM
Ponder Stibbons Ponder Stibbons is offline
Guest
 
Join Date: Jun 2003
My "About Box" specifically lists it as version 7.1.3088, FWIW.

I'd get the newer version, myself. You can still do non-.NET development in it.
Reply With Quote
  #4  
Old 12-03-2004, 01:58 PM
ultrafilter ultrafilter is offline
Guest
 
Join Date: May 2001
.net 2003 is the next version and, IMO, much easier to use. I'm going back to 6.0 to work on something these days, and I'm really amazed that I was ever able to get anything done in it.
Reply With Quote
  #5  
Old 12-03-2004, 04:53 PM
dasgupta dasgupta is offline
Guest
 
Join Date: Apr 2003
If you're doing it for a class, get whatever the instructor/professor wants as there ARE differences in the language itself. Off the top of my head, a big one is font stuff...

VB6

Code:
Private Sub cmdButton_Click()  ' Make the font of a text box bold
     txtBox.Font.Bold = True
End Sub
VB .NET/.NET 2003

Code:
Private Sub cmdButton_Click()  ' Same thing...
     txtBox.SelectionFont = new font(txtBox.SelectionFont, FontStyle.Bold)
End Sub
It can be done either way, but if your books and notes have it one way and your programs are bugging, that could be why. Also, if you turn in assignments done with one version, they might not work natively with the prof's version.
Reply With Quote
  #6  
Old 12-03-2004, 04:55 PM
dasgupta dasgupta is offline
Guest
 
Join Date: Apr 2003
Er, that of course would be in the Visual Basic component of Visual Studio.

But it still holds true for C++, and C# doesn't even exist in version 6. So if this is for a class, get whatever is suggested.
Reply With Quote
  #7  
Old 12-04-2004, 08:59 AM
LSLGuy LSLGuy is offline
Charter Member
 
Join Date: Sep 2003
Location: St. Louis, MO USA
Posts: 6,155
.NET is a completely differerent object model. Much improved IMO, but utterly different nonetheless.

If it's for a class, I 100% agree that you should get whatever the class & textbook use.

In the commercial world of MS-based software development, .NET is the current leading edge and 100% future direction. v6 is the dying past. If you're intending to earn a buck writing code with MS tools, or against MS OS's, the sooner you embrace .NET, the easier that'll be.
Reply With Quote
  #8  
Old 12-04-2004, 09:22 AM
Capt. Ridley's Shooting Party Capt. Ridley's Shooting Party is offline
Guest
 
Join Date: Jul 2003
VS 6's C++ compiler is vastly inferior to the newer ones from MS. I can't tell you how many times 6's compiler has issued an internal compiler meltdown for me, especially when working with templates.
Reply With Quote
  #9  
Old 12-04-2004, 11:56 AM
enipla enipla is offline
Member
 
Join Date: Jul 2001
Location: Colorado Rockies.
Posts: 7,647
I completely agree with LSLguy.

I THINK .NET allows you to run .exes on UNIX, Linux and Macs if you load the .NET framework first. Someone please tell me if I'm wrong.

But yes, it is the new direction. I have yet to get into .NET and do work in VB6. I use VB6 to build utilites to work against an Informix database. And now, .dlls that work with a GIS programm - ArcMap/ArcView/ArcInfo. I know that I will have to learn .NET soon. It's just the way it is.
Reply With Quote
  #10  
Old 12-04-2004, 11:59 AM
emarkp emarkp is offline
Guest
 
Join Date: Jun 1999
Visual Studio .NET 2003 (yes, version 7.1) is vastly superior to 6 for C++ for two reasons: the C++ implementation is nearly entirely conforming to the C++ standard (version 6 shipped a year or two before the standard was finalized), and the standard library that comes with 7.1 is very good. The 6.0 version was limited because of a lawsuit between the library implementors (Dinkumware, Inc.) and their publisher. The publisher was claiming the copyright.

Also, contrary to objections, VB is pretty much dead. C# is the new VB. And C++/CLI is on the cusp of being the best language for doing .Net programming. The new version (currently in beta IIRC) introduces some new keywords and other improvements. See here for more.

I think version 6 is easier to get started in some ways, but 7.1 has other advantages that more than make up for it.
Reply With Quote
  #11  
Old 12-05-2004, 12:15 AM
Servo Servo is offline
Guest
 
Join Date: Jul 2001
Quote:
Originally Posted by emarkp
Also, contrary to objections, VB is pretty much dead.
I'm showing your post to my manager. I need to write a front-end in ASP.NET for our server management solution and he's insisting I code in VB. Trying to convince him that VB is on its way out is proving harder than I thought it would be.
Reply With Quote
  #12  
Old 12-05-2004, 07:38 AM
Shalmanese Shalmanese is offline
Charter Member
 
Join Date: Feb 2001
Location: San Francisco
Posts: 5,600
The entire point of the .NET initiative was that programmers would not have to be constrained to any one programming language. Any language that conforms to the CLR can be seamlessly inserted into any other language. So this means it's quite easy to write a VB.NET shell thats running a C++.NET backend that occasionally makes function calls to Perl.NET functions when it needs to do some heavy string processing.
Reply With Quote
  #13  
Old 12-05-2004, 12:16 PM
LSLGuy LSLGuy is offline
Charter Member
 
Join Date: Sep 2003
Location: St. Louis, MO USA
Posts: 6,155
Like Shalmanese said. The key to this is that VB is dead. VB.NET is very much alive. They're very different animals.


VB, like FoxPro before it, was an odd-man out in the MS development world. Not really compatible with anything, an island unto itself.

.NET is really all about the object object model and the CLR. Modern langauges are little more than flow-of-control statements and object manipulations. So since VB.NET uses the same object model as C#.NET and C++.NET & Cobol.NET (I'm not kidding) and Perl.NET, etc., there's no reason for VB not to continue for many years.

VB.NET:
Dim MyTextBox as System.Windows.Forms.TextBox
MyTextBox = New System.Windows.Forms.TextBox
MyTextBox.Text = "ABC"

C#.NET
System.Windows.Forms.TextBox MyTextBox;
MyTextBox = System.Windows.Forms.TextBox;
MyTextBox.Text = "ABC";

Not much difference. You code exactly the same interactions against exactly the same OM; the only difference is the language's syntax for declarations, conditionals and loops. BFD.

One of our projects has half the code in VB.NET and the other half in C#.NET. The call stack oftens passes between source languages 6 or 8 times. Doesn't matter a bit. Totally seamless.
Reply With Quote
  #14  
Old 12-05-2004, 01:41 PM
Hermitian Hermitian is offline
Guest
 
Join Date: Jan 2004
Thanks for the replies. I'll probably be getting .NET sometime soon.
Reply With Quote
  #15  
Old 12-06-2004, 02:43 AM
jovan jovan is offline
Guest
 
Join Date: Aug 2001
Just checking in as a hobbyist. I find the VS.NET UI interface vastly improved over VS6.
Reply With Quote
  #16  
Old 12-06-2004, 09:09 AM
Revtim Revtim is online now
Guest
 
Join Date: Mar 1999
I can't think of a single reason to go with the older one, unless it's cheaper.

Am I correct that there's nothing that can be done on the older that cannot be done on the newer?
Reply With Quote
  #17  
Old 12-06-2004, 09:13 AM
dasgupta dasgupta is offline
Guest
 
Join Date: Apr 2003
Quote:
Originally Posted by Revtim
I can't think of a single reason to go with the older one, unless it's cheaper.

Am I correct that there's nothing that can be done on the older that cannot be done on the newer?
Failing the class because your programs written in the newer version don't compile/run in the older version the prof wants seems pretty compelling to me.

If the prof doesn't care or it's not for a class, then yes, go with the newer one.
Reply With Quote
  #18  
Old 12-06-2004, 09:59 AM
Revtim Revtim is online now
Guest
 
Join Date: Mar 1999
What, precisley, is the class? If it's learning C++, then it'd be tough to make a C++ program that runs on one and not the other (assuming the project isn't accidentally created as a .NET project).
Reply With Quote
Reply

Bookmarks

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


All times are GMT -5. The time now is 01:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.