Solved

Can an older .NET program utilize a newer .NET Framework?

Posted on 2013-05-16
4
383 Views
Last Modified: 2013-06-17
I'm experimenting with an install of a product called the Pedestrian and Bicycle Crash Analysis Tool (PBCAT). PBCAT appears to be an older .NET WinForm product. I found some older literature that indicates that PBCAT v2.0 is based on .NET Framework 1.1. I was able to successfully install PBCAT on my laptop without an additional .NET Framework install despite the fact that I don't have .NET Framework 1.1 installed on my laptop. I do, however have versions 2.0, 3.5, and 4.0 installed. Is the PBCAT program able to utilize a newer version of the .NET Framework? In other words, do newer versions of .NET Framework contain all the elements of the older versions to allow for backward compatibility? Or, is the literature I'm reading simply old?

Here's a secondary question, is it possible to determine which version of the .NET Framework PBCAT is pulling from if I'm not the PBCAT developer?
0
Comment
Question by:jdana
  • 2
4 Comments
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 223 total points
ID: 39172441
In many - maybe most - cases, yes.  There were some syntactic changes between a few versions - some commands were deprecated or changed.  You may need to make some tweaks, but otherwise you're probably okay.
0
 
LVL 25

Accepted Solution

by:
Ron Malmstead earned 112 total points
ID: 39172483
When developing in .net, I notice I sometimes use deprecated functions/syntax, and Visual Studio will flag it as a "warning".  After compile, the program still works as expected... so my answer would be yes.  .net has backward compatibilty.   Usually when you install a .net program, you'll see system requirements.. such as .. ".Net version XX or later".

I think an exception would be, if a function is not only deprecated, but "removed" from a future release.. though I can't think of an example off the top of my head.
0
 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 223 total points
ID: 39172689
I can't think of a removed command either, but I know they exist because I've run into them.
0
 

Author Closing Comment

by:jdana
ID: 39253248
Terrific answers, thanks to all three of you.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question