Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for installation of an application
Message
From
05/02/2004 09:35:51
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, United States
 
 
To
05/02/2004 07:16:39
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00874150
Message ID:
00874431
Views:
24
Hi Marcia,

Thanks! See you tomorrow.

Jacci

>Hi Hacci.
>
>I’m assuming I need to check the web server’s registry. I haven’t had much experience dealing with registry values so I’m not sure what methods to use to get what I want. This application seems to install itself under LocalMachine\Software.
>
>Here is some sample code in C# that should help get you started:
>
>
>string lcKeyVal;
>RegistryKey loRegKey = Registry.LocalMachine.OpenSubKey(  "Software\\Microsoft\\.NETFramework", false );
>if( loRegKey == null )
>  { lcDefaultPrinter = ""; }
>else
>  {
>    object loKeyVal = loRegKey.GetValue( "InstallRoot" );
>    if ( loKeyVal == null )
>      { lcKeyVal = ""; }
>    else
>      {	lcKeyVal = loKeyVal.ToString(); }
>  }
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform