Products->CZ-Doc2Htm COM:

CZ-Doc2Htm COM for MS Word V2.0
Batch convert word to html, doc to html, rtf to html and text to html, this COM component can be called from VB, VC, DELPHI


About

CZ-Doc2Htm 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, you can use it to convert doc to html, rtf to html and text to html, and can watch source file folder and convert new uploading ms word, rtf or text documents to html files automatically. you can convert a lot of documents supported by microsoft office word (text, rtf, doc , wordprefect and more) to html once time, saving your time!

Key Features
A. batch convert word to html, doc to html, text to html and rtf to html files quickly. 
B. can watch source file folder and convert new uploading ms word doc, rtf or text documents to html files automatically. While your user upload word documents to your website, then this folder watcher can automatically convert them into a viewable html format.
C. preserves original document layout, include images and tables. 
D. support COM interface and command line arguments.
E. can add the files in subfolders to convert.
F. supports drag files and folders from your desktop. 
G. can create run log file. 

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 Word 95 or higher for windows

What's New In CZ-Doc2Htm COM?
2005-05-07 release CZ-Doc2Htm COM V2.0 Build050507, delete /h command line option, and delete visible COM property.
2003-06-05
release CZ-Doc2Htm COM V2.0 Build030605, add folder watcher that watch source file path and convert new uploading ms word doc, rtf or text documents to html files automatically. While your user upload word documents to your website, then this folder watcher can automatically convert them into a viewable html format.
2002-10-29 release CZ-Doc2Htm COM V2.0 Build021029  add following function:

A. batch convert word to html, doc to html, text to html and rtf to html files quickly. 
B. preserves original document layout, include images and tables. 
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. 

Screenshots

Manual Convert Folder Watcher

Faq

Can CZ-Doc2Htm COM support ASP?
No, CZ-Doc2Htm COM 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 word documents that are uploaded to the website to html files.

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-Doc2Htm <file path> [/d:destination path] [/s] [/?]
      
<file path>       the path and files want to be converted, for example, d:\*.doc
      [/d:destination path] the destination file path
        /s                        include the files in subfolders
        /?                         show help
example 1:  
convert all word doc files in disk d to html files, the destination path is d:\destination 
            cz-Doc2Htm d:\*.doc /d:d:\destination /s
example 2:  
convert all word doc files in d:\ dir to html files
           cz-Doc2Htm d:\*.doc

What's CZ-Doc2Htm COM Methods?
ConvertFolder Method
Convert doc files in folder to html files.
Syntax
strValue = oczdoc2htmCOM.ConvertFolder(SrcFilePath,DestFilePath,DestFileFormat,IsSubFolder,BSTR Option)
Parameters
SrcFilePath
  String specifying source file path, for example "c:\*.doc"
DestFilePath
  String specifying destination file path, if blank then convert to current path.
DestFileFormat
  String specifying destination file format, reserve, please leave blank.
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:\*.doc" word files to html files, not include file of sub-folder, the conversion result is in "d:\":
    dim ConvertCom as object
    dim sResult as string
    set ConvertCom=CreateObject("czdoc2htm.ConvertApplication")
    sResult=ConvertCom.ConvertFolder("c:\*.doc","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:\*.doc" word files to html files, not include file of sub-folder, the conversion result is in "d:\":
    var ConvertCom: Variant;
    sResult:string;
    ConvertCom := CreateOleObject('czdoc2htm.ConvertApplication');
    sResult:=ConvertCom.ConvertFolder('c:\*.doc','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('czdoc2htm.ConvertApplication');
2. COM Method
  Example:
    sResult:=ConvertCom.ConvertFolder('c:\*.doc','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("czdoc2htm.ConvertApplication")
2. Com Method
  Example:
    result=ConvertCom.ConvertFolder("c:\*.doc","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-doc2htm-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-doc2htm.exe and CZDoc2Htm.dat and register.dat to your setup, and add command to run cz-doc2htm.exe with Parameters"/regserver" while installing, and add command to run cz-doc2htm.exe with Parameters"/unregserver" while uninstalling.

Please click below button to buy CZ-Doc2Htm COM now, 100% Secure on-line

Tips