Solved

Returning Os Versions

Posted on 2006-07-15
7
166 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 20

Assisted Solution

by:alainbryden
alainbryden earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now