English
Units

Registry Unit/Include picture

 
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
!$$U Registry.pcu
Declare Reg#
Reg# = New(Registry)re>

or:
CompileMarkSeparation
!$$U Registry.pcu
Declare Reg#
Dim Reg#, Registry
Reg#.Init()  wicht
pre>

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!

13 kB
Kurzbeschreibung: Version 1.3
Hochgeladen:12/06/06
Downloadcounter160
Download
 
12/05/06  
 



Wow very nice! Have I yesterday already used and not had

How siehts from - can so z.B. too Binärwerte write?
 
12/05/06  
 



[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.
 
12/05/06  
 



nice! there XProfan Yes ne 2GB-Stringgrenze has ought to the for a couple Spielereien wealthy ^^
 
12/05/06  
 



Update
Have whom Source yet something optimiert. The Unit is now ca. 500 byte small.
 
12/05/06  
 



i'd time say Festplattenplatz having any enough - in the reference on XProfan would there speed angebrachter.
 
12/05/06  
 




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
can it his, that The function
CompileMarkSeparation
differently hot should, namely
CompileMarkSeparation
for a Konstruktor To his?
 
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

 
12/05/06  
 




Jac
de
Lad
damn. I mean korrigiert should it still
CompileMarkSeparationhot, or?!
 
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?
 
12/05/06  
 




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  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

19.313 Views

Untitledvor 0 min.
H.Brill05/21/23
maroro05/26/18
Andre Rohland01/31/18
JörgG09/08/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie