Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a code that wrote with C#.But I need to convert it to VBA and then use from it into GIS. how can I convert it be VBA?

share|improve this question
ArcGIS 10 will be the last release that supports VBA. If you plan to migrate/upgrade to ArcGIS 10+ then your VBA code will no longer work. The recommended approach is to write your application in Python, VB.NET, or C#. Since you already have your application in C# you may want to consider keeping it in C#. The deprecation document can be found here:… – Ryan Taylor Oct 26 '10 at 12:27
up vote 4 down vote accepted

It really depends on how much code you are talking about. Most people try to go the other way, that is VB6\VBA to c# or

But for your case a start might be to convert the methods to and then clean up the code to VBA.

C# <-> translator

share|improve this answer
tanks a lot.I use from this.but I can't find answer after translate. – Nima Oct 26 '10 at 5:25
What should I do? – Nima Oct 26 '10 at 5:26
You could post the code? – MathiasWestin Oct 26 '10 at 5:40
yes.tanks.solved my problem. – Nima Oct 26 '10 at 5:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.