Page 1 of 1
Listing Hardware like in Device Manager...
Posted: Mon Aug 11, 2003 2:11 pm
by Kendrel
I'll need to list up all Hardware like the Device Manager is doing it...
Iam quite sure these are stored in the registry, but i havent found the right sections yet...
if you have any example or something on this one, please help me...
thx in advance!
Posted: Mon Aug 11, 2003 2:41 pm
by Berikco
in registry HKEY_LOCAL_MACHINE\System\CurrentControlset\Services
Here you find all services , the one with Type=1 are hardware drivers, other are normal services
errmmm...
Posted: Mon Aug 11, 2003 2:49 pm
by Kendrel
i had a look, and there are some of the informations i would need but i couldnt find my gfx card for example... i just need a simple list like in the device manager that comes with windows... and you are sure that these are the values it uses?
Okay...
Posted: Mon Aug 11, 2003 3:04 pm
by Kendrel
Ive found now what i was looking for...
hklm\system\currentcontrolset\control\class\
there are the infos i need... on xp atleast
thx for your help berikco !

ummm
Posted: Mon Aug 11, 2003 3:13 pm
by Kendrel
ohwell... i have to correct myself... the infos i need are spread everywhere in the registry... i thought it wouldnt be such a pain to list the shit what the device manager does... grrr
Posted: Mon Aug 11, 2003 8:59 pm
by Berikco
All services are in HKEY_LOCAL_MACHINE\System\CurrentControlset\Services, also display driver here.
but its not a nice list you can easely load, i agree.

hmmm
Posted: Tue Aug 12, 2003 10:57 am
by Kendrel
well yes, but i dont see all the stuff there i would need...
ill stick to WMI now... i cannot use it with purebasic, so ill make that one with vb then... its very easy with WMI, and iam a little sad that you cannot use such things with PB... whatever... thx