| |
|
|
 | Registry.pcu y Registry.inc, Copyright by Thomas Schulz (aka ts-soft) Veröffentlicht bajo Lizenz el LGPL: [...] 
Um el doch muy eingeschränkte Funktionalität de XProfan a Bearbeitung el Registry a erweitern, Yo esta Unit/Incluir geschrieben.
Anforderungen: de Win95, NT4 con installiertem IE4 oder höher Nur con XProfan 10 getestet
Parámetro y Bedeutungen: - KeyName$ = Der gesamte Key, inclusive Klasse, Profano kürzel voluntad unterstützt! Ejemplo: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion oder: HKEY_2SOFTWAREMicrosoftWindowsCurrentVersion
- ValueName$ = Eintrag (S3 en el Profano-Ayuda)
- Value$ oder Value& = Valor (S4 en el Profano-Ayuda)
- Index& = 0 - ?, para Enumerationen (ListSubKey, ListSubValue)
- Type& = Der Typ des Eintrags (SetString) 1 = REG_SZ (default) 2 = REG_EXPAND_SZ 3 = REG_BINARY 4 = REG_DWORD (para Largo mejor SetLong uso!) 7 = REG_MULTI_SZ
Como lo en dieser Unit/Incluir una Klasse es, es como erstes siempre una Objeto a erzeugen!
z.B: KompilierenMarcaSeparación oder: KompilierenMarcaSeparación Am ende otra vez con Disponer liberación!
Folgende ObjectVariable es disponible: .Error& (z.B. Reg#.Error&) <> 0 bedeutet Fehler
Folgende öffentliche Métodos hay:
Fehler$ = .GetErrMsg() Ergebnis& = .DeleteKey(KeyName$) Ergebnis& = .DeleteEmptyKey(KeyName$) Ergebnis& = .DeleteValue(KeyName$, ValueName$) Type& = .GetValueType(KeyName$, ValueName$) Ergebnis$ = .ListSubKey(KeyName$, Index&) Ergebnis$ = .ListSubValue(KeyName$, Index&) Ergebnis& = .GetLong(KeyName$, ValueName$) Ergebnis$ = .GetString(KeyName$, ValueName$) Funktioniert con allen Registrytypen! Ergebnis& = .SetLong(KeyName$, ValueName$, Value&) no existente Keys voluntad autom. erstellt! Ergebnis& = .SetString(KeyName$, ValueName$, Value$[, Type&]) Type& es Optional, default = REG_SZ!
Beispiele a allen Métodos son esta!
Feedback willkommen! |
 |
|
| |
|
|
|
 | Wow muy nett! Hab Yo gestern ya gebraucht y no gehabt 
Como siehts de - puede ser así z.B. auch Binärwerte escribir? |
|
|
| |
|
|
|
 | [quote:c00c266e92=iF]Como siehts de - puede ser así z.B. auch Binärwerte escribir?[/quote:c00c266e92] Insofern Usted el Werte en una String quetscht, gehts einwandfrei. Como Profano auch Chr$(0) en Cuerdas unterstützt, sehe Yo no Problemas. Grenze es sólo el Max. Stringlänge en XProfan, o. el Beschränkungen des OS bezüglich Registry. |
|
|
| |
|
|
|
 | Nett! Como XProfan sí ne 2GB-Stringgrenze ha debería el para unos pocos Spielereien reichen ^ ^ |
|
|
| |
|
|
|
 | Actualización Hab el Source todavía algo optimiert. El Unit es ahora ca. 500 Byte kleiner. |
|
|
| |
|
|
|
 | Yo sería veces sagen Festplattenplatz haben todos genug - en el Bezug en XProfan wäre como Geschwindigkeit angebrachter. |
|
|
| |
|
|
|
 Jac de Lad | Yo habs todavía no getestet, pero yo halts para ne gute Concepto!  |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 05.12.2006 ▲ |
|
|
|
|
 Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 05.12.2006 ▲ |
|
|
|
|
 | Proc ?_Registry.Registry Proc ?_Registry.Registry
 |
|
|
| |
|
|
|
 Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 05.12.2006 ▲ |
|
|
|
|
 | Müsste entonces en el Klassendefinition no auch class ?_blub=+?_blub@ posición?  |
|
|
| |
|
|
|
 RGH | [quote:ecb7539923=iF]Müsste entonces en el Klassendefinition no auch class ?_blub = +?_blub@ posición? [/quote:ecb7539923] Exactamente!
Saludo Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05.12.2006 ▲ |
|
|
|