![]() Re: How to write a real code with ArcGIS (ArcMap o...
| ajneuman@gmail.... | 07-16-2006 |
If you were Registered and logged in, you could reply and use other advanced thread options
Hi every there!
I'm really confused and need help! I describe the situatuin itself: I
have ArcMap (or ArcView) and opened some map on it (by adding .SHP
files to them).
1. I want to write a Macro or Program with VBA or any other language
that RUNS one of my COMs that I've registerd in windows.
2. Firing this Macro when user clicks somewhere on the map like
Identify in ArcMap
I've searched more than 2 day all the newsgroup and web but i havn't
find a way to doing it. Because everybody was discussing what language
is better.
Please note I'm a software programmer and just new to GIS and ArcGIS.
Your consideration will be very valuable to me,
Thanks in Advance,
Afshar Mohebbi
I'm really confused and need help! I describe the situatuin itself: I
have ArcMap (or ArcView) and opened some map on it (by adding .SHP
files to them).
1. I want to write a Macro or Program with VBA or any other language
that RUNS one of my COMs that I've registerd in windows.
2. Firing this Macro when user clicks somewhere on the map like
Identify in ArcMap
I've searched more than 2 day all the newsgroup and web but i havn't
find a way to doing it. Because everybody was discussing what language
is better.
Please note I'm a software programmer and just new to GIS and ArcGIS.
Your consideration will be very valuable to me,
Thanks in Advance,
Afshar Mohebbi
Hello, Have you tried the ESRI Developer Network or ESRI Support site?
http://edn.esri.com/ OR http://support.esri.com/
There you can find forums and develoer samples in multiple languages.
Also if you have installed the ArcObjects Developer kit there are code
samples (Typically written for VBA) and plenty of documentation.
ESRI allows you the flexibility to use any COM language or .NET to
develope code for ArcGIS however, if you want to use VBA then, you
limited to developing tools that written in either the MXD or MXT
which, isn't the most stable location for your code.
Also, you shouldn't have any problem incorporating your own COM objects
with ArcObjects in any language you choose. I often you custom class
libraries in both VBA and VB when writing tools for ArcGIS.
I hope this helps!
Andrew Neuman
afshar wrote:
http://edn.esri.com/ OR http://support.esri.com/
There you can find forums and develoer samples in multiple languages.
Also if you have installed the ArcObjects Developer kit there are code
samples (Typically written for VBA) and plenty of documentation.
ESRI allows you the flexibility to use any COM language or .NET to
develope code for ArcGIS however, if you want to use VBA then, you
limited to developing tools that written in either the MXD or MXT
which, isn't the most stable location for your code.
Also, you shouldn't have any problem incorporating your own COM objects
with ArcObjects in any language you choose. I often you custom class
libraries in both VBA and VB when writing tools for ArcGIS.
I hope this helps!
Andrew Neuman
afshar wrote:
- Selling one unlock code with GPS 18
- Garmin GPS
- 2006-12-20
- My 255W tried to kill me
- Garmin GPS
- 2012-01-26
- 200w: Unlock Code/Shortcuts
- Garmin GPS
- 2008-04-13



> I'm really confused and need help! I describe the situatuin itself: I
> have ArcMap (or ArcView) and opened some map on it (by adding .SHP
> files to them).
> 1. I want to write a Macro or Program with VBA or any other language
> that RUNS one of my COMs that I've registerd in windows.
> 2. Firing this Macro when user clicks somewhere on the map like
> Identify in ArcMap
> I've searched more than 2 day all the newsgroup and web but i havn't
> find a way to doing it. Because everybody was discussing what language
> is better.
> Please note I'm a software programmer and just new to GIS and ArcGIS.
> Your consideration will be very valuable to me,
>
> Thanks in Advance,
> Afshar Mohebbi