Re: VB.NET 2008 not backward compatable?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Mike Williams" <Mike@xxxxxxxxxxxxxxxxx> schrieb:
I also believed that if a computer had any .NET framework, my
code would run on it as it would be backward compatable. Boy
am I naive. I sent someone an .exe who has .NET framework
1.1 and it wouldn't launch, saying "v2.0.5072" was required.

You would be better off ditching Micro$oft altogether. They love doing this kind of stuff to people. Just ditch them and ditch Vb.Net and go somewhere else for your programming tools.

Sorry, but that's nonsense. It's pretty clear that applications compiled against a *newer* version of a library won't work with older versions. Almost any .NET 2.0 application makes use of features which are not present in older versions of the .NET Framework. (Sure, there are differences in the CLR which prevent execution of .NET 2.0+-based assemblies on the .NET 1.* CLR.)

VB6-based applications didn't run on the VB5 runtime libraries too. But there is one significant difference: .NET 1.1-based applications will run on newer versions of the CLR, whereas an application developed using VB5 won't run on a system which provides the VB6 runtime files only.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

.



Relevant Pages

  • Re: Quick Question
    ... The code syntax, and even apparently the same compiler is shared between the ... visual basic have a different forms object model. ... significant difference in the use of the two languages because you're ... much of the applications are built around the forms model, ...
    (comp.databases.ms-access)
  • Re: .NET Compatibility
    ... The problem apparently lies with changes to an xml class. ... applications developed with BCL 1.0 and 1.1 so that we use the same ... clr version as when the software was original development and tested. ... If you are again sure that the applications you've developed will not need to undergo major maintenance or require new features any time soon, you may as well fix the runtime now. ...
    (microsoft.public.dotnet.framework)
  • Re: Ext4 and the "30 second window of death"
    ... significant difference to battery lift to leave it on, ... If some KDE applications needs to rewrite hundreds of files at desktop ... do at the filesystem level is really going to be at the margins. ... I will be the first to admit that filesystem designers ...
    (Linux-Kernel)
  • Re: Application Domains
    ... > I agree that this is how the CLR handles application domains since they act ... Although, at current date, applications still ... > But as you say Jon, if we want, we can start a second appdomain in our ... likely to be limited by physical memory than virtual memory though. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Gartner: Everything in Vista is based on .Net, ... ;)
    ... Hosting the CLR was a no-brainer. ... sense to rewrite SQL Server in .NET. ... that windows forms applications may never truly catch in. ...
    (borland.public.delphi.non-technical)