Esendex Visual Basic SMS SDK for VB6

NOTE: If you're using VB.Net, we strong recommend using the Esendex .Net SMS SDK instead.

The VB6 SDK uses a lightweight COM component that can be freely distributed with your application to aid in the integration 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.


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.


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.


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.

Note: This component is not compatible with 64bit versions of Windows


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 

Take it further

If you want to learn more please visit the following links: