Tip Bank

DevX - Software Development Resource

Binary Files

Question: I’ve read your article on text files. However I would like to know how one achieves the same functionality with binary files(i.e. How do you read in a binary

DevX - Software Development Resource

Generating Beep

Question: I want to alert the user of my application withan ASCII 7 bell character. When I run the application from a prompt and use System.out.println((char)7) I get the result

DevX - Software Development Resource

Deprecated API

Question: When I compile my applets or applications, the compiler often tells me I’d use a “deprecated API” and that I should recompile with the option “-deprecate”. If I do

DevX - Software Development Resource

Borland Database Engine

Question: Many companies offer Borland Database Engine replacements claiming to be smaller and faster. What does the BDE offer that these replacements don’t? Is there a good reason to keep

DevX - Software Development Resource

Which VB for me?

Question: I wish to create my own Windows program for a kart racing club that we can enter all the drivers for a race meeting, draw a grid for the

DevX - Software Development Resource

Finding Whole Words in a TextArea

Question: How do I find whole words in TextAreas? I have an application that is suppose to find particular words in a paragraph to see if you use certain words

DevX - Software Development Resource

ObjectInputStream Constructor

Question: How do I use the socket.getInputStream() with theObjectInputStream? Because the arguement type of the ObjectInputStream constructor is FileInputStream. I like to do something like:remoteIn = new ObjectInputStream(socket.getInputStream()); What should

DevX - Software Development Resource

Wait for 1 second

Question: I have a place in my Active Server Page script (VBScript) where I’d like to wait for 1 second before performing an action. What can one do to cause