How to open a set of layers in a new arcMap window programatically?

382
3
05-31-2011 08:07 PM
SunilJammalamadaka
New Contributor
Hi all,

I have a set of feature classes viz, point & line, the connections to these features are made in such a manner so as to represent a electrical network. This network is bound by a polygon feature. My requirement is, if i click the polygon, the network should be opened in a new arcmap window.

Plz respond quickly.
0 Kudos
3 Replies
Dr__Ajay_SinghTomar
New Contributor
Hi,

Are you using ArcObjects with ArcFM or ArcObjects with VBA.
0 Kudos
SunilJammalamadaka
New Contributor
apologies for responding late, arcobjects with arcmap. i've got it fixed. thanks 4 the reply though. 🙂
0 Kudos
SumitSharma
New Contributor III
Hi,


You can try capturing Onclick event and run the following to start Arcmap:

Process.Start("C:\\Program Files\\ArcGIS\\Desktop10.0\\Bin\\ArcMap.exe");


Sumit!!
0 Kudos