What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Testing OS in Application Created Using Visual Basic 6

Testing OS in Application Created Using Visual Basic 6
Author: Message:
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. Huh?  Testing OS in Application Created Using Visual Basic 6
Hi

Can any1 out there help me? I'm am programming in Visual Basic 6 Pro. I would like the program im writing to check what version of Windows the user is running, and then depending on the OS, launch a certain part of the program. Will anyone be able to give me an idea (or a coding example, or whatever) on how to do this (if it is possible). It will be really appreciated.

Thanx in Advance
RileyM
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
06-25-2004 08:49 AM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: Testing OS in Application Created Using Visual Basic 6
Check Mnjul's reply to Visual Basics : Uptime. In that post, Mnjul attached a program in VB. In that program there's a function that determines the exact version of Windows.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
06-25-2004 09:41 AM
Profile PM Find Quote Report
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. RE: Testing OS in Application Created Using Visual Basic 6
Thanx a lot for that. Ill download the file and check it out on my PC with VB6 when i get home.

RileyM
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
06-25-2004 01:17 PM
Profile PM Find Quote Report
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. RE: RE: Testing OS in Application Created Using Visual Basic 6
quote:
Originally posted by Choli
Check Mnjul's reply to Visual Basics : Uptime. In that post, Mnjul attached a program in VB. In that program there's a function that determines the exact version of Windows.


Thanx i checked out this VB project but can't get my own program to check the version of Windows im running.#

RileyM
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
06-25-2004 03:42 PM
Profile PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Testing OS in Application Created Using Visual Basic 6
Did you declare the API functions like I did in my project? :) Well, the part of my codes you need is ExactWinVer in General.bas. And you need to know how to use GetVersionEx. Locate MSDN Library and search for more information ;)
06-25-2004 04:34 PM
Profile PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Testing OS in Application Created Using Visual Basic 6
http://www.mentalis.org/apilist/GetVersionEx.shtml

Or even better: http://www.vbforums.com/showthread.php?s=&threadid=293511

This post was edited on 06-27-2004 at 12:28 PM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
06-25-2004 04:58 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On