Visual Basic SMS SDK

The VB6 SDK uses a lightweight COM component that can be freely distributed with your application to aid in the intergration with the Esendex SMS service.

Functionality provided by the SDK includes; sending SMS, receiving SMS, receiving events, account management, and contact management. Use the menu below to navigate through this SDK documentation.

Setup

The text below details important information on installing the SDK and external components, general usage instructions, description of the downloads, and links to other information you may find useful.

Requirements

In order to use the VB6 SDK you will require the Esendex COM component, EsendexSdk2.dll. You can find the latest VB SDK in our Downloads section.

Installation

To use the COM component, you must register it with the system. To do this, type the following from a command prompt:

REGSVR32 EsendexSdk2.DLL

You will see a message that the component has been successfully registered.

General Usage

To use the component in Visual Basic, do the following:

  • From the Project menu, choose References.
  • In the Available References list, select “Esendex 2.0 Type Library”.
  • Click OK.

You can then send a message as follows:

Dim service as new EsendexLib.SendService2
service.Initialise "MyUserName", "MyPassword", "MyAccount"
service.SendMessage "441234567890", "Hello", EsendexLib.MESSAGE_TYPE_TEXT