Read Windows Registry settings for VB and VBA Projects
VB6
GetSetting("DRC", "Config", "DRC_CD")
C#
using Microsoft.Win32;
RegistryKey DRCKEY = Registry.CurrentUser.OpenSubKey("Software\\VB and VBA Program Settings\\DRC\\Config");
object CDPath = DRCKEY.GetValue("DRC_CD");
No comments:
Post a Comment