GetDockableWindow return null in windows 7

216
1
12-09-2011 11:48 AM
AshakaThakore
New Contributor II
I have arcgis dekstop 10 installed on windows 7 64 bit and windows xp

I have a dockable window -MyDockableWindow, it implements  UserControl and  IDockableWindowDef
interfaces.

This code runs fine on Windows XP

                IDockableWindowManager idwm;
                idwm = (IDockableWindowManager)this.m_application;
                IDockableWindow idw;
                UID myuid = new UID();
                myuid.Value = "MyTool.MyDockableWindow";
                idw = idwm.GetDockableWindow(myuid);
//idw is null here

But in windows 7(64 bit) it gives idw is null
0 Kudos
1 Reply
ChaoWang
Esri Contributor
More information is needed in order to help further:

1) Please try the dockable window from ESRI Sample:
Simple logging dockable window with a custom context menu
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Simple_logging_d...

2) Please check User Account Control setting on Win7 machine, make sure it's "Never Notify:

3) Set the target platform as "x86"

4) Test on other Win 7 machines.

Thanks,
Chel.
0 Kudos