Solved

Returning Os Versions

Posted on 2006-07-15
7
167 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

809 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