Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

July 7, 2007

Using ActiveX in Visual DataFlex 12.0

Hopefully this article will make it easy for you to get started using any ActiveX component or control in Visual DataFlex.

The first step is to import your COM ActiveX. You can do this from the Visual DataFlex Studio. Select File/New/Class and then select the "Import COM ActiveX", as shown below:

Visual DataFlex Import COM ActiveX

Next, select the ActiveX to import, as shown in this screenshot:

Chilkat ActiveX for Visual DataFlex

This creates a .pkg file, which is a wrapper for the ActiveX.
Next, add a "Use" statement in your source code to use the .pkg file just generated. Then declare a variable for the object you’ll be creating in the next step:

ActiveX Declaration in Visual DataFlex

Finally, instantiate the object and call it. This example displays a message box with the Version property of the Chilkat Email ActiveX:

Instantiate ActiveX in Visual DataFlex

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.