thib

Speed of code in ArcGis Extension

Discussion created by thib on May 23, 2011
Latest reply on May 24, 2011 by thib
Hi,

I have a serious issue regarding the speed of the code I am writing in my ArcGIS extension:

I have written a process in order to read some data from an access database.

- The ArcGis extension is controlling a TCP/IP server such that the database path can be received from an XML sent over the network.
- There is also a command button that allows doing the same thing by specifying manually the database path (it is also calling the IExtension function on the onclick event).

both ways work correctly with the TCP/IP server turned on. However the click on the button is much much more faster (1s againt 7min) that the network  stuff. The problem is not coming from the network communication because the database path is received very quickly (I checked by debugging).

Does someone have an idea? I am quite desesperate because I don't have any clue how to solve it!!!

Thanks a lot

Outcomes