MBDTeam
2012-05-04T16:45:43Z
As I get not Answer on my mails, I try it this way.

Normally (v3.0) when I place a Grid on a Form, I can add columns to the Grid with the small Arrow in the right corner of the Grid. But with V3.042 I can not do this. Simply because the small arrow is missing. If I try to add columns via properties -> Cols the correct form for adding columns appears. But if I push the "Add" button, a Error Message appears:

"The constructor for "TenTec.Windows.iGridLib.Design.igColDesign" was not found" (translated from the German message).

What am I doing wrong?


Michael
Igor/10Tec
2012-05-04T18:06:57Z
Have just answered this question in an email, but it is a good question so here is the copy of the answer here.

The feature you are describing is called "designer verbs". These are specific actions available only at design-time, and they all are implemented in a separate DLL TenTec.Windows.iGridLib.iGrid.Design.v3.0.dll which is generally placed in the DesignTime subfolder of the folder with the core iGrid.NET DLL (TenTec.Windows.iGridLib.iGrid.v3.0.dll).

But that's not enough - a special registry key should be created to allow VS IDE to find that design-time library. If you used a .reg file to add it manually, it would look like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\10Tec_iGrid_4.0_Release]
@="D:\\10Tec\\Controls\\dotNET\\iGrid.NET\\v400\\Bin_Release\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\10Tec_iGrid_4.0_Release_DesignTime]
@="D:\\10Tec\\Controls\\dotNET\\iGrid.NET\\v400\\Bin_Release\\DesignTime\\"

/Sure, you should use the effective paths./

We guess you deployed the SP1 DLLs manually so you have this problem. Are we right? If you install the component using the demo installations, all these actions are performed by the installer automatically, and you do not worry about it.