Barcode オブジェクトは、他の Toolkit オブジェクトで使用する手順ではインスタンス作成されません。プログラム識別子や ProgID を使用して、Barcode オブジェクトを作成します。Barcode オブジェクトの ProgID は APToolkit.Barcode です。
次の構文で、Barcode オブジェクトを作成します。
Object = CreateObject("APToolkit.Barcode")
サンプル スクリプト
Set TK = CreateObject("APToolkit.Object")
Set barcode = CreateObject("APToolkit.Barcode")