Archived Forum Post

Index of archived forum posts

Question:

Using Chilkat ActiveX Components with Xojo?

May 14 '14 at 23:41

I am trying to get the ActiveX to work with Xojo (previously called Real Basic) under Windows 8.1 but cannot find any examples and it does not appear to work in the same way the VB example suggest. Do you have any examples of using your tools in Xojo.


Answer

I gave it a test and this is what's required:

  1. In the Xojo menu, choose Insert-->ActiveX Component...
  2. Choose any Chilkat_v9_5_0 object.
  3. Import, which will bring in all objects contained within the single DLL

Here is a sample code snippet for instantiating a Chilkat ActiveX instance:

  Dim email as new Chilkat_v9_5_0.ChilkatEmail

PushButton1.Caption = email.Version

Here is a screenshot: alt text