

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.








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
Question: Develop an algorithm using English pseudo code Java to determine if a string of characters given by the user is palindromic.Algorithm outputs suitable message.Blank characters and punctuation should be
Question: I’ve been getting the following errors when I try to launch Delphi:“This program has performed an illegal operation and will be shut down.If the problem persists, contact the program
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
Question: I am trying to bind a form to multiple tables in a session. If I drag and drop an attribute from a single table into my form, all is
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
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
Question: Is there a way to create a C ‘union’-like structure in Delphi? That is, a structure that uses the same memory area? Answer: The Delphi (Pascal/ObjectPascal) equivalent to a
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
Question: I have few problems with the following code: abstract class AbstractGraph extends java.awt.Frame { static int HighValue,LowValue,ArraySize; static String InstancesArray[][] = new String [20][ArraySize]; float ReturnArray(String name) { …
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
Question: I have a huge chunk of C code that currently uses a shareware GUI library for I/O. I would like to replace the current GUI with a browser-based one.
Question: I am creating an application by using Symantec Cafe wherein I am using one applet, from which I am calling a series of frames. I have some common functions
Question: I would like to know how I can implement a priority singly linked queue. Answer: I like to think of priority queue as a possible implementation of the standard
Question: How does one find out the byte order of the platformon which JVM is running? For example, for a Java application that has to read a C structure from
Question: I would like to see an example of a generic C++ exception class that could be used across objects. Answer: When using exception handling, it is often a good
Question: Is it possible to bring focus to a particular form element, such as the first text area of a form, when the document loads? It must be, but for
Question: I am very much a beginner at Java and have very little programming knowledge. I have a major project I wish to do but have started learning with simple
Question: Is there a way to copy Java source code from applets used on Web pages? Answer: Sometimes you can figure out the path to the .class file by studying
Question: How can I make a message that will scroll in the status bar? Answer: The following applet constructs a thread, passing it a messageand its browser context. The thread
Question: How do you count the number of rows displayed in a DBGrid when displayed through a query? Using TQuery, I get 50 to 60 files, but want to know
Question: How is possible to invert the order of a table display in a TDBGrid Component?Must it be an Index-DatabaseSource?For example, if in the database was stored:1Pippo2Gino 3PlutoHow is it
Question: I’m a Paradox for Windows convert. In Paradox it’s a relatively simple thing to create a query that changes data in a field of one table with the values
Question: How can I call a Win 32 API function that doesn’t appear in Windows.pas (EX: NetUserAdd)? I found it in the Delphi Help file, but cannot find it in
Question: I would like to create an array of references to objects. In a previous question you mentioned that the Java asignment “objectX=objectY” does not create a copy of objectX
Question: The promotional literature for Delphi 2 said that the 95 Explorer could be built from the Delphi VCL. However, the size of the icons used in the TreeView needs
Question: When I search in a Paradox database when I use Delphi, I get the message “Index is out of date.” Why? Answer: This error message is usually attributed tomaking
Question: How can I determine that a user has been inactive for a certain length of time so that I may exit the application? Answer: This is an interesting question
Question: How can I get a TEdit to display right-justified text? Answer: There is no way to do this at runtime because there’s no facility in TEditto right-align text. The
Question: I am getting an usual message from exception class EDBEngineError. The message is simply: “At beginning of table.”What does that mean? I am building a TQuery SQL property in

