| |
|
|
| Registry.pcu and Registry.inc, copyright by Thomas Schulz (aka ts-soft) Published under license the LGPL: [...]
around the still very eingeschränkte Funktionalität of XProfan to edit the Registry To strain, have I these Unit/Include written.
Anforderungen: ex Win95, NT4 with installed IE4 or higher only with XProfan 10 tested
Parameter and meanings: - KeyName$ = The entire Key, inclusive class, Profan macro go supported! example: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion or: HKEY_2SOFTWAREMicrosoftWindowsCurrentVersion
- ValueName$ = entry (s3 in the Profan-Help)
- Value$ or Value& = worth (s4 in the Profan-Help)
- Index& = 0 - ?, for Enumerationen (ListSubKey, ListSubValue)
- Type& = The type the Eintrags (SetString) 1 = REG_SZ (default) 2 = REG_EXPAND_SZ 3 = REG_BINARY 4 = REG_DWORD (for Long rather SetLong use!) 7 = REG_MULTI_SZ
there it itself with this Unit/Include circa a class deals, is first thing always one Objekt To produce!
in example: CompileMarkSeparation or: CompileMarkSeparation latterly again Dispose enable!
following ObjectVariable standing available: .Error& (z.B. Reg#.Error&) <> 0 means Error
following public modes there:
Error$ = .GetErrMsg() Ergebnis& = .DeleteKey(KeyName$) Ergebnis& = .DeleteEmptyKey(KeyName$) Ergebnis& = .DeleteValue(KeyName$, ValueName$) Type& = .GetValueType(KeyName$, ValueName$) Result$ = .ListSubKey(KeyName$, Index&) Result$ = .ListSubValue(KeyName$, Index&) Ergebnis& = .GetLong(KeyName$, ValueName$) Result$ = .GetString(KeyName$, ValueName$) Works with all Registrytypen! Ergebnis& = .SetLong(KeyName$, ValueName$, Value&) not existente Keys go autom. prepares! Ergebnis& = .SetString(KeyName$, ValueName$, Value$[, Type&]) Type& is Optional, default = REG_SZ!
Examples To all modes are thereby!
Feedback Welcome! |
|
|
| |
|
|
|
| Wow very nice! Have I yesterday already used and not had
How siehts from - can so z.B. too Binärwerte write? |
|
|
| |
|
|
|
| [quote:c00c266e92=iF]How siehts from - can so z.B. too Binärwerte write?[/quote:c00c266e92] Insofern You The values in a String squeezes, GEHTS correct. there Profan too Chr$(0) in Strings supported, see I no Problems. boundary is only The Max. String-Length in XProfan, or. The Beschränkungen the OS concerning Registry. |
|
|
| |
|
|
|
| nice! there XProfan Yes ne 2GB-Stringgrenze has ought to the for a couple Spielereien wealthy ^^ |
|
|
| |
|
|
|
| Update Have whom Source yet something optimiert. The Unit is now ca. 500 byte small. |
|
|
| |
|
|
|
| i'd time say Festplattenplatz having any enough - in the reference on XProfan would there speed angebrachter. |
|
|
| |
|
|
|
Jac de Lad | I habs not yet tested, but I halts for ne good idea! |
|
|
| 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 | 12/05/06 ▲ |
|
|
|
|
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 | 12/05/06 ▲ |
|
|
|
|
| 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 | 12/05/06 ▲ |
|
|
|
|
| Should then in the Klassendefinition not too class ?_blub=+?_blub@ stand? |
|
|
| |
|
|
|
RGH | [quote:ecb7539923=iF]Should then in the Klassendefinition not too class ?_blub = +?_blub@ stand? [/quote:ecb7539923] very!
Greeting 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 | 12/05/06 ▲ |
|
|
|