Tip Bank

DevX - Software Development Resource

Threads and JDBC Connections

Question: Is the JDBC Connection class thread safe? In other words, can a connection be shared between multiple threads without using synchronization? Answer: java.sql.Connection is actually an interface and not

DevX - Software Development Resource

File Deletion

Question: I’m opening a file for reading, and after reading its contents I write it all to other file. Now I want to delete the original file. How do I

DevX - Software Development Resource

Use of SocketImpl Class

Question: What is the SocketImpl class used for? Answer: SocketImpl is an abstract class that provides an interface for customizing socket implementations. Subclasses of SocketImpl are not intended to be

DevX - Software Development Resource

Signals and Public Slots Blocks

Question: Everybody knows the meaning of public, private, and protected blocks in a class interface. While browsing through a KDE program I found two other block types: signals and public

DevX - Software Development Resource

Editing an Executable File

Question: I have an existing .exe file that creates files, archives, and restores. I need to find out how to edit that existing program so as to update some changes.

DevX - Software Development Resource

Data Exchange

Question: Can we exchange data between Visual Basic and Microsoft Project? If so, what is the object model for Microsoft Project? Answer: The MS Project object model is as large

DevX - Software Development Resource

Variable Creation and Scope

Question: In writing a basic introductory module about C++, I came upon the topic of “instant variable creation” within for loops and noticed to my dismay that the following code

DevX - Software Development Resource

Converting VBScript to JavaScript

Question: I need to convert this fairly simple VBScript to a JavaScript? The purpose of the script is to cause a posted seminar event to disappear after the date of