POST
|
Sebastian, m_activeViewEventsEvent_ItemAdded is not a variable - its a method. Sorry I should rename the method to just activeViewEventsEvent_ItemAdded - sorry dealing with some legacy code here. I will try out the other links. I really appreciate your help. thanks, VK
... View more
04-18-2012
07:39 AM
|
0
|
0
|
383
|
POST
|
Sebastian, No this isn't working. This is actually what I am doing in my code. VK.
... View more
04-16-2012
08:23 AM
|
0
|
0
|
383
|
POST
|
Hello, I am working on an Add-In where I need to wire up events for IActiveViewEvents_Event.ItemAdded and IActiveViewEvents_Event.ItemDeleted. Basically I need to way to execute my code when a layer is added/deleted. I have tried: m_activeViewEventsEvent = ArcMap.Document.FocusMap as IActiveViewEvents_Event;
m_activeViewEventsEvent.ItemDeleted += new IActiveViewEvents_ItemDeletedEventHandler(m_activeViewEventsEvent_ItemDeleted);
m_activeViewEventsEvent.ItemAdded += new IActiveViewEvents_ItemAddedEventHandler(m_activeViewEventsEvent_ItemAdded); But the events never fire. This code used to work just fine in 9.3. Has something change in 10.0? Any help will be appreciated. Thanks, VK
... View more
04-13-2012
07:02 AM
|
0
|
4
|
2552
|
POST
|
Hello, I have set up Token based authentication for my GIS Services in ArcGIS Server and I am using that to access a WMS service. Everything works fine when I use the computer name as the address for the WMS service ex: http://compname/arcgis/services/servicename/MapServer/WMSServer?token=Gc478SaZSbt_DNrAO-Z7L3cAhWJLo6YYfzDXGoxmRgBSZKwiwf-n1uox7YJGriDW&. But when I replace the computer (compname in the url above) name with an ipaddress i get a "Token Authentication Failure". I have tried changing the TokenServiceURL in Token/Web.config and Rest/Web.config and also the OnlineResource URL in service.cfg file. But, nothing works. Please let me know if I am missing something. Thanks, Vamsee.
... View more
01-11-2011
12:00 PM
|
0
|
1
|
5449
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|