Corel Paradox / ObjectPAL Coding Tech Articles

These Articles are contributed by you (our online community members). They are organized by our knowledge base topics. Specifically, by the Paradox sub-topics.
|
115 Corel Paradox / ObjectPAL Coding Articles
Group: Corel Paradox / ObjectPAL Coding
Topic: Paradox & ObjectPAL
A cuddly tray icon which makes all your apps work with the IntelliMouse scrolling wheel. Two modes of operation are supported. Also, FreeWheel allows you to switch between documents by holding down the control and shift keys while moving the mouse wheel. FreeWheel is free, so dont delay - try it today. You might like it! Requires Microsoft IntelliMouse or equivalent.
+Add Comment
This is a simple discussion of a technique I use to create new Paradox reports quickly that are similiar to existing ones, yet functionally different in their purpose. Screen shots are included to illustrate the method I utilize.
Posted By Douglas.M,
Post #102387, KB Topic: Paradox & ObjectPAL
+Add Comment
Arrays in ObjectPAL use a 1-based indice. Use size() to get the number of elements. size() returns 0 if the array has no elements.
+Add Comment
This article describes an objectPAL reporting program I made that accepts a purchase order date range and a non-purchase order date range. It will report customers who bought during the purchase time period, but not during the non-purchase time period. The purpose of this report is to reveal those customers with declining sales. Screen shots are included to illustrate how the reporting program works.
Posted By Douglas.M,
Post #102393, KB Topic: Paradox & ObjectPAL
+Add Comment
Topic: Paradox ODBC Drivers
Recently, one of our message board visitors asked if was possible to connect to - and use - an existing Paradox databases with Visual Studio .NET. The answer is "Yes!"
Posted By Wes Peterson,
Post #100666, KB Topic: Paradox ODBC Drivers
+Add Comment
( 1 Comments)
Using spaces within database column names may be "legal," but that doesn't mean it won't make your life harder. It's legal in Paradox tables and most database systems but you might want to avoid using spaces. Here's why - and one way to use spaces if you're using Paradox tables under .NET.
Posted By Wes Peterson,
Post #102077, KB Topic: Paradox ODBC Drivers
+Add Comment
( 2 Comments)
Topic: Tool Basics
Comparison between dBASE and Paradox (from 1996!!).
+Add Comment
My thoughts on whether Paradox for Windows is a good solution for building web-based Internet solutions.
+Add Comment
( 6 Comments)
If you have an existing Paradox system you can keep using it but you'll need to skip the Vista operating system and either stick with Windows XP or move to Windows 7. Because better tools exist, you may very well want to put a plan together now for converting to another development tool or at least understand what the future is likely to hold. If you're a power-user or researcher working with data, stick with Paradox.
+Add Comment
( 30 Comments)
Topic: Installation, Setup, & BDE
Bottom line is you should skip Vista and either stick with XP or move to Win 7. If you have to use Vista, you might be better off with Paradox 9.
Posted By Mike Prestwood,
Post #101099, KB Topic: Installation, Setup, & BDE
+Add Comment
( 7 Comments)
Does Corel Paradox for Windows run on Vista? If so, are there any issues? What about Windows 7?
Posted By Mike Prestwood,
Post #100449, KB Topic: Installation, Setup, & BDE
+Add Comment
( 23 Comments)
Paradox 9, 10, 11, etc. install easily on Windows 7! You do have to download WinHelp to get the Paradox help files to work properly.
Posted By Mike Prestwood,
Post #102247, KB Topic: Installation, Setup, & BDE
+Add Comment
( 7 Comments)
Paradox for Windows has two primary file types: source files and delivered files. Source files in Paradox are binary but can can be opened in later versions of Paradox and even in earlier versions if you don't use any new features: .FSL = Form, .RSL = Report, .SSL = Script, and .LSL = Library. Since Paradox source files do not compile to an EXE, Paradox developers tend to use a startup form or script to start the application.
Posted By Mike Prestwood,
Post #101354, KB Topic: Installation, Setup, & BDE
+Add Comment
Paradox does not remember desktop settings. I just installed Paradox 11 on a new computer and my working directory and other settings do not stick when I restart Paradox. Why?
Posted By Mike Prestwood,
Post #101574, KB Topic: Installation, Setup, & BDE
+Add Comment
( 6 Comments)
Paradox 9 versions for SP1 through SP4. Plus version info on Paradox 10 and 11.
Posted By Mike Prestwood,
Post #101977, KB Topic: Installation, Setup, & BDE
+Add Comment
( 4 Comments)
A trip down memory lane: the icons that shipped with various versions of Paradox.
Posted By Mike Prestwood,
Post #101308, KB Topic: Installation, Setup, & BDE
+Add Comment
( 1 Comments)
Topic: Paradox Tables
Use a file server (not a workstation) to store your data, disable Oplocks on the filer server, and configure the BDE (local share to true and optimize if desired). Finally, if workstations are crashing, fix em so they don't. You want clean running computers that don't crash.
+Add Comment
( 3 Comments)
Covers ALL Paradox tables from version 4 on including a description of the various Paradox table structures, limits, and specifications.
+Add Comment
( 11 Comments)
Topic: OPAL: Language Basics
If you've never programmed in ObjectPAL, spend 10 minutes and see how easy it is to program Paradox for Windows.
Posted By Mike Prestwood,
Post #101209, KB Topic: OPAL: Language Basics
+Add Comment
This detailed ObjectPAL primer will get you up and running developing in Paradox/ObjectPAL within a few hours.
Posted By Mike Prestwood,
Post #100163, KB Topic: OPAL: Language Basics
+Add Comment
( 2 Comments)
Think levels when you code in the Pardox ObjectPAL development environment.
Posted By Mike Prestwood,
Post #100868, KB Topic: OPAL: Language Basics
+Add Comment
Common comparison operators:
| = |
equal |
| <> |
not equal |
| < |
less than |
| > |
greater than |
| <= |
less than or equal |
| >= |
greater than or equal |
Posted By Mike Prestwood,
Post #101875, KB Topic: OPAL: Language Basics
+Add Comment
In ObjectPAL, an empty variable can be unassigned (essentially null) or blank (equivalent to ""). You have to use both isBlank and isAssigned to check for an empty string.
Posted By Mike Prestwood,
Post #102041, KB Topic: OPAL: Language Basics
+Add Comment
ObjectPAL logical operators:
| and |
and, as in this and that |
| or |
or, as in this or that |
| Not |
Not, as in Not This |
Posted By Mike Prestwood,
Post #101898, KB Topic: OPAL: Language Basics
+Add Comment
Techniques for thinking about where to put code in Paradox's object-based event model.
Posted By Mike Prestwood,
Post #100769, KB Topic: OPAL: Language Basics
+Add Comment
Topic: Interactive Paradox: Getting Going
Getting the most out of Paradox's Project Viewer.
Posted By Mike Prestwood,
Post #101191, KB Topic: Interactive Paradox: Getting Going
+Add Comment
Step by step instructions for setting some of Paradox's more useful preferences.
Posted By Mike Prestwood,
Post #101172, KB Topic: Interactive Paradox: Getting Going
+Add Comment
Topic: Interactive Paradox: Forms
Be Your Own Expert! Form building techniques.
Posted By Steve Caple,
Post #101042, KB Topic: Interactive Paradox: Forms
+Add Comment
Topic: OPAL: Language Details
The following code demonstrates one technique for adding and subtracting months from a date in Paradox's ObjectPAL.
Posted By Mike Prestwood,
Post #100001, KB Topic: OPAL: Language Details
+Add Comment
Q. How can you create a table of all the ObjectPAL commands?
Posted By Mike Prestwood,
Post #100067, KB Topic: OPAL: Language Details
+Add Comment
Using loop structures in ObjectPAL (for, forEach, scan, while, and looping with timers).
Posted By Mike Prestwood,
Post #101170, KB Topic: OPAL: Language Details
+Add Comment
( 1 Comments)
DDE is one of several techniques for merging a word document with a Paradox table.
Posted By Mike Prestwood,
Post #100070, KB Topic: OPAL: Language Details
+Add Comment
( 1 Comments)
Demonstration of how to handle dates and times in ObjectPAL.
Posted By Mike Prestwood,
Post #101162, KB Topic: OPAL: Language Details
+Add Comment
Paradox character sets: ANSI, OEM, Virtual keycodes (VK Keyboard Constants), and Hex
Posted By Mike Prestwood,
Post #100312, KB Topic: OPAL: Language Details
+Add Comment
( 1 Comments)
In 32-bit Windows 95/98/ME/NT/2000, you use the PlaySound function in WINMM.DLL.
Posted By Mike Prestwood,
Post #100065, KB Topic: OPAL: Language Details
+Add Comment
ObjectPAL IsFile example demonstrates how to check if a file exists.
Posted By Mike Prestwood,
Post #101146, KB Topic: OPAL: Language Details
+Add Comment
ObjectPAL methods for using the Window's registry to store and retrieve configuration settings.
Posted By Mike Prestwood,
Post #100770, KB Topic: OPAL: Language Details
+Add Comment
( 1 Comments)
Topic: Interactive Paradox: Queries (QBE)
Topic: Interactive Paradox: Reports
Paradox has a built-in report writer that will suffice for nearly all reports you wish to create. You base a report on one or more tables or on a query. It uses a banded approach so you think in terms of records, pages, and report. Except for the record band, each section has a header and a footer. Paradox also offers a quick report which is useful for printing data quickly.
Posted By Mike Prestwood,
Post #101218, KB Topic: Interactive Paradox: Reports
+Add Comment
Topic: Interactive Paradox: Using Data
A data normalization primer first published in Prestwood eMagazine August 2002 by Cliff Suttle.
Posted By CliffSuttle,
Post #100040, KB Topic: Interactive Paradox: Using Data
+Add Comment
( 2 Comments)
This article by Cliff Suttle was first published in the Halloween 2002 issue of Prestwood eMagazine.
Posted By CliffSuttle,
Post #100043, KB Topic: Interactive Paradox: Using Data
+Add Comment
( 1 Comments)
In October we finally normalized our invoice data base. In this final part III, there will be little in the way of review, so if you’re lost, don’t be lazy, read parts I and II.
Posted By CliffSuttle,
Post #100083, KB Topic: Interactive Paradox: Using Data
+Add Comment
You can use Format | Filter while viewing a table to apply a secondary index.
Posted By Mike Prestwood,
Post #100508, KB Topic: Interactive Paradox: Using Data
+Add Comment
( 2 Comments)
Paradox versus dBASE tables. Which to use in Paradox for Windows.
Posted By Mike Prestwood,
Post #101185, KB Topic: Interactive Paradox: Using Data
+Add Comment
Topic: ObjectPAL Coding
Some time ago I created a calendar form that I have been using instead of attaching to Microsofts calendar. This calendar works better for me than the OCX version from Microsoft did, so I thought that I would share it with you.
Posted By Laura Lage,
Post #102215, KB Topic: ObjectPAL Coding
+Add Comment
Topic: OPAL: Commands
Cliff's Corner by Cliff Suttle: Feb/Mar/Apr edition.
Posted By CliffSuttle,
Post #100225, KB Topic: OPAL: Commands
+Add Comment
Tracinging built-in events, setting breakpoints, compiler options, debugging without the debugger, types of errors, the error event, errorShow, and the try structure.
+Add Comment
( 2 Comments)
ObjectPAL example that demonstrates listing a set of files and allowing the user to launch any one of them by double clicking.
+Add Comment
( 1 Comments)
ObjectPAL example where user selects a file and you extract the path.
+Add Comment
Using Paradox internet features. Content from chapter 25 of my "Paradox Power Programming: The Official Guide" book.
+Add Comment
( 2 Comments)
Use setWorkingDir then trap for MenuChangingWork in menuAction.
+Add Comment
Picture strings from the book Paradox 9 Power Programming.
+Add Comment
To test the speed of your code, capture the time before and after your code executes and view the milliseconds between the two dates.
+Add Comment
Topic: OPAL: Libraries
This article by Juan Soto was first published in the August 2002 Prestwood eMagazine.
+Add Comment
( 1 Comments)
This article by Juan Soto was first published in the Halloween 2002 issue of Prestwood eMagazine. In this second and final article on Paradox libraries, we will discuss using libraries to store temporary information that can be used by any Paradox form, script or even other libraries.
+Add Comment
( 1 Comments)
Topic: OPAL: OOP
Topic: OPAL: Reports
How to use enumUIObjectNames and attach to manipulate a group of objects on a report.
+Add Comment
How to send text directly to a printer port (not using a report).
+Add Comment
Topic: OPAL: Wicked Coding Tasks
This overview helps you create and use a reusable progress bar.
Posted By Mike Prestwood,
Post #100239, KB Topic: OPAL: Wicked Coding Tasks
+Add Comment
Getting started with moving objects with the mouse.
Posted By Mike Prestwood,
Post #101136, KB Topic: OPAL: Wicked Coding Tasks
+Add Comment
How to use the limited ObjectPAL support in reports.
Posted By Mike Prestwood,
Post #100175, KB Topic: OPAL: Wicked Coding Tasks
+Add Comment
Topic: OPAL: Win32 Calls
Topic: Professional Paradox/ObjectPAL Help
Is Paradox the right tool for your new application?
Posted By Mike Prestwood,
Post #100642, KB Topic: Professional Paradox/ObjectPAL Help
+Add Comment
Should you continue supporting your Paradox legacy applications?
Posted By Mike Prestwood,
Post #100643, KB Topic: Professional Paradox/ObjectPAL Help
+Add Comment
If you've lost your master password for your Paradox tables, we can help you recover your data.
Posted By Mike Prestwood,
Post #101194, KB Topic: Professional Paradox/ObjectPAL Help
+Add Comment
( 1 Comments)
Topic: Runtime, PDE, Package-It!
Paradox for Windows Command-Line Options, runtime registry settings, adding menu items to Paradox, and manually setup a Vista shortcut.
Posted By Mike Prestwood,
Post #100307, KB Topic: Runtime, PDE, Package-It!
+Add Comment
List of commercial applications developed in Paradox for Windows
Posted By Mike Prestwood,
Post #100306, KB Topic: Runtime, PDE, Package-It!
+Add Comment
Listing of Paradox features NOT available in Paradox Runtime.
Posted By Mike Prestwood,
Post #101278, KB Topic: Runtime, PDE, Package-It!
+Add Comment
Getting started using the application framework in Paradox 9.
Posted By Mike Prestwood,
Post #101144, KB Topic: Runtime, PDE, Package-It!
+Add Comment
Topic: P5 Book: What Every Prgrmr Should Know
Chapter 1 of What Every Paradox for Windows Programmer Should Know by Mike Prestwood.
Posted By Mike Prestwood,
Post #100171, KB Topic: P5 Book: What Every Prgrmr Should Know
+Add Comment
Chapter 2 of What Every Paradox for Windows Programmer Should Know by Mike Prestwood.
Posted By Mike Prestwood,
Post #100177, KB Topic: P5 Book: What Every Prgrmr Should Know
+Add Comment
Topic: P7 Book: Programming Unleashed
Chapter 27, "Using DDE, OLE, and OLEAuto" from Paradox 7 Programming Unleashed by Mike Prestwood.
Posted By Mike Prestwood,
Post #100145, KB Topic: P7 Book: Programming Unleashed
+Add Comment
( 2 Comments)
The four appendices for Paradox 7 Programming Unleashed included on the CD-ROM.
Posted By Mike Prestwood,
Post #100881, KB Topic: P7 Book: Programming Unleashed
+Add Comment
Topic: P9 Book: Power Programming
Forward to my book Paradox 9 Power Programming: The Official Guide. The forward is by Michael Cowpland (Chairman, President and CEO, Corel Corporation).
Posted By Mike Prestwood,
Post #101188, KB Topic: P9 Book: Power Programming
+Add Comment
We still have a high demand for my book titled, "Paradox 9 Power Programming" by Mike Prestwood. So we're still doing our book buy back. If you've got one sitting on your shelf, please consider selling it to us.
Posted By Mike Prestwood,
Post #100402, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 1 titled, "The Paradox Development Environment" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100194, KB Topic: P9 Book: Power Programming
+Add Comment
( 1 Comments)
Chapter 2 "Tables and Developing" from Paradox 9 Power Programming: The Official Guide by Mike Prestwood.
Posted By Mike Prestwood,
Post #100219, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 3, "How to Develop Forms" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100197, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 4, "An Introduction to ObjectPAL" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100198, KB Topic: P9 Book: Power Programming
+Add Comment
( 2 Comments)
Chapter 6, "The Event Model" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100200, KB Topic: P9 Book: Power Programming
+Add Comment
( 2 Comments)
Chapter 7, "More About Syntax - Part 1" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100201, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 10, "Using Table Windows" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100196, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 11, "Programming with Queries" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100202, KB Topic: P9 Book: Power Programming
+Add Comment
( 2 Comments)
Chapter 12, "Handling Reports" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100205, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 13, "Crosstabs and Charts" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100206, KB Topic: P9 Book: Power Programming
+Add Comment
( 1 Comments)
Chapter 14, "Using Table and TCursor Variables" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100207, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 15, "Fields, Table Frames, and MROs" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100208, KB Topic: P9 Book: Power Programming
+Add Comment
( 1 Comments)
Chapter 16, "Handling the Keyboard" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100211, KB Topic: P9 Book: Power Programming
+Add Comment
( 4 Comments)
Chapter 17, "Manipulating Objects At Run Time" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100212, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 18, "Reusing Code" from Paradox 9 Power Programming by Mike Prestwood. Includes coding custom methods, custom procedures, and using ObjectPAL libraries.
Posted By Mike Prestwood,
Post #100213, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 19, "Imitate Users with Action, PostAction, and MenuAction" from Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100214, KB Topic: P9 Book: Power Programming
+Add Comment
Chapter 24 "SQL and Client/Server Applications" of Paradox 9 Power Programming by Mike Prestwood.
Posted By Mike Prestwood,
Post #100204, KB Topic: P9 Book: Power Programming
+Add Comment
This chapter will introduce you to creating both menus and pop-up menus. If you are going to create an application-wide menu, then I strongly recommend you use Paradox’s Application Framework. This chapter will instruct you how to create menus for non-Application Framework applications and pop-up menus you can use with both.
Posted By Mike Prestwood,
Post #100403, KB Topic: P9 Book: Power Programming
+Add Comment
Topic: Paradox for Win16 (versions 1-7)
Converting Your 16-bit Paradox for Windows applications to 32-bit Paradox for Windows
Posted By Mike Prestwood,
Post #100309, KB Topic: Paradox for Win16 (versions 1-7)
+Add Comment
Topic: Paradox for DOS
Discussion of aggregators in Paradox for Windows reports as they relate to Paradox for DOS.
+Add Comment
For maximum compatibility, use compatibility mode and adjust settings (640x480, and run in a Window, etc.).
+Add Comment
( 1 Comments)
Topic: Paradox for Linux
Chapter 26 by Mike Prestwood from the book WordPerfect Office 2000 for Linux: The Official Guide. First published June 2000 by Osborne-McGraw/Hill. ISBN 0-07-212238-2.
+Add Comment
( 5 Comments)
Chapter 27 by Mike Prestwood from the book WordPerfect Office 2000 for Linux: The Official Guide. First published June 2000 by Osborne-McGraw/Hill. ISBN 0-07-212238-2.
+Add Comment
( 2 Comments)
Chapter 28 by Mike Prestwood from the book WordPerfect Office 2000 for Linux: The Official Guide. First published June 2000 by Osborne-McGraw/Hill. ISBN 0-07-212238-2.
+Add Comment
Chapter 29 by Mike Prestwood from the book WordPerfect Office 2000 for Linux: The Official Guide. First published June 2000 by Osborne-McGraw/Hill. ISBN 0-07-212238-2.
+Add Comment
There is no "good" path for converting a Paradox for DOS application to either Paradox for Windows or Paradox for Linux.
+Add Comment
|
|