com.esri.arcgis.framework
Interface IVbaApplication

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Application, Application, Application, Application, IVbaApplicationProxy

public interface IVbaApplication
extends java.io.Serializable

COM Interface 'IVbaApplication'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description: 'Provides access to members that modify the VBA projects in this application.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDd7ee3483_004d_11d4_9fe7_00c04f6bc78e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void createCodeModule(java.lang.String docName, java.lang.String moduleName)
          Creates a code module in the specified VBA project.
 void insertCode(java.lang.String docName, java.lang.String moduleName, java.lang.String codeText)
          Inserts code into the specified module.
 void removeCodeModule(java.lang.String docName, java.lang.String moduleName)
          Removes a code module from the specified VBA project.
 java.lang.Object runVBAMacro(java.lang.String docName, java.lang.String moduleName, java.lang.String macroName, java.lang.Object arguments)
          Runs the specified VBA macro.
 

Field Detail

IIDd7ee3483_004d_11d4_9fe7_00c04f6bc78e

static final int IIDd7ee3483_004d_11d4_9fe7_00c04f6bc78e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

runVBAMacro

java.lang.Object runVBAMacro(java.lang.String docName,
                             java.lang.String moduleName,
                             java.lang.String macroName,
                             java.lang.Object arguments)
                             throws java.io.IOException,
                                    AutomationException
Runs the specified VBA macro.

Parameters:
docName - The docName (in)
moduleName - The moduleName (in)
macroName - The macroName (in)
arguments - A Variant (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createCodeModule

void createCodeModule(java.lang.String docName,
                      java.lang.String moduleName)
                      throws java.io.IOException,
                             AutomationException
Creates a code module in the specified VBA project.

Parameters:
docName - The docName (in)
moduleName - The moduleName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeCodeModule

void removeCodeModule(java.lang.String docName,
                      java.lang.String moduleName)
                      throws java.io.IOException,
                             AutomationException
Removes a code module from the specified VBA project.

Parameters:
docName - The docName (in)
moduleName - The moduleName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertCode

void insertCode(java.lang.String docName,
                java.lang.String moduleName,
                java.lang.String codeText)
                throws java.io.IOException,
                       AutomationException
Inserts code into the specified module.

Parameters:
docName - The docName (in)
moduleName - The moduleName (in)
codeText - The codeText (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.