I have a textbox array: BetMethod(0-10)
I want to be able to save the settings of the text in all of them to registry using savesetting. and also to be able to getsetting.
but how can i save to 1 regisrty key?
Printable View
I have a textbox array: BetMethod(0-10)
I want to be able to save the settings of the text in all of them to registry using savesetting. and also to be able to getsetting.
but how can i save to 1 regisrty key?
SaveSetting is limited to simple strings, so you can't specify a REG_MULTI_SZ type value. A workaround is to choose a suitable font for the textboxes and use an unusual string of characters such as [¥§¤‡] (MS Sans Serif) for a delimiter. When you retreive the value use Split(), specifying the the delimiting string.
Use the Character Map as a reference, ie:
Alt+0135 = ‡
Alt+0164 = ¤
Alt+0165 = ¥
etc.
each text box is just a number. can use space for the delimiter.