Determine if and where the .NET Framework is installed using VBA
I have an Excel spreadsheet that needs to determine if the .NET Framework is installed as well as the path to that install. How can this be acomplished in VBA code?
I have an Excel spreadsheet that needs to determine if the .NET Framework is installed as well as the path to that install. How can this be acomplished in VBA code?
You can use the Registry "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall" to determine existent soft. You need to use the API-functions RegQueryValueExString, RegOpenKeyEx and others
I have made this function, tomorrow I will test it (I will use PC without the FrameWork)
Do you still need in it?
Hi!
It's good, but if soft isn't installed? Also, Windows Sistem may set in different PC on different disks (C, D, E...)
C:\Documents and Settings\ValerianoSrvr>set windir
windir=C:\WINNT
How a Windows system can be installed in a different PC ?
Regards.
vtortola, I mean if you will use your code in other computer, it don't work if Sistem was set on disk E:\ or D:\
And I finished and tested my function. It "determine if the .NET Framework is installed as well as the path to that install"