English
Opportunities and suggestions

wish: ReadIni and WriteIni strain

 

Michael
Wodrich
we've already:
REG_SZ
- z.B.: HKEY_0 -- worth = abc

REG_DWORD
- z.B.: HKEY_DW_0 -- worth = 123

it are missing yet
REG_EXPAND_SZ
- z.B.: HKEY_EX_0 -- worth = %TEMP%

REG_BINARY
- z.B.: HKEY_BIN_0 -- worth = $01,$02,$03
(here rather: Memory-Variable, there it many values go can)
(at reading then Return the amount)

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
12/07/07  
 




Christian
Schneider
there schließe I right time on. Have I recently yet missing.
 
XProfan 11| Vista(64) SP2
12/07/07  
 




Jac
de
Lad
so did i. Also wärs rather, if ReadIni in the Registry at reading one not vorhandenen Schlüssels none Error hervorruft.
 
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/07/07  
 




Jörg
Sellmeyer
still, with the the Error is ok. You can Yes with Set(ErrorLevel,0) The Message suppress. so know You namely immediate, whether the worth z.B. one Leerstring is, or the Key none present is.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/07/07  
 




Jac
de
Lad
but I let my programs fundamentally in Errorlevel 2 walk, because I since the most Error discover. then must I jedesmal, if I from the Registry read whom Level on -1 settle and then again on 2. I find not really well. then even a function RegExists(), The testing, whether a entry existing.
 
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/08/07  
 




Jörg
Sellmeyer

Proc RegExists

    Parameters hkey$,key$,item$
    Declare el%,err%
    el% = Set(ErrorLevel,0)
    ReadIni$(hkey$,key$,item$)
    err% = %error
    Set(ErrorLevel,el%)
    Return err%

ENDPROC

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/08/07  
 




Jac
de
Lad
...so far i was already...
 
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/08/07  
 




H.Brill
would have been there evtl. too yet a wish :

trouble :
If one different Rubriken in a Inidatei
has, that one only The Entries the given Rubrik
get. sometimes white one of course The Rubrik but
The Entries (3.Parameter) not. too The amount
the Entries the Rubrik are Perhaps uncharted.

Evtl. could Roland the so make :
If the 3. Parameter one Leerstring is, could
it still "Eintrag=blabla" give back. If everything
red is, even a Leerstring.
or it power it integrally self-sufficient and writes
The Results into Listboxliste. there can
beautiful with SubStr$() and the "=" as Trenner everything
beautiful aufdröseln.

accordingly could is a Rubrik beautiful in a
Loop read.

I wanted to original The ODBC.INI in the windows
Ordner read, circa the users Datasources
and driver available To to put :
 
Benutze XPROFAN X3 + FREEPROFAN
Wir sind die XProfaner.
Sie werden von uns assimiliert.
Widerstand ist zwecklos!
Wir werden alle ihre Funktionen und Algorithmen den unseren hinzufügen.

Was die Borg können, können wir schon lange.
02/01/15  
 




maroro
with frighten read I the reg_binary already 2007 desired watts so can I the well unnhook.
knows someone a Solution reg_binary To reading ... except the whom Key in a File To export?
 
07/01/16  
 




Jörg
Sellmeyer
I set time whom "erledigt"-status back and pinne it supra on.
time see, whether Roland there yet rangehet.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/04/16  
 




RGH

it are missing yet
REG_EXPAND_SZ
- z.B.: HKEY_EX_0 -- worth = %TEMP%


Ah, already again what in the Help forget. the there already since some versions, though with zusätzlichem "P": HKEY_EXP_0, etc.

the _BIN_ could one rather with a area as Parameter or. Result solve. I try, it me for next Version To remember.

(the Reading the Schlüseel or. Wertenamen in a list there Yes since X2.1.)

Greeting
Roland
 
XProfan X3
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
07/05/16  
 




Jörg
Sellmeyer
instead of it to you To remember (or whom attempt To venture), can you the Topic Yes simply in your Remember-List (s. u.) take. The go You then simply through, if You on the next Version work and hakst everything ex.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
07/05/16  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

14.167 Views

Untitledvor 0 min.
Christof Neuß05/06/21
iF10/06/18
maroro05/26/18
Jörg Sellmeyer05/15/18
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