devxlogo

The Latest

Paradox “Table is Full” error

Question: My Paradox table has grown to about 130 MB.Now whenever I try to insert a new record to the table (from code or Database desktop), I geta “Table is

Delphi console application

Question: Is it possible to write a non-interactive program in Delphi 2.0 that does something quick in the background without opening a form or a console window? Answer: Sure, but

Putting a pause in a program

Question: I have a simple animation on a form created by turning bitmaps on and off in sequence. How can I pause between frames? There is no wait or pause

Multiple user access

Question: I have written a database program that gives me information about PCs on our network. When more than one user tries to access my data, they get a message

DOS protected to Delphi 32-bit

Question: At present we have a large application that runs under DOS protected mode. It is written in Borland Pascal 7.0. We have a longer term project to convert it

Key violation in networked Paradox table

Question: I have installed a Delphi 2.0 BDE application over a network where two terminals can access the table at the same time.I have checked the NET DIR to point

Paradox: Lost Data?

Question: We’re concluding development of a Delphi 1.0 to 2.0 app and have found during user testing that after an app except, when the app terminates, all data entered has

Printing

Question: What is the best way to print infomation in Delphi 2.0? I have tried useing the Print() function to print a form, but it only prints what is viewable

Hiding DLL from task bar

Question: How can I hide an application (in my case a DLL) from the taskbar in Win95 (Delphi 2.0) and still have the form active and visible? Answer: The easiest

How to display “Record x of y”

Question: I am writing a database app in Delphi that is a Customer/Order Management System, and need to display a ‘3 of 7’ type info in the status bar. How

Help on commands

Question: I’ve been programming in Turbo Pascal since v. 4.0 and have made the switch to Delphi 2.0. The only problem is all these new commands!Where on the Net or

Disksize/Diskfree problem

Question: I am writing a small Delphi 2.0 program to list out all the drives on a system, plus total and free disk space. No problem, except that with hard

Direct port access in Win95 with Delphi 2.0

Question: We have a specialized ISA bus hardware card that has relays, etc. on it that are accessed by writing or reading to the PC’s I/O ports.How can I port

Easiest connection to a database

Question: What is the easiest connection (installation at customer site and use in program) to a database ? BDE, ODBC or Paradox direct access? Answer: It depends on the database.

Date formatting with shortdateformat

Question: I’m using Delphi 2.0. My application changes the date format with ShortDateFormat:=’dd/mm/yyyy’ and dateseparator functions. It works, but I found that when I change the taskbar’s ontop or autohide

Database management program for multi-user

Question: I am using Delphi 1.0 and am having a hard time trying to find commands/procedures/modules to lock a record from a Paradox database. What should I do to lock

Closing MDI children in an MDI application

Question: I have made an MDI application with many MDI children, but when I try to close an MDI child it becomes minimized. How can I avoid this and close

32-bit VCL Errors

Question: I’ve downloaded some components for use in Delphi 2.0, but I can’t get them to install into the VCL. Even the 32-bit dedicated ones come up with an error

Adding lines to a TStrings Type Property

Question: What am I doing wrong? I can insert the date and time to a Label component very easily (see first proc below), but not into a RichEdit component. I

Changing the Font

Question: I can’t stand the “new” font used in VB5’s pulldown menus and forms (ie. File, View, Tools, etc.).I’ve tried and tried, but I can’t seem to change it. Answer:

API declarations

Question: Where can I take all the new API declarations about the network, like: NetServerGetInfo, NetServerTransportAdd… Answer: If you just want the declarations, you can add Windows API Functions as

Business function in the MATH unit

Question: I recently incorporated the math unit into an application I’m building. Originally I was using OLE to Excel to perform my business calculations, and though this was a clean

Alternative to the BDE

Question: I have database software that is about 1 MB in size (with all the files). I need to distribute the BDE, which uses up to two diskettes. I do

An event when the table record changes

Question: While the OnDataChange event is called when a record is changed, it is called several times for each change and then each time a piece of data changes in

Changing Label Captions in a FOR Loop

Question: I’m trying something like this: for i:=0 to 1000 do label1.caption:=’I= ‘+inttostr(i); but the loop executed so fast, the label doesn’t display anything until the loop is over. This

Beginner

Question: I’m trying to mock some screens which is pretty simple but I do need a couple of commandbuttons to bring up another screen.For example, when the user pushes the