Ever scince I saved my project yesterday, when I try to debug my application I get this:
An error occurred creating the form. See Exception.InnerException for details. The error is: Value '0' is not a valid value for Interval. Interval must be greater than 0.
Parameter name: Interval
Exception detail:
System.InvalidOperationException was unhandled
Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Value '0' is not a valid value for Interval. Interval must be greater than 0.\r\nParameter name: Interval"
Source="AEF"
StackTrace:
at AEF.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at AEF.My.MyProject.MyForms.get_Form1()
at AEF.My.MyApplication.OnCreateMainForm() in C:****************\AEF\AEF\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at AEF.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.ArgumentOutOfRangeException
Message="Value '0' is not a valid value for Interval. Interval must be greater than 0.\r\nParameter name: Interval"
Source="System.Windows.Forms"
ParamName="Interval"
StackTrace:
at System.Windows.Forms.Timer.set_Interval(Int32 value)
at AEF.Form1.Speed_set() in C:****************\AEF\AEF\Form1.vb:line 386
at AEF.Form1.TrackBar1_ValueChanged(Object sender, EventArgs e) in C:****************\AEF\AEF\Form1.vb:line 315
at System.Windows.Forms.TrackBar.OnValueChanged(EventArgs e)
at System.Windows.Forms.TrackBar.set_Value(Int32 value)
at AEF.Form1.InitializeComponent() in C:****************\AEF\AEF\Form1.Designer.vb:line 246
at AEF.Form1..ctor() in C:****************\AEF\AEF\Form1.vb:line 24
InnerException: