Concepts

What Every Programmer Needs to Know

  • Using The Reflection Object Model

    To develop solutions that use InfoConnect, you will need to use the objects provided by the InfoConnect object model. Learn about the object hierarchy and the relationships between the object types along with descriptions of high level objects and how to use them. Learn More »

  • Handling Asynchronous Behavior

    InfoConnect terminal sessions are ascynchronous with your terminal display. This means that when you send data or commands to a host, you'll need to pause execution until the terminal responds. You'll need to use InfoConnect events and methods to handle this asychronous behavior. Learn More »

  • Using Reflection Events

    InfoConnect provides a number of events that allow you to track changes that occur in your terminal sessions. You can create event-driven macros by running VBA subroutines when these events occur. Learn More »

  • Navigating Sessions

    You can navigate through InfoConnect sessions just as you would if you were using the interface. You can also search screens for specific strings. If your workspace has more than one session open, you can also navigate between sessions. Learn More »

Best Practices

  • Naming Macros

    Use these recommended naming conventions to prevent problems caused by ambigous names and to ensure names comply with Visual Basic standards. Learn More »

  • Handling Runtime Errors

    Robust macros include error handling to trap unexpected errors. Use these guidelines to make sure that when crashes occur, the user is properly informed and your program exits gracefully. Learn More »

Tips for Programming Reflection With VBA

  • Understanding Syntax

    Use these guidelines for understanding and using the correct syntax in your Visual Basic macros. Learn More »

  • Using Predefined Constants

    InfoConnect frequently uses predefined constants in place of numbers to make macros easier to read. Predefined constants may be used as method arguments, property values, or error codes. You can use these constants in your InfoConnect macros or in Microsoft Office macros that use InfoConnect objects.  Learn More »

  • Understanding VBA Project Components

    InfoConnect creates a VBA project for each session or Web document that you open in the Visual Basic Editor. Projects are organized into folders that include objects, forms, modules, class modules, and references.  Learn More »

  • Using Named Arguments

    Use named arguments to reorder arguments, omit optional arguments, and identify the arguments in your commands. Learn More »

Managing Macros