Download from this Site

XP manifest files | PFXplus Sampler | Exporting HTML from Powerflex | SQL sample programs | Setting Fonts with WM_SETFONT | PFX C-lib in Borland C++ | Disk space Workaround | Printing long text fields | An INI file object | Alternative collating sequences for Btrieve files | DOS/4GW DOS Extender | Converting DOS to GUI | PFXplus programs on the Internet | Windows E-mail program | In-Memory Tables and Temporary Indexes | Creating a GroupBox | PFXweb Sample | Wprtbmp3 Sample | HTML Help Sample | Menu sample | PFXodbc sample | Email with CDO sample | PFXplus COM documentation

XP manifest files

The 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 Windows

This 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

  1. Click on the link below to download the SAMPLER5.ZIP file (1.9 MB in size).
    Save SAMPLER5.ZIP to a temporary location on your computer (for example, C:\TEMP).
  2. Extract the contents of SAMPLER5.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a temporary location.
  3. Use Windows Explorer to locate the SETUP.EXE program in the directory containing the files extracted from SAMPLER5.ZIP.
  4. Double-click SETUP.EXE to install the PFXplus Sampler.

Download SAMPLER5.ZIP (1.9 MB)

Exporting HTML from Powerflex

The 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

  1. Click on the links below to download the HTML.ZIP file, which is 8 kB in size.
  2. Save HTML.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of HTML.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download HTML.ZIP (8 kB).

Mark 5 and SQL DIRECT Samples

The 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

  1. Click on the links below to download the SQLSAMPL.ZIP file, which is 8 kB in size.
  2. Save SQLSAMPL.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of SQLSAMPL.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download SQLSAMPL.ZIP (8 kB).

Setting Object Fonts With WM_SETFONT

OBJFONTS.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

  1. Click on the links below to download the OBJFONTS.ZIP file, which is 3 kB in size.
  2. Save OBJFONTS.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of OBJFONTS.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download OBJFONTS.ZIP (3 kB).

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

  1. Click on the links below to download the CPPSAMPLE.ZIP file, which is about 200 kB in size.
  2. Save CPPSAMPLE.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of CPPSAMPLE.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download CPPSAMPLE.ZIP (200 kB).

Disk_Space Workaround

The 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

  1. Click on the link below to download the DISKFREE.ZIP file, which is 4 kB in size.
  2. Save DISKFREE.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of DISKFREE.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save it to a convenient location.

Download DISKFREE.ZIP (4 kB).

Printing Long Text Fields

PRNTLONG.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

  1. Click on the link below to download the PRNTLONG.ZIP file (2 kB in size).
  2. Save PRNTLONG.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of PRNTLONG.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download PRNTLONG.ZIP (2 kB)

An "INI" File Object

INIFILES.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

  1. Click on the link below to download the INIFILES.ZIP file (3 kB in size).
  2. Save INIFILES.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of INIFILES.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download INIFILES.ZIP (3 kB)

Alternative Collating Sequences for Btrieve files

A 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

  1. Click on the links below to download the PFXENG01.ZIP and PFXENG02.ZIP files, each of which is less than 500 bytes in size.
  2. Save PFXENG01.ZIP and PFXENG02.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of PFXENG01.ZIP and PFXENG02.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download PFXENG01.ZIP (500 bytes)
for use with standard indexes.

Download PFXENG02.ZIP (400 bytes)
for use with indexes that are not case-sensitive.

DOS/4GW 32-Bit DOS Extender

DOS/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 Windows

PSAMPLE.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

  1. Click on the link below to download the PSAMPLE.ZIP file.
  2. Save PSAMPLE.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract PSAMPLE.PFX from PSAMPLE.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save it to a convenient location.

Download PSAMPLE.ZIP (2 kB)

Putting PFXplus Programs on the Internet

PFXCGI.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

  1. Click on the link below to download the PFXCGI.ZIP file (5 kB in size).
  2. Save PFXCGI.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of PFXCGI.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download PFXCGI.ZIP (5 kB)

A Simple E-Mail Program

WEMAIL.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:
WMAPI.PFX, W_MAIL.PFX, WEMAIL.PFX, MAPI.PFI, and WMGEN.BAT.

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

  1. Click on the link below to download the WEMAIL.ZIP file (18 kB in size).
  2. Save WEMAIL.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of WEMAIL.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download WEMAIL.ZIP (18 kB)

Creating In-Memory Tables and Temporary Indexes

The 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

  1. Click on the link below to download the NEXIMTBL.ZIP file (2.5 kB in size).
  2. Save NEXIMTBL.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of NEXIMTBL.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save them to a convenient location.

Download NEXIMTBL.ZIP (2.5 kB)

The Rozanski Variations

One 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 GroupBox

The GB.PFX sample program prepared by David Roberts(Powerflex) demonstrates how to create a GroupBox using an object definition.

Installation

  1. Click on the link below to download the GB.ZIP file, which is 1 kB in size.
  2. Save GB.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of GB.ZIP using an appropriate application (WinZip, PKzip, or equivalent), and save it to a convenient location.

Download GB.ZIP (1 kB).

PFXweb Sample

The 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

  1. Click on the link below to download the PWEBSAMP.ZIP file, which is 4.4 kB in size.
  2. Save PWEBSAMP.ZIP to a temporary location on your computer (for example, C:\TEMP).
  3. Create a folder to extract the sample files into (for example, C:\PWEBSAMP).
  4. Extract the contents of PWEBSAMP.ZIP with folder names intact into the newly created directory using an appropriate application (WinZip, PKzip, or equivalent).

Download PWEBSAMP.ZIP (4.4 kB).

Wprtbmp3 Sample

This is an updated version of our standard wprtbmp.pfx sample program that demonstrates printing bitmaps in a PFXplus program.

Installation

  1. Click on the link below to download the wprtbmp3.zip file.
  2. Save wprtbmp3.zip to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of wprtbmp3.zip using an appropriate application (WinZip, PKzip, or equivalent), and save it to a convenient location.

Download wprtbmp3.zip.

PFXplus with HTML Help Sample

The 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

  1. Click on the link below to download the help.zip file.
  2. Save help.zip to a temporary location on your computer (for example, C:\TEMP).
  3. Extract the contents of help.zip using an appropriate application (WinZip, PKzip, or equivalent), and save it to a convenient location.

    In test.pfx change the name of the help file on line 187. Compile wincall3.pfx as noted in the comments in the source code.

Download help.zip.

Powerflex access to Dataflex menus

The 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.

Download menu.zip.

PFXodbc sample program

The 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.

Download program.zip.

Email with CDO sample program

The POWERlines newsletter of November 2007 contains an article outlinin how to send an email from a PFXplus program using Collaboration Data Objects or CDO. We recommend you read the article.

Download Comprog.zip.

PFXplus COM documentation

Describes the COM features which are included in the PFXplus Compiler and PFXplus Library runtime. This document was originally published in PFXplus v5.0 Service Pack 4.

Download COM documentation.