|
hi
does my application developed on .net 2.0 will work
on .net 1.1 framework, is downward compatibility
maintained by .net
|
|
|
|
|
|
The .NET framework applications can be run on computers that have newer .NET frameworks than what the application was compiled on, but .NET applications are not downgradable. .NET 2.0 applications will not work with .NET 1.1 systems. Visual Studio 2003 can target .NET 1.0 and .NET 1.1 applications, and I believe Visual Studio 'Orcas' will be able to target .NET frameworks 3.5, 3.0,2.0,1.1,1.0 but I could be mistaken.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
It all depends on what you're doing and what methods/namespaces you are using. Sometimes an app written in .NET 2.0 will run on 1.1, and sometimes it won't. When you're using the VS Help file or MSDN, it will say what's compatible with what version of .NET.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Backward compatibility would be if 2.0 could run a 1.1 application, which it can. How on earth could the 1.1 Framework predict what it's going to need to run the more advanced features of the 2.0 Framework?? I can't!
|
|
|
|
|
|
Hello,
I have an application built with Framework1.1.
1. Will my application work in a machine where only 2.0 is present?
2. what are the steps i must do in order to make my 1.1 application work
with 2.0?
Thanks!
|
|
|
|
|
That all depends on how the applicaiton was written. If you haven't used anything that has been depricated from 1.1 to 2.0, which is very likely, it should be fine.
only two letters away from being an asset
|
|
|
|
|
Will my application work in a machine where only 2.0 is present?
No
what are the steps i must do in order to make my 1.1 application work
with 2.0?
Use 2.0 to compile the code
My recommendation:
Install the 1.1 framework along side the 2.0 framework. They won't interfere with each other. All 1.1 apps need the 1.1 framework. 2.0 apps will run on the 2.0 framework.
-- modified at 11:33 Thursday 24th May, 2007
topcoderjax - Remember, Google is your friend.
|
|
|
|
|
What if the application uses MFC6 or MFC (compiled and built at VS 2003)? Will I get any errors?
|
|
|
|
|
I assume this is c++, which is something I don't work with. That being the case however, I think the question you've been trying unsucessfully to ask would go something like:
"If I compile a c++ application in VS 2003(1.1 framework) and the application uses MFC6 and MFC but doesn't reference the framework, do I need the 1.1 framework installed on the PC that I deploy the application on?"
Edit the question if necessary and repost it. You might be more likely to get an answer if you post it to the C++/CLI or Visual C++ forum, but I'm not certain what the difference between the two is as I code in C#.
Or you could just try it and find out. Then if you got an error you could deploy the framework.
topcoderjax - Remember, Google is your friend.
|
|
|
|
|
.NET is completely irrelevant to MFC. If you write an MFC app, the MFC library you linked to will need to be present. If you compile a MFC6 app in VS2003, you will need MFC 7.1, because that's how it was built. And again, .NET is irrelevant, unless you wrote managed code also.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
In the control panel applet for Regional and Language Options, under Regional Options, in the Cusomize... dialog, Numbers tab, there is an option for Display Leading Zeros.
In Win32 this is equivalent to the Information Type of LOCALE_ILZERO for the GetLocaleInfo/SetLocalInfo functions.
In dotnet the equivalent class is the System.Globalization.CultureInfo class with its NumberFormat property of type NumberFormatInfo as the class representing numeric cultural information.
Yet I can find no equivalent property in NumberFormatInfo for getting or setting the Display Leading Zeros bool value for decimal numbers
for a given culture.
Was this erroneously left out of the dotnet CultureInfo class structure, or is it someplace else where I have not found it ? If it is someplace else I would appreciate someone pointing it out to me where it is.
Obviously I can call the WIN32 API GetLocaleInfo/SetLocalInfo to get this value for a particular culture, but I would prefer not to and use the dotnet framework if it exists there.
Edward Diener
|
|
|
|
|
does anyone know which program should I use to partitionate a Hard Disk with Microsoft Windows 2003 Server?????
I have already tried it with the partition magic 8.1 but it gives me an error: "Not possible to execute in Windows 2003 .Net server"
The biggest problem is that we mustn't loose the contents of the disk, so the usual ways are not possible. But with the tools "on the fly" that I have, it is not possible.
Any help, advise or tip will be wellcome.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
Which is the best iterator:
1. For loop
2. For each
3. IEnumerator
Regards
|
|
|
|
|
blumenhause wrote: Which is the best iterator
What is it being used for?
|
|
|
|
|
Does the performance depend on what it is being used for, because I saw some articles here informing that IEnumerator is the slowest. I wanted to know which one is fastest so that I can implement that method here on in my coding(C#).
Regards,
Blumen
|
|
|
|
|
There's a real difference between working which is slowest, and any of them being *slow* in the real world. If IEnumerator is slowest ( and I thought it probably would be ), then choose from the other two, which, as I said, are the same thing. But, don't avoid IEnumerator. Write some code and see if you can spot a speed difference
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I couldn't spot any difference.
|
|
|
|
|
foreach is just a for loop, the compiler inserts the for loop in place of your code. I don't see how any of them are going to have any significant differences.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I just wanted to know which of those are faster so that I can implement in my coding.
Regards,
Blumen
|
|
|
|
|
Like I said, I doubt any of them are. foreach and a for loop are the *same* thing. Choose based on what suits your needs at the time, speed is never going to be an issue between them
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: foreach is just a for loop, the compiler inserts the for loop in place of your code
You are wrong here. foreach only works on IEnumerable and is using an IEnumerator internally.
Robert
|
|
|
|
|
Really ? OK. I knew it was just syntactic sugar, but apparently I got the details wrong. Thanks for the heads up.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
For You :
For Loop is the best option
Develop2Program & Program2Develop
|
|
|
|