R
Rich P
In VB.Net I do this to save my app settings:
SaveSetting(Application.ProductName, "TimeInterval", "TimeIntKeyName",
lblTimeInterval.Text)
SaveSetting(Application.ProductName, "MyAppCurDir", "myAppKeyName",
strCurDir)
In my C# migration efforts I have encountered yet another struggle --
with the Registry. After googling/binging/checking BOL, I have not seen
anything that resemebles my sample above in C#. The samples I did find
I am not sure how to implement them as none of these samples were
straight forward like the VB.Net sample above. Instead of wrecking the
registry by experimenting I thought I would just ask -- what is the way
to perform the VB.Net operation above (setting/Saving a value to the
registry) in C#?
Thanks
Rich
SaveSetting(Application.ProductName, "TimeInterval", "TimeIntKeyName",
lblTimeInterval.Text)
SaveSetting(Application.ProductName, "MyAppCurDir", "myAppKeyName",
strCurDir)
In my C# migration efforts I have encountered yet another struggle --
with the Registry. After googling/binging/checking BOL, I have not seen
anything that resemebles my sample above in C#. The samples I did find
I am not sure how to implement them as none of these samples were
straight forward like the VB.Net sample above. Instead of wrecking the
registry by experimenting I thought I would just ask -- what is the way
to perform the VB.Net operation above (setting/Saving a value to the
registry) in C#?
Thanks
Rich