Creating directory preserving name case

MSDN:

Counting lines in an ASCII file

There is more than one way to count lines in an ASCII file.

How to check if variable is Integer

FoxPro doesn't provide a direct way to check if variable is integer or how many digits it has after decimal point but it can be accomplished using PADL() function.

Copy PRG contents to Clipboard

In VFP 9.0 PRG contents will be copied to clipboard in RTF format as well, if there's no 'X' in the _Vfp.EditorOptions.

The code uses Editor functions from Foxtools.fll. See George Tasker's Extended Foxtools Help Download #9333 on UT for more info.

File operations with Progressbar

It's based on the late Ed Rauh's code around SHFileOperation Win API and requires his Heap allocation class. It supports wild cards and shows standard Windows progress bar.

This is sample code. Add error handling and adjust to your requirements as necessary.

* Copy file to different name
llSuccess = FileOpWithProgressbar("H:\TEMP\tord.dbf", "H:\TMP\TEST.dbf", "Copy")
* Copy with the same name
llSuccess = FileOpWithProgressbar("H:\TEMP\tord.dbf", "H:\TMP\", "Copy")
* Copy all dbf's

Microsoft Visual FoxPro 9.0 Sedna Add-Ons released

Visual FoxPro 9.0 Sedna is available for download on MSDN.
Sedna is a collection of libraries, samples and add-ons to Visual FoxPro 9.0 SP2.

It contains six components:

  • VistaDialogs4COM for VFP on Vista
  • Upsizing Wizard for SQL Server
  • Data Explorer updates
  • NET4COM examples to bridge VFP and .NET
  • MY IntelliSense extensions
  • DDEX for .NET access to VFP data

You know you are a nerd when...

You know you're a nerd when you qualify for a bulk discount on domain renewals.

[Spammers excluded]

Welcome to the new site

We have completed the transition to new software for the site. We hope you enjoy the changes.

VFP 9.0 Report Writer

Links to the articles that cover new features in VFP 9.0 Report Writer

VFP 9.0 Report Features in Runtime

In order to deploy VFP 9.0 object-assisted report features in runtime, the REPORT*.APP files have to be distributed with your application and their location stored into _REPORT* system variables.
The error 'Variable _REPORTOUTPUT is not found' may be generated if they are not populated properly.

Syndicate content
_REPORT* system variables
File System Variable Notes