Solved

Returning Os Versions

Posted on 2006-07-15
7
170 Views
Last Modified: 2010-04-30
I have a question about different versions of Windows.
I have a class module that returns the version of windows it is running on and catagorizes the version into 3 catagories.
  wvWindows32 = 0
  wvWindows9x = 1
  wvWindowsNT = 2

I have learned that they catagory like this:
1 = Windows9x = 95/98/ME
2 = WindowsNT = NT/2000/XP

If that is the case, then what would be considered a windows32 version if all the versions of windows are included in 1 of the other 2 catagories.  What is the reason for the Windows32 catagory from a vb programmers point of view and when would I ever get that returned from my module.  I only have xp, so I can't test it on other versions to see what it returns.

Any Ideas?

Thanks and Cheers!
Albert
0
Comment
Question by:ahammar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 400 total points
ID: 17115040
You can determine what v32 u are using by this. So perhaps this may answer your question possibly
http://support.microsoft.com/default.aspx?scid=kb;EN-US;189249

0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17115051
What code u write, depending on what it is, u should be okay, so as long as all the right dll's that u use are in place. Have u any activex controls u use?
0
 
LVL 23

Author Comment

by:ahammar
ID: 17115125
Thanks rockiroads

That will probably answer my question.  I'll check it out more.  I need to know because I am having setup put shortcuts into the startup folder in same cases and other cases make an entry into the registry to start at boot time.  It depends on which version they are running on where the shortcut or registry setting needs to be put.
Do you know what the difference in the 3 terms they use are:

Platform
minor version
major version

I have never heard of major and minor versions.

Thanks!
Cheers!
Albert
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Assisted Solution

by:alainbryden
alainbryden earned 100 total points
ID: 17115174
I wouldn't be surprised if there was a wvWindows64, but as is, all those operating systems are 32 bit windows operating systems, so they would fit into both categories. It could be referring to some very old versions of Windows NT (Windows NT 3.1 (1993), NT 3.5 (1994), NT 3.51 (1995), and NT 4.0 (1996)) As those were all the first 32 bit operating systems but I'm sure they would be hard pressed to fit into the same category as XP.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17115489
MS Versioning system I guess. VB works that way also

They like to do 1.1 or 1.2 where number after decimal is your minor

0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17115552
Actually there are three numbers in the versioning system, in VB, u also have the revision.

U can set it in VB, and to access it in code its simply

App.Major
App.Minor
App.Revision

Major normally refers to large changes
Minor refers to minor changes, say new minor functionality added
Revison is normally bug fixes etc

So I guess with the OS versions, u have the platform (must refer to say FAT, FAT32 or NTFS, not sure)
Major (windows version), Minor (release version) - just a guess




0
 
LVL 23

Author Comment

by:ahammar
ID: 17115583
Ok, thanks to both of you.
I'll split the points, but I have to give rockiroads the majority for being first and supplying the links and extra info.
I appreciate all the help from you both!

Thanks!
albert
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question