how do i use System.PrivateProfileString

Razifhoe
08-16-2001, 12:38 AM
i got a string in registery System.PrivateProfileString("", "HKEY_CURRENT_USER", "razihoe") = "Rh"
now how do i take the "Rh" back as a variable??????

KesleyK
08-16-2001, 03:28 PM
Don't know if you can use the API with your particlar flavor VBA (sounds like Excel, but which one is it?) but you might check into <font color=blue>WritePrivateProfileString</font color=blue> and <font color=blue>GetPrivateProfileString</font color=blue>.


"Recently reported by the Assoc. of Incomplete Research, 7 out of 10 people." -- K. Nealon, SNL

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum