ArcGIS Desktop and VBA?

There’s been some confusion from about VBA support…

First let me say that ArcGIS Desktop 10 does support Microsoft VBA however 10 will be the last version with VBA support.  Developers with existing VBA customizations should use the 10 release to migrate to Python, add-ins, or, in rare occasions, to custom ArcObjects components.

Previous to 10, VBA runtime was installed by setup.exe for ArcGIS Desktop. At 10, the VBA runtime is installed by setup.exe of the ArcGIS VBA Resources setup.  For Beta go to the ArcGIS Desktop DVD or DVD image that you downloaded and find the “ArcGIS Desktop VBA Resources for Developers” setup from the DVD setup menu, or under the SDK_VBA folder.  This setup will install the VBA Runtime and necessary files for VBA support in the ArcGIS Desktop application.

Once you have VBA installed you’ll need to get a free VBA 10 authorization file.  If you are a concurrent use beta tester, you’ll need to request a new license file through ESRI Customer Services.  For single-use beta testers, use the beta 1 authorization file provide on the ArcGIS Desktop DVD under the authorization_files folder. To request a Concurrent Use VBA license, login to the Resource Center, open the Support page and click the Request a Beta License File link under Other Support Resources.

Summary – If you need VBA support in ArcGIS Desktop applications:

  • Install ArcGIS Desktop
  • Install ArcGIS VBA Resources
  • Obtain a license for VBA

Update August 26th 2010

If you have requested the authorization number for VBA, it would have been in an e-mail from ESRI Customer Service. It will also be visible in the Authorization and Provisioning section of the Customer Care site. If you cannot locate this information, contact Customer Service.

Note: The VBA authorization number is not automatically included with your ArcGIS installation media. The primary contact on your account needs to contact your customer service representative directly, by email, for an authorization number.

 

This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

Leave a Reply

9 Comments

  1. lincoln.king@amec.com says:

    The ArcGIS Admin screen gives no hint as to how to authorize VBA…. ????

  2. rpe2 says:

    The VBA authorization number is not automatically included with your ArcGIS installation media. The primary contact on your account needs to contact your customer service representative directly, by email, for an authorization number.

  3. jeffhamblin says:

    I have to say, this whole authorization process for VBA in 10 is a royal pain.

  4. duanepfeiffer says:

    Yes, this is a pain! If it is free, then just automatically send us one upon request. I’m waiting now for my account manager to figure it out.

  5. RockytheSquirrel says:

    “To request a Concurrent Use VBA license, login to the Resource Center, open the Support page and click the Request a Beta License File link under Other Support Resources.”

    I followed the link, didn’t find the “support page”, and thus did not find the “Other support resources”.

    There has got to be a more straight-forward approach. It doesn’t have to be this hard.

  6. arnabbandyo says:

    Well, my problem is different. I have successfully licensed the VBA.

    However, my custom-developed toolbars (with ArcGIS 9.3) are not showing up in ArcGIS 10 when I open the .MXD file in which the toolbar was saved. In the VBA/Macro Editor everything is coming including the developed customized forms and their codes. But the toolbar is missing from the ArcMap which contained command buttons to run these macros.

    Any thoughts?

  7. Denise62 says:

    Request this blog be updated since it is causing confusion among users even at 10.1 Beta. Esri should be sending the same message to all users, please see Forums post stating “VBA is back by popular demand”, http://forums.arcgis.com/threads/35950-What-s-the-purpose-of-the-VBA-Compatibility-exe.

    Thanks,
    Denise
    dking@esri.com

  8. sacdou says:

    Here’s some new info from the What’s in 10.1 page:
    http://www.esri.com/software/arcgis/arcgis10/whats-coming/common-questions.html

    “Is VBA supported at ArcGIS 10.1?
    At ArcGIS 10.1 there will not be an ArcObjects VBA SDK nor will we support new VBA development with ArcGIS for Desktop. There will be an optional separate setup for legacy VBA support in the ArcGIS applications. This will require an additional license authorization similar to ArcGIS 10.

    We are making VBA available if needed so existing solutions can continue to work while the code is being migrated to .NET. We recommend all users with VBA code start migrating now to an add-in or custom extension using the ArcObjects SDK for .NET or Java. This is the end of Esri’s support of VBA as a development or customization language for ArcGIS.”

    More discussion here:
    http://forums.arcgis.com/threads/38577-VBA-support-extended-to-ArcGIS-10.1