Useful Tools (c) is a suite of useful VCL components for Delphi developped by Xavier Cirac. These components are free to download and evaluate (they are shareware), but if you want to use them in a commercial program, or you want technical support for them you have to register them. Registration also helps me to develop new versions of these components, and also to develop new components.

In this site you can download the components, you will find information about the components and their methods, events and properties, and you will be able to register them online using a secure server.

Useful tools suite includes :

Thanks in advance for registering them.
Xavier Cirac

 

 TFTPCLIENT Registration fee [35 $]


Description :


 


This component is an easy FTP client. This means that it supports the FTP Internet Protocol ( File Transfer Protocol ), and lets you FTP any site. It uses non-blocking sockets, so your application won't be blocked during the operation. It is very easy to use: just connect to a server and use the system functions that you need. That's all.

Register :




 

You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :













Information: This is the last information line (for exemple: server responses)
WorkingDirectory: Current server working directory
LastList: The contents of the last call to the LIST function (like MSDOS dir or UNIX ls).
Waiting: Indicates if the client is waiting for the server response.
PASV : Selects if PASV Mode is used - NEW in v.8.0!!!
SoundFile: File to use as sound for an error/connection notification.
User: Login of the user.
Password: Password of the user
Host: Address of the host (FTP server) to connect.
Port: FTP Port (standard:21)
DataType: Type of the data to be transferred (ASCII, Binary or Auto)
Name: Name of the component 

 

Methods :



















 

 

Create: Creates the component  (Constructor)
MKD: Make Directory (creates a directory in the server).
PASV : Changes to PASV Mode - NEW in v.8.0!!!
PWD: Print Working Directory
RMD: Remove Directory (deletes a server directory).
CWD: Change working directory (like MSDOS/Unix cd)
CDUP: Change the working directory to the parent of the current one.
FTPConnect: Connects to the host specified in the Host property with the user and password specified in the User and Password properties.
Open: Like FTPConnect but using parameters.
LIST: Lists the contents of the current directory. It is like the MSDOS 'dir' or the Unix 'ls'.
DeleteFile: Deletes a server file
Quit: Closes the current session
RenameFile: Changes the name of a server file
Abort: Aborts the current transaction
Cancel: Cancels the current operation even if the client is waiting for a server response.
Put: Uploads a file to the server
Get: Downloads a file from the server
System: Retrieves server system properties
NOOP: No Operation
CustomCommand: Lets you define extra FTP functions.

 

Events :




 

 

OnError  :Happens if an error occurs
OnInformation: Happens every time that the client needs to show an information (for example: server responses, errors...)
OnConnected: Happens when a session is established successfully
OnConnectionClosed : Happens if the connection is closed
OnFileGet: Happens when a file download is completed
OnFilePut: Happens when a file upload is completted    

 

TPARPORT Registration fee [35 $]

Description :



This component lets you write and read a byte to/from the parallel port (LPT1/LPT2), controlling if any error has ocurred.
Note: It only works under Windows 95/98 (Not in NT):


You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :







LPT_Used: LPT1 or LPT2 
LPT1_address: address of LPT1 input port (default 378h) 
LPT2_address: address of LPT2 input port (default 278h) 
Status (runtime): The status of the port as returned for a printer 
Name: Name of the component 
ValueGet: value returned when the method Get is called. 
ValueSend: value sent when the method send is called.

Methods :



Create: Creates the component 
Get: Returns the 5 bits input from the Parallel Port 
Send: Sends a byte to the Parallel Port

Events :





OnError 
OnBeforeSend 
OnAfterSend 
OnBeforeGet 
OnAfterGet

 TEXECUTE Registration fee [20 $]

Description :


This component lets you execute any other program, selecting the kind of execution desired. It can execute Windows and DOS aplication, and wait for them to end.

You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :





Command: The command line of the file to execute 
Flags: The kind of execution 
Visible: The window type of the executed aplication (Hide,Min,Max,...) 
Wait: If you want the component to wait for the aplication to end 
Result (Runtime): The result of the aplication executed

Methods :

Execute: Executes the command

Events :



OnExit 
OnEnter 
OnError

 TCDPLAYER Registration fee [35 $]

Description :


This component lets hear music from your CD ROM drive just calling simple functions like Play, Stop, Pause, Next, and so on. Using this component you will be able to add a CD player to any delphi program.

You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :




Active: Shows the state of the component (Active or not Active). Setting this property to true is the same that calling Open function. 
Tracks: Gives you the number of  tracks of the current CD. 
TotalLength: Gives you the total duration of the CD in seconds.

Methods :

















Open: Initiallizes the CD and its properties. 
PlayTrack(track): Plays a Track of the CD. 
PlayFrom(Second): Plays the CD from a concrete second. 
Stop: Stops the playing 
Pause: Pauses the playing 
Restart:  Restarts the playing when paused. 
Next:  Next track 
Previous: Previous track 
Eject: Opens the CDROM drive door 
CloseDoor: Closes the CD drive door 
CDForward(Seconds): Forwards the playing with the number of seconds passed into the parameter Seconds. 
CDRewind(Seconds): Rewinds the playing with the number of seconds passed into the parameter Seconds. 
GetCurrentTrack: Returns the current track that is being played. 
GetCurrentPosition:  Returns the current second that is being played. 
GetTrackLength(Track): Returns the duration in seconds of the track number passed into the parameter Track. 
GetTrackBegin(Track): Returns begining time in seconds of the track number passed into the parameter Track. 
GetTotalLength: Returns the total duration in seconds of the whole CD.

TWAVREC Registration fee [30 $]

Description :


This component lets you record any sound just using the functions BeginRecording and StopRecording. It uses MCI multimedia functions and the output format follows WAV PCM format.

You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :








Filename: This is the name of the output sound file. (i.e: c:\mysound.wav)
Showerror: This property lets you choose if the component is going to show its own error messages.
WAVFormat: Format of the output sound file. You only have to specify 3 characteristics of the format (instead of all the variables that has the class TWaveFormatEx):
-Channels: Number of channels (Mono=1, Stereo=2).
-BitsPerSample: The number of bits per sample of the output sound file. It can only be 8 or 16.
-SamplesPerSec: The number of samples per second of the output sound file (the frequency). Usually: 11025, 22050, 44100 (CD).

Methods :




BeginRecording: Begins the recording of the sound file using the format specified in the WAVFormat property. It has no parameters.
StopRecording: Stops the recording of the sound file (you have to call the function BeginRecording previously). It has no parameters.

Events :



OnError
OnBegin
OnStop

TFINGERCLIENT Registration fee [20 $]

Description :


This component is an easy finger client. This means that it supports the Finger Internet Protocol, and lets you finger any site. It uses non-blocking sockets, so your application won't be blocked during the operation. You can also use this component in other similar internet protocols that connect to a Server and return a Text String (Whois, Time, etc), changing the Port property.

You can register this component from Emetrix Shareware Registration Services. Transactions are via Credit Card with the option of making the purchase over a secure server, via an U.S. tool free phone or fax. 
Once you have registered you will be mailed with the source code, demo and a written license letting you use this shareware component.

Properties :





FingerPort: Lets you select the port to finger (default is 79)
FingerUser: It is the name of the user to finger
FingerHost: It is the name of the host to finger
Response: A string containing the response of the last finger host.
Canceled: Shows if the last finger has been canceled

Methods :



DoFinger: Fingers a user in the host, but you have to pass them as a parameter.
FingerIt: Fingers the user and host specified in the FingerUser and FingerHost properties.
Cancel: Cancels the current finger operation.

Events :





OnError
OnClose
OnFingered
OnFingerCall

BE NOTIFIED:
 

    
If you wish to be notified every time a new version appears, please fill up the next form:
 


Which is your name?:

And your E-mail address?:

I would like to receive information about:

Where do you come from?:



[TFTPCLIENT] [TPARPORT] [TEXECUTE] [TCDPLAYER] [TWAVREC] [TFINGERCLIENT]

(c) Xavier Cirac. All rights reserved
mail: <vcl@waveflow.com>