Hello,
I am using VB6 and I am familiar with the SaveSetting and GetSetting commands which write to "VB and VBA Program Settings" in HKEY_Local_Machine in the registry. Can somebody please let me know what code I should use to save settings elsewhere in the registry (in a number of places, does not have to be specific locations) and how I can set up a counter (so that each time my application is opened, it adds 1) in an entry in the registry so that when it's numerical value (coded in VB) is exceeded, the VB application will not run. This latter is used to limit the number of times that a single demonstration copy can be opened.
Thank You
I am using VB6 and I am familiar with the SaveSetting and GetSetting commands which write to "VB and VBA Program Settings" in HKEY_Local_Machine in the registry. Can somebody please let me know what code I should use to save settings elsewhere in the registry (in a number of places, does not have to be specific locations) and how I can set up a counter (so that each time my application is opened, it adds 1) in an entry in the registry so that when it's numerical value (coded in VB) is exceeded, the VB application will not run. This latter is used to limit the number of times that a single demonstration copy can be opened.
Thank You