You are here: AgileShapes > Advanced Extension > VB

VB

This AgileShape can be used to add managed custom code using the Visual Basic coding language.

 

Custom Assembly Support 

The Managed Code C# and Managed Code VB AgileParts allow developers to add custom classes to their code snippets. Support for custom classes requires the following setup:

  1. In a text editor, create a new file.
  2. In the text file, paste the following:

    <?xml version="1.0" encoding="utf-8" ?>

       <configuration>

          <assemblies>

             <Assembly>Infragistics2.WebUI.Misc.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb</Assembly>

          </assemblies>

       </configuration>
  3. Replace the information in the Assembly element with the correct information for your assembly. You can add as many Assembly nodes as required.
  4. Save the file with the name CustomAssembly.xml.
  5. Place a copy of the file in all of the following locations:

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

CodeSnippet

NOTE: This property can only be updated via the CodeSnippet property. See that property for additional information. This property allows the process modeler to build and compile the managed code C# Snippet. Click the Ellipses button to open the Managed Code VB Snippet (as shown below).

 

 

Debug

Default value: True

This property determines whether the AgileShape will log additional progress and debugging messages to the AgilePoint Server log file at runtime. This property can be set to the following specific values: