Products->CZ-Doc2Txt COM:

CZ-Doc2Txt COM for MS Word V2.0

About
CZ-Doc2Txt 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 word, rtf or html documents to text files automatically.  You can use it to convert word to text, doc to text, html to text and rtf to text! you can convert a lot of word on the fly to text 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 word to text, doc to text, html to text and rtf to text files quickly. 
B. support more output text file formats (text file, text file with line break, Ms-dos text file, Ms-dos text file with line break, unicode text file, Save Text with source character).
C. support COM interface and command line arguments.
D. can watch source file folder and convert new uploading ms word doc, rtf or html documents to text files automatically. While your user upload word documents to your website, then this folder watcher can automatically convert them into text format.
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-Doc2Txt COM?
2004-04-02 release CZ-Doc2Txt COM v2.0 build040402, support more output text file formats (text file, text file with line break, Ms-dos text file, Ms-dos text file with line break, unicode text file, Save Text with source character), and update command line and com interface.
2003-06-05 release CZ-Doc2Txt COM V2.0 Build030605, add folder watcher that watch source file path and convert new uploading ms word doc, rtf or html documents to text files automatically. While your user upload word documents to your website, then this folder watcher can automatically convert them into text format.
2002-09-04 release CZ-Doc2Txt COM V1.0 Build020904,have following function: 
A. batch convert word to text, doc to text, html to text and rtf to text 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-Doc2Txt COM support ASP?
No, CZ-Doc2Txt 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 text 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-doc2txt <file path> [/f:<destination file format code>] [/d:destination path] [/s] [/?]

       <file path>    

the path and files want to be converted, for example, d:\*.doc

       /f:<destination file format code> destination file format code
the format code list is following:
2    text file (default value)
3    text file with line break
4    Ms-dos text file
5    Ms-dos text file with line break
7    unicode text file
-3   Save Text with source character
you can find file format code in gui, please see following red frame.

      [/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 text files with line breaks, the destination path is d:\destination 
            cz-doc2txt d:\*.doc /f:3 /d:d:\destination /s
example 2:  
convert all word doc files in d:\ dir to unicode text files
           cz-doc2txt d:\*.doc /f:7
return code: the command line will return 1 if the conversion has error, and the command line will return 0 if the conversion is successful.

What's CZ-Doc2Txt COM Methods?
ConvertFolder Method
Convert doc files in folder to text files.
Syntax
strValue = oCZDoc2TxtCOM.ConvertFolder(SrcFilePath,DestFilePath,DestFileFormat,IsSubFolder,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. and you can find destination file format code in gui, please see following red frame.

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 text files with line breaks, not include file of sub-folder, the conversion result is in "d:\":
    dim ConvertCom as object
    dim sResult as string
    set ConvertCom=CreateObject("czdoc2txt.ConvertApplication")
    sResult=ConvertCom.ConvertFolder("c:\*.doc","d:\","3",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 text files with line breaks, not include file of sub-folder, the conversion result is in "d:\":
    var ConvertCom: Variant;
    sResult:string;
    ConvertCom := CreateOleObject('czdoc2txt.ConvertApplication');
    sResult:=ConvertCom.ConvertFolder('c:\*.doc','d:\','3',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('czdoc2txt.ConvertApplication');
2. COM Method
  Example:
    sResult:=ConvertCom.ConvertFolder('c:\*.doc','d:\','3',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("czdoc2txt.ConvertApplication")
2. Com Method
  Example:
    result=ConvertCom.ConvertFolder("c:\*.doc","d:\","3",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-doc2txt-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-doc2txt.exe and czdoc2txt.dll and register.dat to your install path, and use REGSVR32.EXE to register czdoc2txt.dll..

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