Hi, I'm officially confounded. I tried the code supplied by Luke it detects winME. I put exactly the same code in my application and it detects win98 every time. I tried both baVersion("windows") and baVersion ("os") with the same results. Have I entered the dark zone or is there something that could be causing this?
I would try (the environment).osVersion, but frankly I don't know how to use it. I will have to look it up somewhere. My application is a CD that is time specific i.e. it gets replaced every semester. However you are right I should be checking for other OS's. Thanks Liz > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:lingo-l- > [EMAIL PROTECTED] On Behalf Of Mark A. Boyd > Sent: Tuesday, June 24, 2003 6:46 AM > To: [EMAIL PROTECTED] > Subject: Re: <lingo-l> baVersion( "os" ) > > At 10:44 2003-06-23, Liz wrote: > >Hi, > > > >I'm using the code below, but on a win ME machine its detecting Win 98. > >Any ideas on what I'm doing wrong or why its doing that. > > Hmm. It returns "WinME" as expected on my ME machine. You might want to > use > baVersion("Windows") as Luke suggested or even Lingo's (the > environment).osVersion. > > BTW, what will your program do if somebody runs it in a few years on > Windows ZZZ or Windows 2005 or whatever the current OS is at the time? You > might want an otherwise clause in there. > > > > > -- > Mark A. Boyd > Keep-On-Learnin' :) > > [To remove yourself from this list, or to change to digest mode, go to > http://www.penworks.com/lingo-l.cgi To post messages to the list, email > [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L > is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]