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
VB Code:
  1. strDatabasePath = "d:\Project\FileName"
  2. lngcbdata = lngcbData = Len(strDatabasePath)
  3. ' Result is the key identifier
  4. RegSetValueEx Result, "File Path", 0, REG_SZ, strDatabasePath, lngcbData
am i making a mistake?