CZ-Xls2Htm COMfor MS Excel V1.0 batch html converter that convert excel xls to html, support COM and command line interface, it can be called from VB, VC, DELPHI. |
|
About
CZ-Xls2Htm COM is a COM component/object designed to assist you, the developer, to quickly add a document conversion utility to your application. It can be called from VB, VC, DELPHI, and can watch source file folder and convert new uploading ms excel xls documents to html files automatically. and you can convert a lot of excel xls files on the fly to html files once time! saving your time!
Furthermore, we provide some VB and DELPHI examples. Although you may not be using Visual Basic and DELPHI, the approach for all development environments will be similar.
Key Features
A. batch convert microsoft excel xls documents to html files quickly.
B. can watch source file folder and convert new uploading ms excel xls documents to html files automatically. While your user upload excel xls documents to your website, then this folder watcher can automatically convert them into html format.
C. support COM interface and command line arguments.
D. can add the files in subfolders to convert.
E. supports drag files and folders from your desktop.
F. can create run log file.
G. can merge all html page to one page and delete the xxxx.files image Dir.
System Requirements
1.You will need a Pentium 150 PC or higher, 16MB RAM or more.
2. The operating system should be 32 bit or 64 bit Win95, Win98, Win2000, WinNT 4.0, WinME, WinXp, Win2003, Win Vista, Win 7, Win 8, Win 2008, Win 2012..
3.Of course, you must install Microsoft Excel 2000 or higher for windows
What's New In CZ-Xls2Htm COM?
2008-02-20 release CZ-Xls2Htm COM V1.0 Build080220, can convert the excel documents with open password and workbook protect password and worksheet protect password, thanks for Valerie Johnson's advice.
2003-10-15 release CZ-Xls2Htm COM V1.0 Build031015, batch html converter that convert excel xls to html, support COM and command line interface, it can be called from VB, VC, DELPHI.
Manual Convert | Folder Watcher |
Can this product support ASP?
No, this product do not support ASP, but you can use the folder watcher function that can convert new files in source file path to destination file path while new files are copied to source file path, so you can use this function to convert your Excel xls documents that are uploaded to the website to html files.
How to install it?
The install is very easy, please see the following step:
1. you only run czXls2Htm.exe, click "yes" button while displaying the dialog with "This will install cz-Xls2Htm, do you wish continue?"
2. click "next" button while displaying the dialog with "welcome to the ...."
3. select destination directory and click "next" button while displaying the dialog with "selection destination..."
4. click "next" button while displaying the dialog with "selection start..."
5. click "install" button while displaying the dialog with "ready to install"
6. click "finish" button while install finish.
How does "Manual Convert" work?
Please click "Manual Convert" tab sheet, you can simply press the "add files" button, then select the files to batch conversion list with ctrl or shift key, or click the "add folders" button to select the file folder. finally press the "convert" button, in a short time you will have finished conversion!
How does "Folder Watcher" work?
Please click "Folder Watcher" tab sheet, then click "Add Watch" button, and show a "Add Watch" dialog, and input "Source File Path", "destination File Path" and "File Filter", press "OK" button, you will add a file watch to folder watcher list. finally press "Start Watch" button, while the word documents are copied to the source path, then this folder watcher can automatically convert them into viewable html format of destination file path.
How to use command line run?
usage: CZ-Xls2Htm <file path> [/d:destination path] [/s] [/h] [/?]
<file path> the path and files want to be converted, for example, d:\*.xls
[/d:destination path] the destination file path
/s include the files in subfolders
/h hide the CZ-Xls2Htm COM gui while running
/? show help
example 1:
convert all excel xls files in disk d to html files, the destination path is d:\destination
CZ-Xls2Htm d:\*.xls /d:d:\destination /s
example 2:
convert all excel xls files in d:\ dir to html files and hide the CZ-Xls2Htm COM gui
CZ-Xls2Htm d:\*.xls /h
What's CZ-Xls2Htm COM Methods?
ConvertFolder Method
Convert doc files in folder to html files.
Syntax
strValue = oCZXls2HtmCOM.ConvertFolder(
SrcFilePath,DestFilePath,IsSubFolder,BSTR Option)
Parameters
SrcFilePath
String specifying source file path, for example "c:\*.xls"
DestFilePath
String specifying destination file path, if blank then convert to current path.
IsSubFolder
Boolean. Flag that indicates whether convert file of sub folder. If true, convert file of sub folder. If false, do not convert file of sub folder.
Option
String, reserve.
Returns
String, return the conversion error reason, if return is blank, then convert successfully, otherwise is error reason.
VB Example
The following VB example convert "c:\*.xls" to html file, not include file of sub-folder, the conversion result is in "d:\":
dim ConvertCom as object
dim sResult as string
set ConvertCom=CreateObject("czxls2htm.ConvertApplication")
sResult=ConvertCom.ConvertFolder("c:\*.xls","d:\",false,"")
if sResult="" then
msgbox "Convert OK!"
else
msgbox "Convert Failure, error reason is" & sResult
end if
set ConvertCom=nothing
DELPHI Example
The following DELPHI example convert "c:\*.xls" to html file, not include file of sub-folder, the conversion result is in "d:\":
var ConvertCom: Variant;
sResult:string;
ConvertCom := CreateOleObject('czxls2htm.ConvertApplication');
sResult:=ConvertCom.ConvertFolder('c:\*.xls','d:\',false,'');
if sResult='' then
showmessage('Convert OK!')
else
showmessage('Convert failure, error reason is ' + sResult);
ConvertCom:=UnAssigned;
How to use COM component/object in DELPHI?
1. COM Init
Example:
var ConvertCom: Variant;
ConvertCom := CreateOleObject('czxls2htm.ConvertApplication');
2. COM Method
Example:
sResult:=ConvertCom.ConvertFolder('c:\*.xls','d:\',false,'');
3. Close COM
Example:
ConvertCom:=UnAssigned;
Please click here to download the complete delphi 5.0 example.
How to use COM component/object in VB?
1. COM Init
Example:
set ConvertCom=CreateObject("czxls2htm.ConvertApplication")
2. Com Method
Example:
result=ConvertCom.ConvertFolder("c:\*.xls","d:\",false,"")
3. Close COM
Example:
set ConvertCom=nothing
We are evaluating your product for our software product. We would like to distribute your product with our product if it fits to our requirement. We are interested knowing price structure for distribution license, where we can bundle your product with our product.
You can choose to pay for each copy, or pay for Developer License. After you order the developer license, there is not any limit for the developer license, you can bundle our product to your application, then redistribute your application to anyone, any times, and anytime.
The fee of Developer License is $1320, and you can order it from http://www.convertzone.com/goto/order-cz-xls2htm-com-dev.php
How we can redistribute your product with our product? If it is possible, What file we need to insert in our setup?
You only add cz-xls2htm.exe and register.dat to your setup, and add command to run cz-xls2htm.exe with Parameters"/regserver" while installing, and add command to run cz-xls2htm.exe with Parameters"/unregserver" while uninstalling.
Is there anyway of making the watch folder as a windows service? After the machine rebooted, so we missed a bunch of conversions because you needed to login to get the product running.
Yes, you can follow http://www.convertzone.com/scheduledtasks/ to run folder watcher at all times whether someone is logged in windows or not.
Please click below button to buy CZ-Xls2Htm COM now, 100% Secure on-line