Results 1 to 2 of 2

Thread: OS.MajorVersion & "." & OS.MinorVersion

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2012
    Posts
    26

    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.

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width