|
Alternative collating sequences for Btrieve files PFXplus programs on the Internet In-Memory Tables and Temporary Indexes
|
Download from this Site
XP manifest filesThe sample manifest files are included for use with PFXplus GUI programs as described in the POWERlines article "PFXplus applications with that XP look - for free" by Chris Peskett, SS&C Technologies, Inc., USA. Click here to download the XPmanifests.zip file (1.24 KB in size). PFXplus Sampler for WindowsThis downloadable ZIP file contains a suite of programs designed to demonstrate the current capabilities of POWERflex PFXplus for Windows under the Windows 32 bit environment. Installation
Download
SAMPLER5.ZIP (1.9 MB) Exporting HTML from POWERflexThe POWERlines newsletter for May/June 2000 contains an article on exporting the output from POWERflex programs in HTML format. The downloadable HTML.ZIP file on this Web site contains the source code files for the sample POWERflex programs mentioned in that article. The files are named MEMBERS.PFR, MEMBER2.PFR, MEMBER3.PFR and MEMBER4.PFR. The image file PFXLOGO-NEW.GIF, used by some of these programs, is also included. We recommend you read the original article first. Installation
Mark 5 and SQL DIRECT SamplesThe POWERlines newsletter for May/June 2000 contains an article on POWERflex programs for SQL. The downloadable SQLSAMPL.ZIP file on this Web site contains the source code files for the sample POWERflex programs mentioned in that article. The files are named SQLCUST.PFX and ORDLINES.PFX. We recommend you read the original article first. Installation
Setting Object Fonts With WM_SETFONTOBJFONTS.ZIP is a small file containing the source code for a PFXplus program used to illustrate how to set font properties for objects on a Windows dialog. This sample program was originally mentioned in the article "Fonts with WM_SETFONT", which appeared in the January / February 2000 issue of the POWERlines newsletter.We recommend you read the original article first. Installation
Using PFX C-lib in Borland C++One of our customers, Jim Behrendt, has recently donated some sample code that demonstrates the use of PFX C-lib in Borland C++ Builder. Jim notes: "...I rewrote your sample application using C++ Builder.... The executable will run without recompilation using the 4.2 DLL." Installation
Download
CPPSAMPLE.ZIP (200 kB). Disk_Space WorkaroundThe DISKFREE.PFX sample program prepared by Andrew Schwartz (Grow Biz International Inc. - USA) offers a workaround for the DISK_SPACE limitation in PFXplus 5.0. Currently, the DISK_SPACE is limited to a return value of 2GB.Installation
Printing Long Text FieldsPRNTLONG.ZIP is a file containing the source code for a PFXplus program that creates a data file with a 200-character text field. The zip file also contains the include file PRINTLONG.MAC, which outputs the long text field, one line at a time. These files were originally mentioned in the article "Printing Long Text Fields", which appeared in the October / November 1999 issue of the POWERlines newsletter. We recommend you read the original article first.
Installation
An "INI" File ObjectINIFILES.ZIP is a file containing the source code for a PFXplus utility for maintaining INI files. This file was originally mentioned in the article "An INI File Object", which appeared in the October / November 1999 issue of the POWERlines newsletter. We recommend you read the original article first.
Installation
Alternative Collating Sequences for Btrieve filesA collating sequence specifies the sequence of the sort order for string comparison or sorting in a data file. The PFXplus program uses a private collating sequence to perform this function — a sequence configurable via the tCollate configuration item. Two standard alternative collating sequences used in all POWERflex-generated Btrieve data files are contained in the files PFXENG01.ALT and PFXENG02.ALT, which can be downloaded from this page as ZIP files. PFXENG01.ALT (contained in PFXENG01.ZIP) provides an alternative collation sequence for use with standard indexes. PFXENG02.ALT (contained in PFXENG02.ZIP) provides an alternative collating sequence for use with indexes that are case-insensitive. Installation
Download
PFXENG01.ZIP (500 bytes)
Download
PFXENG02.ZIP (400 bytes) DOS/4GW 32-Bit DOS ExtenderDOS/4GW is a 32-bit DOS Extender, designed and written by Tenberry Systems. It allows suitably-written programs to be launched from standard real mode 16-bit MS-DOS, but then to run in 32-bit protected mode. This results in two major advantages: faster execution and access to much larger amounts of memory. Programs running in 32-bit protected mode execute around 30-40% faster on an 80386 chip than do corresponding 16-bit programs. On 80486 and Pentium chips the advantage increases, to the point where running on a Pentium Pro the speed increase may be more than double. This effect is limited by the need to funnel through MS-DOS when running under MS-DOS 6.22 or Windows 3.1. Advances in extender technology have meant that DOS/4GW can run programs on Windows 95 and Windows/NT nearly as fast as native Windows applications, and very much faster than 16-bit programs running under MS-DOS emulation. Similarly, programs running in 32-bit protected mode can access large amounts of memory just as native Windows 95 and Windows/NT program do. More memory means the ability to use all the powerful PFXplus features, such as unlimited modules, chain wait depth and in-memory table. In the case of DOS/4GW, the amount is limited to 16 MB, but its "big brothers" DOS/4G and DOS/16M can access virtually unlimited amounts of memory, for those with special requirements. The version for download from this POWERflex Web site is DOS4GW.EXE version 1.97, which was provided with PFXplus version 4.23.
Download
DOS4GW.EXE Version 1.97 (260 kB)
Note that the latest version of DOS4GW.EXE is Version 2.01. We are not licensed to distribute this version, which is available from Tenberry Systems' Web site http://www.tenberry.com/. While you can still use Version 1.97 with PFXplus, the new version is preferable. If you intend to download and use Version 2.01, remember to overwrite the existing DOS4GW.EXE with the new version.
Converting Character-Based PFXplus Programs to WindowsPSAMPLE.ZIP is a small file containing the source code for a PFXplus program used to illustrate how to convert a simple character-based program to Windows. This sample program was originally mentioned in the article "Migrating to Windows", which appeared in the August / September 1998 issue of the POWERlines newsletter. We recommend you read the original article first. Installation
Putting PFXplus Programs on the InternetPFXCGI.ZIP is a small file containing sample programs and a simple Web page used to show how you can interrogate a PFXplus database via the Internet. The details of PFXCGI.ZIP originally accompanied an article published in the August / September 1998 issue of the POWERlines newsletter. We recommend you read the original article first. PFXCGI.ZIP contains all the PFXplus-specific source code needed to allow a user to interrogate the POWERflex sample "member" database over the Internet. The files provided are:
The details of implementation are specific to Microsoft's Internet Information Server (IIS) running in Windows/NT server 4.0, but with minimum changes, this application can be made to work on any Internet server. Installation
A Simple E-Mail ProgramWEMAIL.ZIP is a file containing the source code for a PFXplus program that is written in PFXplus for Windows running in event mode (E-mode). It uses the e-mail capabilities built into Windows to send e-mail messages and faxes using SMAPI.
The files included in WEMAIL.ZIP are: This sample program was originally mentioned in the article "A Simple E-mail Program", which appeared in the November / December 1998 issue of the POWERlines newsletter. We recommend you read the original article first.
Installation
Creating In-Memory Tables and Temporary IndexesThe November / December 1998 issue of the of the POWERlines newsletter featured an article entitled "Using Macros to Create In-Memory Tables". The article, written by Jon Wilson of NEXUS Business Software, contains the source code for such a set of macros. Jon has recently sent us some new and improved macros for creating in-memory tables and temporary indexes. Those with an adventurous spirit may want to download the source file and give the new macros a try. We recommend you read the original article first! You may also be interested in trying a variation on these macros that was developed by Jacek-Waldemar Rozanski. To do so, read on... Installation of Jon Wilson's Macros
The Rozanski VariationsOne of our readers, Jacek-Waldemar Rozanski from Ebbinghaus TEAM GmbH, implemented these macros with success. He found, however, that the existing macros were limited in that they could be used only for the same in-memory table in one module. What he needed to do was define the in-memory table in a .PTC and use the defined file in a .PTM (module). Because of this, he rewrote the macros, adding the command line "benutzung" (which means "use") to overcome this problem. Jacek has been kind enough to make his source code available to everybody. For those interested, the source code is available for download below in the zip file JWRIMTBL.ZIP, which contains two files: COMMAND2.INC and M73_2.INC.
Download
JWRIMTBL.ZIP (2.0 kB) Creating a GroupBoxThe GB.PFX sample program prepared by David Roberts(POWERflex) demonstrates how to create a GroupBox using an object definition.Installation
PFXweb SampleThe POWERlines newsletter for May 2001 contains an article on Interfacing PFXplus to the Web. The downloadable PWEBSAMP.ZIP file on this Web site contains the source code files for the sample site developed in that article. Please note that an activeX control PFXcom.dll must be registered as a part of the installation. Contact our sales for further information on PFXweb beta software. Installation
Download
PWEBSAMP.ZIP (4.4 kB).
Wprtbmp3 SampleThis is an updated version of our standard wprtbmp.pfx sample program that demonstrates printing bitmaps in a PFXplus program. Installation
PFXplus with HTML Help SampleThe help sample programs TEST.PFX and WINCALL3.PFX were prepared by Peter Juliff (VetWare Pty Ltd). The code contains functions for linking PFXplus with HTML help. Installation
POWERflex access to Dataflex menusThe sample code for a character mode style menu that can be executed in GUI mode was written by Dr. Robert Hilton, R and D Management Consultants Pty Ltd. For further notes on the use of the code please refer to the readme.txt included in the zip file. PFXodbc sample programThe Borland Delphi sample code was written by Stephen Bennett, Computing Directions Australia. The program demonstrates how to use PFXodbc to write out data from PFX files to .csv files. We recommend to read the article. |