A-Shell COM Reference

General Information

Using This Document

A-Shell Doc Overview

Available Docs

Organization

File Types

CHM Files

Updates

Locations

Feedback

Introduction

Background

What is the A-Shell ActiveX SDK?

Installing the A-Shell ActiveX SDK

A-Shell Licensing and the ActiveX SDK

What about A-Shell for Unix and AMOS?

Visual Basic COM Refresher

Visual Basic Object Support

COM Identifiers

In-Process and Out-of-Process Components

Early Binding and Late Binding

Interfaces

How to Automate A-Shell

How to Write a Visual Basic XCALL

IApplication Interface

Interface Summary

Abort Method

Activate Method

AtPrompt Property

DemonstrationMode Property

hWnd Property

Quit Method

RaiseError Method

Send Method

Version Property

Visible Property

IMiameLib Interface

Interface Summary

ccoff Method

ccon Method

echoff Method

echon Method

fspec2host Function

getcc Function

getecho Function

tcki Method

tin Method

wcrt Method

wgets Method

wputs Method

IXcall Interface

Execute Method

Ping Function

IXcallBlock Interface

Interface Summary

Application Method

ArgSize Property

ArgType Property

ArgValue Property

GetArg Function

GetStrArg Function

GetUnfArg Function

PutArg Method

PutStrArg Method

Code Samples

Automation Example

MESAG.SBR – Simple XCALL Example

ADO.SBR – SQL Database Access XCALL Example

Running the ADO sample

The ADO Programming Model