Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, UK, Berkshire, England
    Posts
    243
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Detecting which OS & service pack (VB6 SP5)

    Is there some way in VB code to determine what service pack, release etc. a machine has installed?
    I've found some details about the GetVersionEx in the kernel32, but that has major, minor and build, nothing about service pack

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Detecting which OS & service pack (VB6 SP5)

    Steve, it is GetVersionEx. <A target="_blank" HREF=http://www.vbcodemagician.dk/tips/system_osversion.htm>Here</A> is the code that you want. Have fun: it will all change in .NET! --Sam
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

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