|
|
| |
|
To use a Distinct ActiveX control in a
Paradox 7.0 application, the application must include definitions of the actions and
errors for the control. These definitions are listed in the D_*.PDX file (where *
represents the control name) shipped with the ActiveX control. For
example, the D_FTP.PDX file contains the definitions for the FTP control. This file must
be included in the project that uses the control. Next, the Distinct
ActiveX control must be added to Paradox 7.0. This is accomplished by opening a form in
design mode, right clicking on the OLE Controls tab and choosing the Add OLE Control menu
item. Choose the Distinct ActiveX Control of interest from the list of available controls.
How
to Run the Sample Programs in Paradox
To run the Paradox samples:
- Open the Paradox 7.0 programming environment.
- Go to the Project Viewer window (this comes up when you click on the Paradox 7.0 icon).
- Change the working directory to ..samplesparadoxftp. To do this use the Browser icon
at the side of the edit control.
- All the project related files will display in the window.
- Right click the mouse on the FTPCLNT.FSL file. This displays a drop down menu.
- Click on Design Form.
- To run the sample select View Data in the Form menu or press F8. Note that the main menu
gets replaced by the menu of sample program.
Where to find the Paradox samples you need
Samples are stored in subfolders below the Paradox folder. Below we describe
what each sample does. The folder column shows the subfolder name that contains one or
more samples and the ActiveX control whose use is illustrated by the sample.
| Folder |
Included Samples |
| FTP (FTP Client ActiveX) |
This ftpclnt sample program shows you how to make a
connection to the FTP server, send FTP commands and close your FTP connection. It
demonstrates much of the functionality of the FTP client ActiveX control, illustrating the
functions as menu items to simplify the code breakdown and allow the programmer to quickly
find some sample code for a particular method or property. This sample also illustrates
how to connect to an FTP server through a SOCKS firewall proxy. |
| Windows Sockets (Windows Sockets ActiveX) |
Daytime: The daytime sample
program illustrates how make a UDP or TCP connection to the remote host and
retrieve the reply from the host.
Message: This folder contains two programs recv and send
that are intended to work together to illustrate how to write the client and
server side of a TCP connection using the Windows Sockets control. |
*Get Adobe Acrobat Reader if needed.
|
|
Browse FAQ
Related Products Mail Objects
Recommended Add-On Network Monitor, Protocol Analyzer
Raves
"The night before I went on summer
holiday we had to make some 'last minute' configuration changes to
approx.
300 routers, a tedious job to do manually with telnet. We went along with
MS
Excel containing a list of IP-adresses to the routers, and the VIT
telnet-component. One hour later the VBA-application (small is beautiful)
was working, and after another hour all of our routers were updated with
the
new configuration. I just say a big "Thanks" to you all for a good sleep
that night."
Eirik Brendholen,
Ergo Integration AS
"We conducted a test session to compare the performance of similar products, and Distinct's product was better!" [more] Dr. Shyam Sunder, Carnegie Mellon University"Together with Distinct, we were able to offer our users an ideal soution to enabling them to connect to Yahoo! Pager, and to do so both quickly and reliably." [more] Brian Park, Producer of Yahoo! Pager, Yahoo! Inc.
|
|