Post by corsica002b on Aug 20, 2023 17:31:21 GMT -5
Hello I have a problem is that officer is in offline mode and as soon as I open the application I have an error with the following detail and he offers me to close the application here is the report he tells me I can no longer use the app on FS2020
See the end of this post for details on calling debug
just-in-time (JIT) instead of this dialog box.
************** Exception text **************
System.InvalidCastException: Cannot cast an object of type 'System.Windows.Forms.TextBox' to type 'System.Windows.Forms.Button'.
at FSFO_NEXT.Dashboard.Button_Clicked(Object sender, EventArgs e) in C:\Users\kingm\Dropbox\FSFO\FSFO_NEXT\FSFO_NEXT\Forms\Dashboard.cs:line 825
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message&m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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.8.4645.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
FSFO_NEXT
Assembly Version: 1.2.15.0
Win32 version: 1.2.15.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/FSFO_NEXT.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 version: 4.8.4654.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 version: 4.8.4650.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 version: 4.8.4644.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Magic.ModernUI
Assembly Version: 1.0.0.0
Win32 version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/Magic.ModernUI.DLL
----------------------------------------
SharpDX.DirectInput
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/SharpDX.DLL
----------------------------------------
fsuipcClient
Assembly version: 3.3.4.404
Win32 version: 3.3.4.404
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/fsuipcClient.DLL
----------------------------------------
mscorlib.resources
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
just-in-time (JIT) instead of this dialog box.
************** Exception text **************
System.InvalidCastException: Cannot cast an object of type 'System.Windows.Forms.TextBox' to type 'System.Windows.Forms.Button'.
at FSFO_NEXT.Dashboard.Button_Clicked(Object sender, EventArgs e) in C:\Users\kingm\Dropbox\FSFO\FSFO_NEXT\FSFO_NEXT\Forms\Dashboard.cs:line 825
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message&m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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.8.4645.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
FSFO_NEXT
Assembly Version: 1.2.15.0
Win32 version: 1.2.15.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/FSFO_NEXT.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 version: 4.8.4654.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 version: 4.8.4650.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 version: 4.8.4644.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Magic.ModernUI
Assembly Version: 1.0.0.0
Win32 version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/Magic.ModernUI.DLL
----------------------------------------
SharpDX.DirectInput
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
Assembly Version: 4.2.0.0
Win32 Version: 4.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/SharpDX.DLL
----------------------------------------
fsuipcClient
Assembly version: 3.3.4.404
Win32 version: 3.3.4.404
CodeBase: file:///C:/Program%20Files%20(x86)/Flight%20Simulator%20First%20Officer%20Next/fsuipcClient.DLL
----------------------------------------
mscorlib.resources
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Assembly Version: 4.0.0.0
Win32 version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------