Control panel items

Vse drugo, kar ne spada v nobeno zgornjo kategorijo.
Odgovori
odisej
Prispevkov: 1363
Pridružen: 09.05.2003 12:58:10

Control panel items

Odgovor Napisal/-a odisej » 16.03.2010 07:49:48

Ali kdo ve, kako se dobi vse control panel items. Nekje sem našel kodo, ki pravi, da najdi vse cpl fajle v system32, v vsakem najdi funkcijo CPIApplet in gasa. To nekako deluje na XP, čeprav imam sam v control panelu tudi nekaj na temo Nokia, pa se ta cpl nahaja na Program Files, kar pomeni, da more biti še en trik. No, na Visti pa je vse še slabše. appwiz.cpl, ki je stvar za dodajanje/odstranjevanje programov, sploh nima več funkcije CPIApplet. Kako Vista ve, kaj je v control panelu.

PeJo
Prispevkov: 988
Pridružen: 08.01.2003 16:10:34

Control panel items

Odgovor Napisal/-a PeJo » 16.03.2010 08:21:15

Lokacije so shranjene v registru.
Each applet is stored individually as a separate file (usually a .cpl file), folder or DLL, the locations of which are stored in the registry under the following keys:

1. HKLM\SOFTWARE\Microsoft\Windows\Current Version\Control Panel\Cpls
This contains the string format locations of all .cpl files on the hard drive used within the control panel.

2. HKLM\SOFTWARE\Microsoft\Windows\Current Version\Explorer\Control Panel\Namespace
This contains the location of the CLSID variables for all the panels not included as cpl files. These are commonly folders or shell applets, though Windows Vista allows physical programs themselves to be registered as well. The CLSID then allows items such as the icon, infobox and category to be set and gives the location of the file to be used.
Pa še celoten članek.

lp,
Peter
Včasih, se ti zdi, da znaš vse .... boom in se zbudiš

Odgovori