devxlogo

Tip Bank

DevX - Software Development Resource

Outputting query data to a file

Question: I am trying to list out the contents of a field, and there are so many, that I need to send the output to a file. Can you tell

DevX - Software Development Resource

Checking for Blank Form Fields

If you use an HTML form at your Web site, you may not want anyone to submit the form if required fields are left blank. You can check for blank

DevX - Software Development Resource

Designating Disabled Text

A well-developed user interface will make it clear which components in a dialog are available to receive input from the user. The AWT Component class has a setEnabled method for

DevX - Software Development Resource

Runing a DOS Program

Question: I am trying to run a DOS program using the folowing syntax: WinExec(‘Command.com /c c: emaddr CN=variable’, wn_shownormal); I can’t manage to get it to work with a variable

DevX - Software Development Resource

Displaying Text and Setting the Font

Question: I am working on a project that reads in teletext information from the COM port in 8-bit binary form. Since ASCII does not represent teletext graphical characters, I have

DevX - Software Development Resource

SizeOf Function in Delphi

Question: I’m using Delphi 2.0 Client/Server. The Delphi Object Pascal user’s guide says that the Integer size is 2 bytes (signed 16-bit with Range -32768-32768). But when I do the

DevX - Software Development Resource

Controlling the Printed Page

Question: Is it possible to control the printed page size and layout in DHTML? In other words, can I control how a DHTML page looks when it is printed and

DevX - Software Development Resource

Dynamically Changing Table Values

Question: I have a table that contains the values returned from a SQL database. I have created a division within each cell. The ID value for the division is the