OS.MajorVersion & "." & OS.MinorVersion
I am using XP OS; however when I get Major/Minor for my computer I get 4.0 which should equal to Win 95. I need to determine which OS the software is installed as reference to putting link on Desktop and Start Menu. Why is it showing Win 95 when my machine is XP.
Re: OS.MajorVersion & "." & OS.MinorVersion
Your program is running in compatibility mode, with the Win95 Version Lie shim being applied to it.
Creating shortcuts is the job of an installer, not an application. And this doesn't require OS version detection when done properly anyway. And furthermore putting shortcuts on the Desktop is considered very poor form unless you offer it as an option to the user during installation.