C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

HELP: Method not found: 'Void System.Windows.Forms.TextBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)'

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 1
gibman Posted: Mon, May 18 2009 7:51 AM

hi !

I'm working on a small winforms project in c# using dotnet flexgrid (C1.Win.C1FlexGrid.2.dll - 2.5.20053.230) that suddenly decided to throw an exception on me when tabbing inside the grid, or when just using the keyboard in general.

 The complete stacktrace is:

 System.MissingMethodException was unhandled
  Message="Method not found: 'Void System.Windows.Forms.TextBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)'."
  Source="C1.Win.C1FlexGrid.2"
  StackTrace:
       at j1.o(Char A_0)
       at j1.l(KeyPressEventArgs A_0)
       at C1.Win.C1FlexGrid.C1FlexGridBase.OnKeyPress(KeyPressEventArgs e)
       at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
       at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
       at System.Windows.Forms.Control.WmKeyChar(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at MedicineringsDotNetControlsTest.ControlTest.Main() in C:\projekter\FoundationServer\OpusMedicin\Source\CSC\SC\OPUS\Medication\ClientControlsTest\MedicineringsDotNetControlsTest\ControlTest.cs:line 77
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

tried rebooting, gagutil /cdl etc. nothing helped.

Then decided to start from scratch on an empty winform.

I tried to add the "flexgrid control" to the toolbox, once I did this I received the exact same error in a vistual studio msgbox.

There was an error loading types from assembly 'c:\projekter\founddationserver\opusmedicin\externalbinaries\c1.win.c1flexgrid.2.dll'

"Method not found: 'Void System.Windows.Forms.TextBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)'."

 

Any ideas as what to try next ?

Im quite stuck.

Regards

Elo.

 

 

Top 25 Contributor
Posts 455
C1_GaryB replied on Fri, Jun 12 2009 11:10 AM

Hello,

You can try downloading the latest build of c1flexgrid from the following link:

http://prerelease.componentone.com/dotnet20/c1flexgrid/2009-t1/C1FlexGrid.2_2.6.20091.402.zip

Hope this helps.

Regards,

C1_GaryB.

<gibman> wrote in message news:217999@10.0.1.98...

hi !

I'm working on a small winforms project in c# using dotnet flexgrid (C1.Win.C1FlexGrid.2.dll - 2.5.20053.230) that suddenly decided to throw an exception on me when tabbing inside the grid, or when just using the keyboard in general.

 The complete stacktrace is:

 System.MissingMethodException was unhandled
  Message="Method not found: 'Void System.Windows.Forms.TextBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)'."
  Source="C1.Win.C1FlexGrid.2"
  StackTrace:
       at j1.o(Char A_0)
       at j1.l(KeyPressEventArgs A_0)
       at C1.Win.C1FlexGrid.C1FlexGridBase.OnKeyPress(KeyPressEventArgs e)
       at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
       at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
       at System.Windows.Forms.Control.WmKeyChar(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at MedicineringsDotNetControlsTest.ControlTest.Main() in C:\projekter\FoundationServer\OpusMedicin\Source\CSC\SC\OPUS\Medication\ClientControlsTest\MedicineringsDotNetControlsTest\ControlTest.cs:line 77
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

tried rebooting, gagutil /cdl etc. nothing helped.

Then decided to start from scratch on an empty winform.

I tried to add the "flexgrid control" to the toolbox, once I did this I received the exact same error in a vistual studio msgbox.

There was an error loading types from assembly 'c:\projekter\founddationserver\opusmedicin\externalbinaries\c1.win.c1flexgrid.2.dll'

"Method not found: 'Void System.Windows.Forms.TextBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)'."

 

Any ideas as what to try next ?

Im quite stuck.

Regards

Elo.

 

 



http://helpcentral.componentone.com/cs/forums/p/79267/217999.aspx#217999

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2009 ComponentOne LLC All Rights Reserved.