It is currently Mon Jun 01, 2020 12:42 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [Module] Application Registry (all OS)
PostPosted: Fri Mar 15, 2019 5:09 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 1262
Location: Germany
Application Registry - Module (all OS / 64Bit)

The application is comparable with the Windows Registry, just for your own program.
You can store a lot of program internal data there and reuse it at the next program start (e.g. status of a ComboBox or the last used path for the OpenFileRequester()).

Code:
; AppReg::Remove()     - remove this application registry
; AppReg::Delete()     - deletes a 'Name' or a 'HKey'
; AppReg::GetFloat()   - returns the value as float
; AppReg::GetInfo()    - returns infos about the application (AppName/Publisher/Date of modification)
; AppReg::GetInteger() - returns the value as integer
; AppReg::GetValue()   - returns the value as string
; AppReg::SetFloat()   - store a float number
; AppReg::SetInteger() - store an integer number
; AppReg::SetValue()   - store a string
; AppReg::Open()       - open new or existing Application Registry
; AppReg::Close()      - close Application Registry and save it to file


Download: ApplicationRegistryModule.pbi

_________________
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Nov 23, 2019 10:59 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] Application Registry (all OS)
PostPosted: Sat Mar 16, 2019 11:19 am 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4678
Location: Lyon - France
Works fine on W10 X64 / v5.70 x86 :D
Thanks for sharing 8)

_________________
ImageThe happiness is a road...
Not a destination


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye