Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Stephens' Visual Basic Programming 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' Visual Basic Programming 24-Hour Trainer by Rod Stephens; ISBN: 978-0-470-94335-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' Visual Basic Programming 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2011, 10:27 AM
Authorized User
Points: 90, Level: 1
Points: 90, Level: 1 Points: 90, Level: 1 Points: 90, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Default Which .NET version for what?

Being a late comer to .NET I was wondering if there is a simple set of rules to follow when choosing which .NET framework to use on a project in VS 2010 VB. There are:

.NET 1.1
.NET 2.0
.NET 3.0
.NET 3.5
.NET 4.0
.NET 4.5 (for new 2012 version)

Why would one use an older version? For an older OS? Is it best to just use 4.0 and stick to that? Or are the older releases plenty powerful with less overhead and still used a lot? Just trying to understand and get off to a good start.
Thanks,
DB
 
Old December 13th, 2011, 10:43 AM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I would just use the latest version. I suppose you could use an older version if you had previously built a program using it and didn't want to make your users install a newer version, but mostly they're backwards compatible so most programs should work with newer versions of the Framework.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old December 13th, 2011, 10:47 AM
Authorized User
Points: 90, Level: 1
Points: 90, Level: 1 Points: 90, Level: 1 Points: 90, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Is there a setting for 64 vs 32 bit OS's or does .NET 4.0 cover both?
Thanks,
DB
 
Old December 13th, 2011, 01:18 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

To find this:
  • Open the Project menu and select Properties (at the bottom).
  • Click the Build tab.
  • Set the Platform Target to Any CPU, x86, or x64.

I haven't tried running applications built on one platform on a different platform but I think the "Any CPU" setting should work on both.

Visual Basic programs are compiled into IL (Intermediate Language) not into native machine instructions so they can be executed on any machine that has the .NET Framework installed. So at that level it shouldn't matter.

When the program runs, the JIT (Just In Time) compiler converts the IL into native code as it runs so then it needs to be 32-bit or 64-bit, but that's the job of the Framework version installed on the target computer so it doesn't really matter to you.

To summarize, I would just select "Any CPU" and not worry about it.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old December 13th, 2011, 01:39 PM
Authorized User
Points: 90, Level: 1
Points: 90, Level: 1 Points: 90, Level: 1 Points: 90, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Ok thanks. Just getting familiar with this IDE. Its actually not too bad after all.
Thanks,
DB
 
Old December 13th, 2011, 01:50 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

It's actually pretty good once you get used to it. At least if you have a fairly fast computer with lots of memory.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old December 13th, 2011, 04:12 PM
Authorized User
Points: 90, Level: 1
Points: 90, Level: 1 Points: 90, Level: 1 Points: 90, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Good for me. I had to build a new rig to play Battlefield 3 so I am good. I didn't get too carried away but I have my first SSD, 16GB of DDR3, and a P8Z68 with an i7-2600k. I skimped a little on the video card and just got a GTX 570 Classified. Works for me.
DB

Quote:
Originally Posted by Rod Stephens View Post
It's actually pretty good once you get used to it. At least if you have a fairly fast computer with lots of memory.




Similar Threads
Thread Thread Starter Forum Replies Last Post
VS .NET has detected...not running ASP.NET version rstelma ASP.NET 1.0 and 1.1 Professional 17 May 24th, 2008 04:04 AM
.net and IIS version badgolfer ASP.NET 1.0 and 1.1 Basics 1 February 4th, 2005 09:35 AM
oracle version for vb.net meenachi VB.NET 2002/2003 Basics 0 November 3rd, 2004 01:34 AM
ASP.NET Version rajivthakur BOOK: Beginning ASP.NET 1.0 2 August 18th, 2004 07:27 AM
ASP.NET Website Programming VB.NET version lean4huskytop Wrox Book Feedback 1 July 7th, 2003 10:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.