Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / December 2005

Tip: Looking for answers? Try searching our database.

Testing for 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stuart - 14 Dec 2005 21:59 GMT
I have a C# app deployed at a number of sites, that automatically
downloads updates from a web server overnight, and restarts itself.
It's written for .Net 1.1, but I want to switch over to 2.0.  As some of
the users may not have the 2.0 framework installed, I can't deploy the
next version automatically.  Is there a way I can test for 2.0 from my
1.1 app to see if the new version can be installed without user
intervention?

Stuart.
clintonG - 15 Dec 2005 00:53 GMT
This article [1] discusses the System.Environment class and several other
contextual methods.

<%= Clinton Gallagher
        METROmilwaukee (sm) "A Regional Information Service"
        NET csgallagher AT metromilwaukee.com
        URL http://metromilwaukee.com/
        URL http://clintongallagher.metromilwaukee.com/

[1]
http://www.codeguru.com/Csharp/.NET/net_asp/miscellaneous/article.php/c10879/

>I have a C# app deployed at a number of sites, that automatically downloads
>updates from a web server overnight, and restarts itself. It's written for
[quoted text clipped - 4 lines]
>
> Stuart.
SP - 15 Dec 2005 02:17 GMT
> This article [1] discusses the System.Environment class and several other
> contextual methods.
[quoted text clipped - 7 lines]
> [1]
> http://www.codeguru.com/Csharp/.NET/net_asp/miscellaneous/article.php/c10879/

If you develop using 1.1 and the computer has both 1.1 and 2.0 are you
saying that System.Environment will be able to tell you that 2.0 is
installed. It was my understanding that a 1.1 program will run under 1.1 if
it is installed.

SP
clintonG - 15 Dec 2005 03:28 GMT
I'm saying I used google to find what appears to be a solution and others
should be able to do the same although there doesn't seem to be a lot of
information that is making itself easy to locate. Did you download the
sample file and run it?

<%= Clinton Gallagher
        METROmilwaukee (sm) "A Regional Information Service"
        NET csgallagher AT metromilwaukee.com
        URL http://metromilwaukee.com/
        URL http://clintongallagher.metromilwaukee.com/

>> This article [1] discusses the System.Environment class and several other
>> contextual methods.
[quoted text clipped - 14 lines]
>
> SP
SP - 16 Dec 2005 03:26 GMT
> I'm saying I used google to find what appears to be a solution and others
> should be able to do the same although there doesn't seem to be a lot of
> information that is making itself easy to locate. Did you download the
> sample file and run it?

I was looking for something similar for WinForms. Not sure what the OP was
looking for. No disrespect intended, I appreciate your numerous posts in
this NG. Do you know if it is possible to make a WinForm 1.1 app run under
2.0 if 1.1 is installed? I have found that 1.1 is used unless it is removed
but it would be nice to make it run under 2.0 without having to do this.

Regards,

SP

> <%= Clinton Gallagher
>         METROmilwaukee (sm) "A Regional Information Service"
[quoted text clipped - 20 lines]
>>
>> SP
clintonG - 21 Dec 2005 20:36 GMT
Nope. I am clueless and depend on web search for most of what I learn. The
newsgroups come second for me. Sorry I couldn't be more specific.

<%= Clinton Gallagher

>> I'm saying I used google to find what appears to be a solution and others
>> should be able to do the same although there doesn't seem to be a lot of
[quoted text clipped - 36 lines]
>>>
>>> SP

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.