This is good, however, I need someone to convert this to VFP9 speak.
SET STEP ON
*Dim Manufacturer
strComputer = "."
* how to do this?
objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" &
strComputer & "\root\cimv2")
* how to do this?
colItems = objWMIService.ExecQuery("Select * from Win32_BaseBoard")
For Each objItem in colItems
Manufacturer = objItem.Manufacturer
Next
if Manufacturer = "Microsoft Corporation"
wscript.echo "In Microsoft virtual machine"
else
wscript.echo "Not in Microsoft virtual machine"
end if
----- Original Message -----
From: "Christof Wollenhaupt" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 12, 2006 10:14 PM
Subject: RE: Detect application is running under virtual machine?
Hi Malcom,
> Any suggestion on how our application can detect if it is running under a
virtual machine like VMWare or VirtualPC?
http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/27/484479.aspx
--
Christof
[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
** 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.