Tip Bank

DevX - Software Development Resource

Counting Work Days

Question: I need to calculate the number of workingdays. Is there an easy way to do this? Answer: From what I can see, there is no built-in function to do

DevX - Software Development Resource

Setting Environment Variables in VB

Question: My 16bit application requires the presence of a DOS environment variable. On startup I check for it. If it does not exist I display an error. I would like

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

non-blocking read

Question: How do I control blockingin Java. For example, in telnet Iwould like to take an actionif the user presses a certainkey. This requiresnon-blocking read; I think? Answer: It is