Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect .Net
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00880415
Message ID:
00880732
Views:
15
Thanks Rick, Your article was very helpful as usual.

I am supporting a VB6 app with a bunch of users in multiple offices all connected to a common network. The app starts by looking for an update on the server. If present, the app shells to an updating program. I don’t know much about the user’s current environment. As your article points out, it is also very important to know the hardware capabilities.

I want to test for NET and determine their system’s compatibility in a non-intrusive way in my updater program (VB6). So that I can determine if it is practical to start deploying NET apps.

I’m trying to stay under radar.

Thatnks again,



>>Waht do users have to have on their machine to run .net apps? What's the best way to test for it?
>
>You need the .Net runtime, which is a self-contained install.
>
>To test for it you can check for hte existance of the Windows\Microsoft.NET directory, but you probably will also wnat to check the version in which case you can walk the folders in the Framework directory and pick the highest number.
>
>Note that this makes sense only if you're doing something like COM interop from a non-.Net environment. I have some Fox routines that I use in Help Builder that check for the existance of .Net and they're written up as part of this article here:
>
>http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp
>
>Look at the Installing .Net components section which deals with checking for .Net and then also registering a .NET COM component.
>
>Hope this helps,
>
>+++ Rick ---
Previous
Reply
Map
View

Click here to load this message in the networking platform