Looking for ArcMap VBA code examples

Posted on 2003-11-03
Medium Priority
Last Modified: 2012-05-04
Hi everyone,

I'm going to try to make a custom solution for work.  I want to allow users to get information out of our database using ArcMap as an interface.  I want to be able to derive coordinates so that I can run queries from our database.  I can do the database part, but I am unfamiliar with ArcMap VBA.  

I am familiar with VBA in other applications, but not familiar with ArcMap's objects, and how to use them.  If you have any code snippets in your own projects, or know of some good ones out there on the web, I'd certainly be interested in seeing them.

Any code example will do, but this is what I'm trying to do:

1) derive the coordinates from the current view, current layer, current project.
2) Switch projection systems.
3) Find boundaries of polygons.

These things will really help me out, but I'll take anything.  

Thanks a bunch,

Greg H.
Question by:ghomrigh
  • 2
LVL 11

Expert Comment

ID: 9675872
Here is one of the better forums for ArcView VBA.   Since examples and support for Arcview VBA is scarce, I would recommend you utiilize this type of forum.  This site is also a valuable resource for other ESRI topics as well.

Hope this helps,

LVL 11

Accepted Solution

BillPowell earned 800 total points
ID: 9675873

Author Comment

ID: 9681021
Thanks Bill

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I feel like more and more people want to know how to programmatically convert addresses into geospatial locations. So in this article, I will show you how you can do it with Bing Maps. I'm going to use PowerShell, which is a nice scripting language,…
Introduction This article is designed to assist GIS (Geographic Information System) and GPS (Global Positioning System) developers using ESRI ArcGIS and other spatial information management systems.   For the uninitiated the concept of projectio…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question