devxlogo

Tip Bank

Changing screen resolution

Question: Is it possible to change the screen resolution to 640*480 before my project runs and change it back when the program exits. Or is there another way of rearanging

Converting String to double

Question: How can I convert a String to a double and backagain? Answer: You can use the java.text.NumberFormat classto convert a String to a double and back again.Use the parse(String)

Offscreen buffer

Question: I want to create an offscreen buffer in a Java application, but I don’t know how. Answer: You can create an offscreen buffer by usingthe createImage(int,int) in java.awt.Component.This is

Visual J++ 1.1 and Java 1.1

Question: I am using MS Visual J++ 1.1 1997 and it doesn’tcontain the java.util.Calendar class and java.text.* packages that you reference in the answer to another question. How do I

Always Use Relative Paths

No matter what language you are developing in, or whether you are developing programs or Web pages, never hard code paths to files that include drive letter distinctions (i.e. N:Images).

SQL Feature to Integrate with COM Objects

SQL Server has a very powerful, but often overlooked, feature to integrate with COM objects. SQL itself can create COM objects from within Triggers or Stored Procedures, apply property values

Utilize Version Control Mechanisms

If you are using SQL server, consider utilizing version control mechanisms for your triggers and stored procedures. Many times I have heard people wondering about changes to a procedure or

Scheduled Walkthroughs and Reviews

Successful development groups implement regularly scheduled walkthroughs and reviews. I have found three common types: Code Walkthrough – At various points during the development life cycle, the developer or project