The Latest

DevX - Software Development Resource

Java Strings: Mutable or immutable?

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

DevX - Software Development Resource

Threads

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

DevX - Software Development Resource

How to implement a linked list

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

DevX - Software Development Resource

CreateOleObject errors

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

DevX - Software Development Resource

Conversion from Paradox to Delphi

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

DevX - Software Development Resource

Database application deployment

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

DevX - Software Development Resource

Creating control from code in Delphi

Question: I want to create a button in code, put it on a form and attach a procedure to its click event. How can I get the click event linked

DevX - Software Development Resource

Database “index out of date” error

Question: I am working on a Delphi program in which I am inserting information into a database table by running a student’s ID card through a scanner. I was testing

DevX - Software Development Resource

Corrupt Paradox file

Question: Last week I had a head crash on a PC using Delphiand Paradox files. I was able to recover everything but a log file for the month of March.

DevX - Software Development Resource

How to create a database in code

Question: I was a VB programmer, until my recent shift to Delphi 2.0. How can I create a database in code? Answer: It depends on the type of database youwant

DevX - Software Development Resource

Dialogs: Implementing your own execute method

Question: I use Delphi 1.0. The standard dialogs (such as TOpenDialog and TPrintDialog) offer a method called execute. It executes the form/dialog, and waits until it returns. I would like

DevX - Software Development Resource

Paradox “Table is Full” error

Question: My Paradox table has grown to about 130 MB.Now whenever I try to insert a new record to the table (from code or Database desktop), I geta “Table is

DevX - Software Development Resource

Delphi console application

Question: Is it possible to write a non-interactive program in Delphi 2.0 that does something quick in the background without opening a form or a console window? Answer: Sure, but

DevX - Software Development Resource

Putting a pause in a program

Question: I have a simple animation on a form created by turning bitmaps on and off in sequence. How can I pause between frames? There is no wait or pause

DevX - Software Development Resource

Multiple user access

Question: I have written a database program that gives me information about PCs on our network. When more than one user tries to access my data, they get a message

DevX - Software Development Resource

DOS protected to Delphi 32-bit

Question: At present we have a large application that runs under DOS protected mode. It is written in Borland Pascal 7.0. We have a longer term project to convert it

DevX - Software Development Resource

Key violation in networked Paradox table

Question: I have installed a Delphi 2.0 BDE application over a network where two terminals can access the table at the same time.I have checked the NET DIR to point

DevX - Software Development Resource

Paradox: Lost Data?

Question: We’re concluding development of a Delphi 1.0 to 2.0 app and have found during user testing that after an app except, when the app terminates, all data entered has

DevX - Software Development Resource

Printing

Question: What is the best way to print infomation in Delphi 2.0? I have tried useing the Print() function to print a form, but it only prints what is viewable

DevX - Software Development Resource

Hiding DLL from task bar

Question: How can I hide an application (in my case a DLL) from the taskbar in Win95 (Delphi 2.0) and still have the form active and visible? Answer: The easiest

DevX - Software Development Resource

How to display “Record x of y”

Question: I am writing a database app in Delphi that is a Customer/Order Management System, and need to display a ‘3 of 7’ type info in the status bar. How

DevX - Software Development Resource

Help on commands

Question: I’ve been programming in Turbo Pascal since v. 4.0 and have made the switch to Delphi 2.0. The only problem is all these new commands!Where on the Net or