Automation with ActiveX

Required Edition

Automation, Enterprise Automation

BarTender supports ActiveX Automation, exposing its functionality as a set of software objects. Using a programming language, like Visual Basic 6.0, VB.NET, or C#, you can programmatically accomplish most tasks that you can do with BarTender's graphical user interface.

The example code in this help uses VB.NET and C#, although you can use any programming language that supports Microsoft’s automation interface. These topics assume that you are familiar with the BarTender application, with VB.NET or C# syntax, and with .NET.

We recommend that you use the fully qualified names of BarTender objects, as we do in all examples in this help. If you prefer to use the shorter form of the names, you can add a VB.NET Imports BarTender or a C# using BarTender command to your program. However, with C#, you will still need to fully qualify references to an Application class as either BarTender.Application or System.Windows.Forms.Application.

To use ActiveX Automation with BarTender, you must have the Automation Edition or the Enterprise Automation Edition of BarTender installed on your system.