Error: This document may contain VBA code but you don’t have a VBA license
【相关信息】
Article ID: 42322
Software:
ArcGIS for Desktop Advanced 10.1, 10.2, 10.2.1
ArcGIS for Desktop Standard 10.1, 10.2, 10.2.1
ArcGIS for Desktop Basic 10.1, 10.2, 10.2.1
Platforms:
Windows XP, Vista, Windows 7
【错误信息】
Opening an MXD file in version 10.1 or higher that contains VBA customizations displays a message that says "This document may contain VBA code but you don’t have a VBA license."
【错误原因】
Support for VBA was deprecated with the 10.1 release of ArcGIS for Desktop. As such, the resources needed to execute VBA customizations are not included with the default install of ArcGIS for Desktop version 10.1 or higher.
To use VBA with ArcGIS for Desktop 10.1 or higher, it is necessary to obtain the VBA Compatibility utility and VBA license authorization file. These files are provided free of charge, but are required to utilize any VBA customizations.
This installation does not include the ArcObjects VBA SDK assemblies, which are needed to develop VBA customizations.
As VBA is no longer supported by the ArcGIS for Desktop application, Esri cannot guarantee that all VBA code that worked in previous versions works in future releases of the software. After using the VBA Compatibility utility it is expected that users work towards migrating their customizations to a supported language (Java, C++, VB.NET or C#.NET).
Article ID: 42322
Software:
ArcGIS for Desktop Advanced 10.1, 10.2, 10.2.1
ArcGIS for Desktop Standard 10.1, 10.2, 10.2.1
ArcGIS for Desktop Basic 10.1, 10.2, 10.2.1
Platforms:
Windows XP, Vista, Windows 7
【错误信息】
Opening an MXD file in version 10.1 or higher that contains VBA customizations displays a message that says "This document may contain VBA code but you don’t have a VBA license."
【错误原因】
Support for VBA was deprecated with the 10.1 release of ArcGIS for Desktop. As such, the resources needed to execute VBA customizations are not included with the default install of ArcGIS for Desktop version 10.1 or higher.
To use VBA with ArcGIS for Desktop 10.1 or higher, it is necessary to obtain the VBA Compatibility utility and VBA license authorization file. These files are provided free of charge, but are required to utilize any VBA customizations.
This installation does not include the ArcObjects VBA SDK assemblies, which are needed to develop VBA customizations.
As VBA is no longer supported by the ArcGIS for Desktop application, Esri cannot guarantee that all VBA code that worked in previous versions works in future releases of the software. After using the VBA Compatibility utility it is expected that users work towards migrating their customizations to a supported language (Java, C++, VB.NET or C#.NET).
1 个回复
EsriSupport
赞同来自:
1. After installing ArcGIS for Desktop, install the ArcGIS for Desktop VBA Compatibility utility:
2. Authorize the ArcGIS VBA Compatibility by obtaining an authorization file for VBA.
【创建及修改时间】
Created: 3/11/2014
Last Modified: 7/28/2014
【原文链接】
http://support.esri.com/en/kno ... 42322
要回复问题请先登录或注册