Thank you. Now it updates balance correctly when pressing reset, but after first roll it halts giving "unhandled exception" error with the details below: (It does same thing on Win XP fin and Windows 7 UK machines)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s)
at DiceBot.cDiceBot.DoBet(Double dBalance)
at DiceBot.cDiceBot.set_PreviousBalance(Double value)
at DiceBot.cDiceBot.tmBetting_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.2012 (RTMLDR.030319-2000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DiceBot
Assembly Version: 2.4.1.0
Win32 Version: 2.4.1.0
CodeBase: file:///C:/DiceBot-2.4.1/DiceBot-2.4/DiceBot-2.4.1.exe
----------------------------------------