Microsoft Visual Basic for ApplicationsThere is been some discussion over the internet about ESRI’s decision to drop Visual Basic for Applications (VBA) support after the ArcGIS version 9.4 release. There are blog entries about why this shouldn’t happen, so I decided it is time to introduce an entry on why it should go, and what you can do about it.

5 Reasons ESRI is dropping VBA support

  1. Microsoft has stopped licensing VBA to third party applications in 2007 (source).
  2. Tied with the above reason, Microsoft has also stopped any and all developments for the language, as well as the compiler and interpreter (source).
  3. The popular Microsoft Office for the Mac version 2008 has dropped support for VBA. Even the company that created VBA is not willing to support it in some cases (source).
  4. ESRI has promised to further develop the geoprocessing objects in Python. As a result, VBA and Python will be in direct competition, if they both remain. With VBA being phased out by Microsoft, ESRI is forced to enhance the support for other rapid application development languages available, and Python seems to be the choice.
  5. Other major vendors that used VBA (see AutoCAD) are phasing it out, as Microsoft stopped licensing it to them (source).

How to manage the migration from VBA

  1. Follow the ESRI sponsored lectures on migrating your VBA code to the .Net platform (source). This would bring you into a similar environment.
  2. Become more familiar with migrating VBA to Visual Studio and Visual Basic by following the documentation Microsoft provided (source and source).
  3. If you do not wish to migrate to the .Net platform (VB.Net, C#, etc), then it may be time to begin learning Python. While ESRI does not provide similar functionality as VBA to Python, the promise is there, and it would be a good time to start (source).

Since there is nothing one can do to maintain VBA support in ArcGIS, perhaps one of the above suggestions will work. The rest of the complaints will probably not be heard by ESRI, since Microsoft is not willing to listen to their corporate customers either.

Related posts:

  1. 10 Helpful Productivity Tips for ArcMap from ESRI
  2. MakeFeatureLayer in Python
  3. Python Geoprocessing in ArcGIS 9.2 vs. 9.3
  4. Manipulating Excel files using Python part 1: Reading Excel Files

2 Responses to “ESRI is dropping support for VBA after version 9.4”

  1. So does this mean that the Visual Basic Editor will not be available in ArcGIS 10 or 10.1? Or does it mean that ESRI will simply not enhance the VBA library any further than what it already is. It sounds scary when you think that a simple Visual Basic Editor will no longer come with ArcMap.

    • Ken,

      It is my understanding that the VBA portion will be removed soon (it’s still there in 10). I am betting that ESRI is going to move everything completely to Python with possibly some code borrowing from the Eclipse people (Eclipse + PyDev).

      But then again, they can keep VBA around as long as they want, knowing Microsoft will not be releasing new versions or fixes, but that sounds like a security nightmare.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2010 Michalis Avraam Suffusion theme by Sayontan Sinha