i have a NumericUpDown control and want to update its contents from the registry. So far this is what i got:
this.apTime.Value = APRegsitry.GetValue("apTime").ToString();
Obviously that wont work so how do i set this.apTime to the value of the registry key?
I’m not entirely sure what the issue is. Are you having problems converting it to a decimal? If so try Decimal.Parse
If not can you elaborate further as to what the problem is?
EDIT Updated code to account for null return from GetValue