Tip Bank

DevX - Software Development Resource

Giving Users a Save As Dialog Box

Question: I am creating a CSV file from a table via the export command and would like to give the user the option to name the CSV file at execution

DevX - Software Development Resource

Prompting After Setup.exe Runs

Question: Is there a way to prompt an end user to restart his machine after running the setup program to install my software? (I am developing in VFP 3.0 under

DevX - Software Development Resource

Creating 30-Day Trial Applications

Question: I am Web site developer assisting a Visual FoxPro developer in distributing his creation via the Internet. He wants to create a 30-day trial version for distribution in this

DevX - Software Development Resource

Tools for Documenting Class Libraries

Question: Is there a third-party tool that can be used to document VFP Class libraries and their components? Answer: VFP’s Re-Engineering wizard can move your classes to Rational Rose and

DevX - Software Development Resource

Flipping Rows to Columns

Question: How can I select rows in a table and output them as columns in a resulting table? In other words, I need to “flip” my rows to columns and

DevX - Software Development Resource

Ambiguous Operator Error

Question: My small program (see below) below compiles and runs correctly on one machine and generates the following error on another: ‘operator

DevX - Software Development Resource

Data Rollup

Question: I have a table containing records collected at variable times. How do I “roll up” the data to average over 15-minute periods in a query? Answer: I think I

DevX - Software Development Resource

Iostream Objects’ Memory Use

Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The

DevX - Software Development Resource

FoxPro Commands and the ODBC Driver

Question: I’m trying to set up an SQL call (in ColdFusion) to a program (TESTOUT.PRG) that uses the FoxPro COPY TO command and user-supplied parameters to output the desired file