dbTalk Databases Forums  

SalGetProfileString: How can I getting value from registry?

comp.databases.gupta comp.databases.gupta


Discuss SalGetProfileString: How can I getting value from registry? in the comp.databases.gupta forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Julie
 
Posts: n/a

Default SalGetProfileString: How can I getting value from registry? - 08-30-2004 , 09:05 AM






Hello,

I want to read value from registry (windows registry) with the
function SalGetProfileString() and SalUseRegistry( bUseRegistry,
sCompanyName ).

I'm setting the last parameter from SalGetProfileString() with
"\\\HKEY_CURRENT_USER\\Software\\<companyname>\\<s ection>\\<undersection>\\entry\\"

=>
If SalUseRegistry( TRUE, 'companyname') = TRUE
SalGetProfileString
('','',sDefaultValue,sReturnValue,"\\\HKEY_CURRENT _USER\\Software\\companyname\\section\\undersectio n\\entry\\"
)

The return value is equal sDefaultValue. What make I false? Who can
help me?

Thanks beautifully in advance for your assistance.

Many greetings

Julie

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.