IDockableWindowDef.OnCreate

682
3
05-05-2019 09:56 PM
DharmaRajan
Occasional Contributor

Hi all,

I did a code to implement a dockable window and it is working fine in my machine.

But when I deploy the same in another machine, the OnCreate method is not invoked automatically whereas the constructor which  intailize the component "InitializeComponent();" is invoked. How to resolve this issue? Kindly suggest.

0 Kudos
3 Replies
GKmieliauskas
Esri Regular Contributor

HI Dharma,

Have you registered for ArcMap your library with dockable window on another machine? Compiler registers your library on your machine automatically.

0 Kudos
DharmaRajan
Occasional Contributor

No. I didn't registered. I just added the toolbar by selecting the ".tlb" file.

Could please let me know that how to register that library with dockable window?

0 Kudos
GKmieliauskas
Esri Regular Contributor

Hi Dharma,

“C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exe” “.dll” /p:desktop