abhid
Jan 16th, 2002, 03:00 AM
Hi all
I want to create string keys and save a string in that key. For this
purpose i am using RegSetValueEx function. But it saves some
junk characters in registry.
I am using it like
strDatabasePath = "d:\Project\FileName"
lngcbdata = lngcbData = Len(strDatabasePath)
' Result is the key identifier
RegSetValueEx Result, "File Path", 0, REG_SZ, strDatabasePath, lngcbData
am i making a mistake?
I want to create string keys and save a string in that key. For this
purpose i am using RegSetValueEx function. But it saves some
junk characters in registry.
I am using it like
strDatabasePath = "d:\Project\FileName"
lngcbdata = lngcbData = Len(strDatabasePath)
' Result is the key identifier
RegSetValueEx Result, "File Path", 0, REG_SZ, strDatabasePath, lngcbData
am i making a mistake?