geet

VB.Net Application Opening Multiple ArcMap at a time.

Discussion created by geet on Apr 14, 2011
Latest reply on Apr 18, 2011 by jdeweese-esristaff
Dear All,
I am new to ArcGIS programming and working on a VB.NEt application which have the followings- A custom ArcMap Extension which again has 15 Menubars and some commands. The application is not giving any errors, but when I debug or run the application, It first initializes the extension login to the application then opens 19 new ArcMap instances. Afer that only it initializes the indevidual commands and opens ArcMap application.

I am not able to understand the problem. Again when I unregister the application dll ArcMap is opening normally, otherwise if I try to open ArcMap ( Programme menu also) it is initialising 20 times and the I can open any of these 19 ArcMap except for the first instance.

Can anybody tell me why this is happening. All suggestions are also welcomed.

Thanks in advance..

Geet.

Outcomes