Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine version of .NET and folder
Message
From
22/03/2006 17:10:28
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
22/03/2006 16:04:57
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01106750
Message ID:
01106814
Views:
23
Thanks for the info Tracy. I'm going to try looking into the registry (as your last suggestion shows) since I need to determine this from VFP, not VB.NET.

Regards,
Mike

>Oops, I just found this:
>http://support.microsoft.com/default.aspx?scid=kb;[LN];315291
>
>
>I know of 2. Installing the .NET Framework changes the User-Agent information in IE so that it includes the version number of your .NET Framework. On a normal ASP page the User-Agent information can be retrieved from the server variable: Request.ServerVariables("HTTP_USER_AGENT"). The User-agent string is also added to the registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Post Platform]
>
>Update: You got me thinking and I actually did a search and found some vb.net code to get this for you:
>
>http://addressof.com/blog/articles/FrameworkVersionInfo.aspx
>
>Also, on mine I found the information in the registry here as well:
>
>[HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322]
>
>
>
>
>
>
>
>>Is there a way to determine what version(s) of the .NET framework is installed?
>>
>>Is there a way to determine where those folders are? Mine reside in c:\WINDOWS\Microsoft.NET but I imagine this is not necessarily always the case.
>>
>>TIA
>>
>>Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform