I am trying to pull settings from the registry and assign them to public variables in my sub.
I have an array that was created using the VB GetAllSettings("Appname", "RoutineName"). The array contains the setting names as a string and each values. Is there a way to either dim a variable or assign the value to a variable name by looping through the array?
For intSettings = LBound(MySettings, 1) To UBound(MySettings, 1)
setavariablecommand((intSettings, 0).tostring) = MySettings(intSettings, 1)
Next intSettings