Michael, I forgot to add that you will need to look at the Major and Minor variables and see if they differ in Home and professional. I don't run Home so I can't take a look for you
Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael J. Babcock, MCP Sent: 13 February 2008 16:06 To: [email protected] Subject: WinXP Home vs. Professional -- identifying difference in code? According to the Fox Wiki, when calling OS(), both WinXP Home and Professional both return Windows 5.01. It looks like I can use OS(10) and check to see if the value returned is 512, but wanted to know if others have used a different technique or can comment on this approach? Our software here apparently isn't supported on WinXP Home (but is on Professional). We can prevent installation on WinXP Home in the Installshield setup, but I was thinking it might be a good idea to stick a check in the main.prg via code as well. For example, I think this will do: if OS() = "Windows 5.01" and OS(10) = 512 then messagebox("Sorry dude...you shouldn't be running this under WinXP Home.") quit endif Comments welcome! Thanks in advance. --Michael [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

