CoolUtils Logo
German  Italian  Dutch  Spanish  Korean  Russian

How To Call HTML ConverterX ActiveX from ColdFusion on Windows

Buy Total HTML Converter X NOW!
(only $150.00)
If you run ColdFusion on Windows, you can still convert HTML files to PDF, DOC, TXT, TIFF. For this call HTML ConverterX using the ActiveX interface. This interface is provided in the form of an ActiveX DLL file that needs to be registered in the Windows registry using REGSVR32.EXE:
regsvr32 C:\HTMLConverterX\HTMLConverter.dll
In order to call HTMLConverter from ColdFusion, we need to create a COM object using the CreateObject function that is available in CFML scripting (you can also use the <cfobject ...> tag if you prefer). Once the COM object is created, you can use the COM interface methods to perform the tasks.

Find some sample usage below:

   pr = CreateObject("Com", "HTMLConverter.HTMLConverterX", "local");

   if (pr.Convert("C:\examples\magic.html", "C:\output.pdf", "-c PDF") eq 1)


Back to HTML Converter X Home

Buy Total HTML Converter X NOW!
(only $150.00)
   Updated Wed, 27 Sep 2017
Total HTML Converter X Preview1

Site Map  |  Contacts |  Press Center | Resellers | About |  Privacy Policy |    Copyright © 1998-2017 CoolUtils Development. All rights reserved.   GPlus