Tip Bank

DevX - Software Development Resource

Testing String Equality

Question: This is a section from a program I am writing. It goes through the first if statement fine, but when it gets to the second if statement it doesn’t

DevX - Software Development Resource

Global Fucntion in Datawindow fails in exe

Question: I’m working on PowerBuilder 6 under a Windows environment. I’m calling a global function in a datawindow object. This function gets called perfectly in the development environment, but it

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

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

DevX - Software Development Resource

Splitting a TXT File

Question: I want to split a TXT file into smaller TXT files. The program should split the file every time there are three empty lines. For example: Paragraph1Paragraph2 Paragraph1 and

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

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