Results 1 to 3 of 3

Thread: VB - Determine Windows Version

  1. #1

    Thread Starter
    Frenzied Member John McKernan's Avatar
    Join Date
    Jan 2002
    Location
    SE PA
    Posts
    1,295

    VB - Determine Windows Version

    Summary:
    Returns the current Windows Version.

    Methods:
    WinVersionS: Returns Version name as String
    WinVersionI: Returns Version ID as Integer
    Attached Files Attached Files

  2. #2
    Lively Member blaff's Avatar
    Join Date
    Nov 2002
    Location
    Germany
    Posts
    69
    In your code the LoWord function is missing!

    VB Code:
    1. Private Function LoWord(lngIn As Long) As Integer
    2.    If (lngIn And &HFFFF&) > &H7FFF Then
    3.       LoWord = (lngIn And &HFFFF&) - &H10000
    4.    Else
    5.       LoWord = lngIn And &HFFFF&
    6.    End If
    7. End Function

  3. #3

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