For COM+ (i.e. with IIS) users click here.
To download click the following links:
One very important note is that ConvertImage.EXE is both an executable application AND an ActiveX component. That is, the file, ConvertImage.EXE, can be ran as a stand alone application, and, can be referenced as a component within your development environment. In development environments such as VBA you may use something similar to the lines of code below to create an instance of the 'Convert Image' application object:
Dim oConvertImageObject as Object
Set oConvertImageObject = CreateObject("ConvertImage.clsConvertImage")
Directly below is some VBS (Visual Basic Script). You could put the following 2 lines in a text file, call it Test.VBS and give it a go:
Set converter = WScript.CreateObject("ConvertImage.clsConvertImage")
Dim lRetVal as Long
Set ci = New ConvertImage.clsConvertImage
ci.Key = "" ' Assign Key To the 'Final Key', given upon
' Run by the command line. See 'Convert Image' documentation
' for a full listing of switches and options.
' Convert TestImage.BMP to Output.JPG.
' Verbose output with /V. Remove /V to make it completely silent.
lRetVal = ci.DoCommandLine("/sE:\delme\TryMe.BMP /TE:\delme\Output.JPG /F2 /C1 /V")
' Example of specifying a 'Conversion Job File'
' lRetVal = citp.DoCommandLine("/j""E:\delme\cj.sii""")
' DoCommandLine() Return Values
' 0 = Success
' -1 = Shareware expired
' -2 = Command line String Emtpy or invalid
' -3 = Missing required (or invalid) command line argument(s)
If (lRetVal = 0) Then
Set ci = Nothing
0 = Success
-1 = Shareware expired
-2 = Command line String empty or invalid
-3 = Missing required command line argument(s)
Copyright © 1999-2016 by SoftInterface, Inc. All Rights Reserved.
Providing Software Interfaces to automate your business.