devxlogo

Tip Bank

DevX - Software Development Resource

Avoid name conflict by using namespaces

In large-scale software projects, short and elegant names for types and functions are problematic because they can cause a name conflict, i.e., the same name is used more than once

DevX - Software Development Resource

A Button Constructor for Java 1.1

With JDK 1.1, you can define an action command String for a Button that is independent of the text displayed in the Button. At the least, this enables you to

DevX - Software Development Resource

Control in what Container?

Question: Is there a way to find out if a control that I am writing in VB5 is inside a container such as a picture box and then find out

DevX - Software Development Resource

Enumerating Function Parameters

Question: I’m writing on an OCX Control with VB5. I have a lot of functions in it and I dont want to scare the end user with a lot of

DevX - Software Development Resource

Compilers for Windows CE

Question: I’m developing a project that will use H/PCs. But which compilers are available for Windows CE? Answer: Currently, Microsoft is the only vendor offering a compiler for Windows CE.

DevX - Software Development Resource

Double quotes in queries

Question: OK, suppose you need to include in a query a string which contains both single and double quotes, for example:UPDATE Books SET Title = “Gulliver’s Travels”I need to save

DevX - Software Development Resource

Free System Resources

Question: Is there an API call to find the amount of free system resources in Windows 95? Answer: Good news and bad news, here. Yes, there is. But, no, you

DevX - Software Development Resource

Reading a data file in C++

Question: I’m trying to read a data file that I can read just find in Visual Basic, but the integers don’t seem to work when I use Visual C++. Note: