Writing a value to the windows registry

User community discussion group for the ABC Free Templates and Tools used in Clarion Development

Writing a value to the windows registry

Postby pietb » Mon Apr 18, 2005 3:37 am

I like to write a value to HKey_Current_User, but I do not know how to use the ABCfree tempales for this.
Can anyone tell me what I have to put (and where) in my application.
I mean do I have to do somthing in Global and Local ?
Have tried Registry.Put('spam' etc) but that won't compile
Have tried Registry.PutValue('spam etc)
Thank you.
pietb
New user
 
Posts: 1
Joined: Mon Apr 18, 2005 3:17 am

Postby AuthorDirect » Mon Apr 18, 2005 10:35 am

Add either of the registry templates, make sure the object name is Registry, and you should be able to compile...

Templates:

apiRegistryClass
(API: Declare Local Registry Class)

apiRegistryClassGlobal
(API: Declare Global Registry Class)
AuthorDirect
Site Admin
 
Posts: 611
Joined: Mon Feb 07, 2005 8:42 pm


Return to ABC Free Templates and Tools for Clarion

Who is online

Users browsing this forum: No registered users and 1 guest