General information
Category:
The Mere Mortals .NET Framework
' Get the current row's primary key from the mmDataGrid
Dim PK As String = grdRecvEntry.GetCurrentRowPKs().ToString()
Error:
Attempted to access an element as a type incompatible with the array.
Stack Trace:
at OakLeaf.MM.Main.Windows.Forms.mmDataGridView.GetCurrentRowPKs()
at CE.Purchase.ReqForm.grdLineItems_MouseDown(Object sender, MouseEventArgs e) in E:\VS 2005 Projects\Purchase VB\ReqForm.vb:line 3867
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.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 CE.Purchase.AppMainEntry.Main() in E:\VS 2005 Projects\Purchase VB\Main.vb:line 70
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only