devxlogo

Tip Bank

Speed Up Run Time

Question: My executable takes almost a minute to run. How can I speed up the process? I am not running any queries at this point?I wait until I actually show

Determine Which Controls are on a Form

Question: Is there a simple way to ascertain the names of all the controls on a particular form at run time? Answer: Every TComponent descendant has two properties, ComponentCount and

Cumulative Summary in SQL

Question: I need a summary-select which summaries cumulative values. This one works in Microsoft Access: SELECT s.nl_item_id, s.nl_value, ( SELECT sum(sub.nl_value) FROM TABLE1 sub WHERE sub.nl_item_id

What is New in Visual Foxpro 6.0

Question: I have been developing software in Foxpro 2.5 for DOS for many years. I have just bought a licensed VFP 6.0, I want to know what is new in

Directory Browsing

Question: When the browser is pointed to a directory with no default HTML page then, in most cases, it shows the directory contents. Is it possible to create an HTML

Paradox Lock Files

Question: I have a Delphi 3 application running on a Novell network, that uses Paradox tables. For some reason, some of the users get the following message every once in

Convert Delphi to C++?

Question: How can you convert Delphi to C++? Answer: I don’t know of any conversion tools out there that do this, though I could be wrong. If you’re using both

Typecast Text to LPARAM

Question: How do I typecast text to LPARAM? LPARAM is supposed to be an integer, but clearly the API call wants text. I’m assuming I missed some pchar>string or pointer