
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: 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
Question: I am developing an application in Delphi 2.0 on a 1024×768 resolution (large fonts), and have been trying to get it to act properly in 800×600 mode with little
Question: We are trying to write a multi-user Delphi 2.0 app (with Paradox 5.0 tables), and are looking for a way to determine if a record is locked by another
Question: Do the changes made in the 1.1 API mean that if one wanted to write applets for the Web, one would have to use a previous version of the
Question: I need to pass some data from the user to my applet (or application) which is to be entered from the keyboard, using TextField.The data is repetitive (it fills
Question: I have an applet placed on successive pages that displays different information on each page (a text-scrolling applet). This applet is running on a thread. Is there a way
Question: How can I trap the API message sent by Windows 95 on closure, to prevent a user shutting Windows down when a Delphi application is running? Answer: There are
Question: I don’t understand why it is said that Strings are immutable in Java. Here is a small piece of code which shows that Strings are in fact mutable:class TestStringStuff{public
Question: I recently took Sun’s Certified Java Programmers Exam and I ran into a few questions from the exam I’d like to ask you.What is the difference between >> and
Question: How can I implement a linked list using Java, since there are no pointers? Can you provide sample code that uses a linked list?Thanks! Answer: You need pointers to
Question: My completed Delphi application exports Quick Reports to Excel. This operation is 99.5 percent successful, and users are delighted. I am one of the developers, and one of the
Question: I want to convert some code written in Paradox to Delphi. I am mainly interested in a quick method rather than the usual method. The code deals with the
Question: I want to deploy a database application developed with Delphi 2 that will access an Interbase database via TCP/IP, but I cannot find any documentation that describes precisely which
Question: You already got this question, but your answer was far from what I was looking for.How can I write an appication that will run on a computer without the