November 4, 1998

Saving List Box Data at Run Time 16 Bit Delphi 1

Question: How do I save data entered in a list box at run time without resorting to a text file or having to deal with the overhead of a table? I am using 16bit Delphi 1. Answer: The easiest way to approach this is to use a TFileStream and TStream’s

Win API

Question: Is there a way under Delphi 3 and 4 to determine if a previous instance of the application is already running? Answer: Yes, there is a way to determine if a previous instance of the application is already running. Try the following: // ===================================================// Called by your project file,

Error Checking Using DriveComboBox Component

Question: I am finding it difficult to check whether an error has occurred in selecting a drive when it is not available at the time. I have tried to use IOResult when the change event takes place, but it doesn’t seem to work. The error that occurs is I/O result

Writing to Paradox Tables With Delphi

Question: I am unable to post records permanently to Paradox tables using Delphi 3. The records appear in the table object but disappear after I exit Delphi and start another session later. I don’t get any error messages. I can also see the records using the Database Desktop but not