devxlogo

Tip Bank

Form width and length

Question: My program has two MDI forms. I have an option that allows the user to tile them horizontally or vertically. How can I tell at runtime what the max

Hiding application

Question: I have a third-party component I am using to make an icon for my app in the Windows 95 system tray. This works great, except that I need to

TQuery command to use to execute a SQL statement

Question: I’m trying to delete multiple records using Tquerysuch as delete from products p where p.shopno in (select shopno from shops)When I run the program, it executes the statements and

Delphi 2.0 cursor handling

Question: How can I get the cursor to advance to the next form field after a field has been filled with the maximum number of characters? I am using Delphi

Paradox: secondary indexes problem

Question: I have just discovered a problem with secondary indexes in Paradox that I desperately need to have solved by yesterday!I have a number of database tables with a primary

How to convert int to string

Question: I am looking for a generic way to convert an intto a string. It cannot be platform- or compiler-specific in its implementation. Answer: The standard C++ library defines the