Michel,
I would have written this a little bit else, not about the English but about
the content. Every modern computer has a battery to let things as the date
and other system information alive. But that one is not showed up in wmi.
Not every modern computer has a battery as a power supplier, so your
solution is probably right.
Cor
"Michel Posseth [MCP]" <MS**@posseth.comschreef in bericht
news:OE****************@TK2MSFTNGP05.phx.gbl...
Hi
Well i seem to remember that ther is a class that can determine the
Battery status ( WMI ) as a normall computer does not have a battery i
guess thi sis the way to go
Regards
Michel Posseth [MCP]
"Terry Olsen" <to******@hotmail.comschreef in bericht
news:uM****************@TK2MSFTNGP03.phx.gbl...
>Is there a way through WMI or another method that I can tell if my app
is running on a laptop or desktop? The
Win32_ComputerSystem::PcSystemType property is not available on anything
below Vista.
*** Sent via Developersdex http://www.developersdex.com ***