Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Windows Version?

    What's the best way to identify which version of Windows is running?

    The following works for Win98 but not WinXP:

    Set objWSS = CreateObject("WScript.Shell")
    MsgBox
    objWSS.RegRead("HKLM\Software\Microsoft\Windows\Cu rrentVersion\Version")


    McKirahan Guest

  2. Similar Questions and Discussions

    1. AI version 4.01 and Windows XP
      I have a new computer (finally!) and have my original version of AI version 4.01 that I am trying to install to Windows XP pro. Here is the...
    2. Director on other language version of windows..?
      Hi all, I was hoping any of you could help me out here.... I've looked everywhere but its a hard one to find out about. Basically im doing a...
    3. migrating tables from MVS to Windows version of DB2
      Hello. We are tring to migrate a bunch of table that resides db2 (version 6 I believe) on a MVS mainframe environment to DB2 UDB version 7.0 on a...
    4. Images created on Mac version won't open on Windows version
      "michypooh" webforumsuser@macromedia.com wrote: everything works fine. I emailed them to myself at home but when i try to open them in Fireworks...
    5. Detecting Windows Version
      Thanks...the environment worked. I used the #osversion part of it. This way I could use a contains comparison and send someone to a certain section...
  3. #2

    Default Re: Windows Version?

    Well, since this is an ASP group, you may want to take a look at
    Request.ServerVariables("HTTP_USER_AGENT")

    Ray at work

    "McKirahan" <News@McKirahan.com> wrote in message
    news:2Xm0d.168712$mD.78035@attbi_s02...
    > What's the best way to identify which version of Windows is running?
    >
    > The following works for Win98 but not WinXP:
    >
    > Set objWSS = CreateObject("WScript.Shell")
    > MsgBox
    > objWSS.RegRead("HKLM\Software\Microsoft\Windows\Cu rrentVersion\Version")
    >
    >

    Ray Costanzo [MVP] Guest

  4. #3

    Default Re: Windows Version?

    "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
    message news:efo2Wv2lEHA.748@TK2MSFTNGP11.phx.gbl...
    > Well, since this is an ASP group, you may want to take a look at
    > Request.ServerVariables("HTTP_USER_AGENT")
    >
    > Ray at work
    >
    > "McKirahan" <News@McKirahan.com> wrote in message
    > news:2Xm0d.168712$mD.78035@attbi_s02...
    > > What's the best way to identify which version of Windows is running?
    > >
    > > The following works for Win98 but not WinXP:
    > >
    > > Set objWSS = CreateObject("WScript.Shell")
    > > MsgBox
    > > objWSS.RegRead("HKLM\Software\Microsoft\Windows\Cu rrentVersion\Version")
    > >

    Thanks for your reply.

    I should have posted this in the vbscript ng.


    McKirahan Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139