• Log in or sign up for an account here: https://www.sythe.org/login

Framework 4.0 detection

Harlem9191

Member
Joined
Mar 10, 2009
Sythe Gold
0
Messages
81
Hi
I am a bit desperate for a C++ application that detects whether .Net Framework 4.0 is installed. Here is a dot print version of what I am looking for:

  • Application loads and detects whether Framework 4.0 is installed
  • If Framework 4.0 is installed then 'EliteSwitch.exe' is loaded from within the same folder as itself.
  • If Framework 4.0 isn't installed the web page where it is downloaded from is loaded in the user's browser.

If anyone could help me do this then that would be great. I'm sure it isn't too hard to achieve, I just don't fancy spending hours of learning C++ to do this when i'm only using Basic at the moment. I have already found a bit of code that searches Framework 4.0, which can be found here. I don't have any idea how to do the rest.

Thanks
 
Two Factor Authentication User
I made you a small executable that should do what you want. It will check for .NET 4.0 Client profile, and if it cannot be found, it will open the download page for .NET 4.0, otherwise it will launch 'Eliteswitch.exe'. If you need to change it, the framework version and which files to launch can be found in the string table.

View attachment 22531
 
Runescape Gamblingrunescape gambling
Back
Top