Hi Guys
I can't work out why , but every cell in every grid in my application ( different forms and Grids) all throw an exception when you try to copy a cell.
This happens for both the right click, select copy , or with Ctrl C
System.Runtime.InteropServices.COMException occurred
Message: Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Windows.Forms.dll
Additional information: Invalid FORMATETC structure (Exception from HRESULT: 0x80040064 (DV_E_FORMATETC))
Been googling like mad , found the info about copy events for the grid. These seem to fire (3 times each for each format) and then the exception happens. Even calling cancel in the event or trying to format the value returned still causes the exception.
I am using version v4.0.30319 , but I don't see any fixes in later versions for this.
Some trouble shooting ideas would be greatly appreciated
Regards
Rob