I'm attempting to run a windows desktop application and I'm getting the following error:
Application: xxx.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
at System.Windows.Forms.ComboBox.Select(Int32, Int32)
at xxx.win.shared.FancyComboBox.OnTextChanged(System.EventArgs)
at xxx.win.shared.IDComboBox.OnTextChanged(System.EventArgs)
at System.Windows.Forms.Control.set_Text(System.String)
at System.Windows.Forms.ComboBox.set_Text(System.String)
at System.Windows.Forms.ComboBox.UpdateText()
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32)
at System.Windows.Forms.ComboBox.set_Text(System.String)
at xxx.win.FrmSearch..ctor()
at xxx.win.Startup.Main()
I've removed all installed instances of the .NET framework and installed different versions to test and the outcome is still the same.
I ran the .NET version checker and this is what's currently installed:
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4
Client 4.8.03761
Full 4.8.03761
v4.0
Client 4.0.0.0
The application targets .NETFramework version 4.6.2. So I should be covered on that front. The same application runs on another machine with the same .NETFramework setup