Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.








Question: How do I make the contents of one DIV (divA) equal to the contents of another DIV (divB) in Netscape? I know that in Microsoft Internet Explorer the code
Question: I would like to put my entire alternative no frames content in the NOFRAMES element instead of just a link to it. The advantage to this would be a
Question: How can I get data from a Dynamic Data Exchange (DDE) server and display it in a Web page? On a Visual Basic form, I can use a text
To prevent a component from getting the focus when the Tab or shift-Tab keyboard focus traversal is used, override the isFocusTraversable method. It is often desirable to toggle a TextField
Question: How do I interrogate tables randomly and print out their structures, components, sizes, and indexes? This ability would be useful in allowing me to check how I have created
Question: I’m leaving Turbo Pascal for Windows 1.5 and Turbo Pascal 7.0 because they don’t work correctly with Windows 95 (for example, division by 0). I heard that Delphi is
Question: The VS_VERSIONINFO structure can be used to obtain file version data about files with extended version data. This structure is not included in Delphi 4.0, nor is it included
Here’s another simple but useful add-in you can add to your arsenal. Follow the directions given in the previous tip “Add Remarks to Your Procedures,” with only minor differences. Use
VB5 introduced support for enumerations, which are related sets of constants. Although you can declare a property as an enumerated type, VB lets you assign any long integer value to
When copying the contents of one array into another, use the System.arraycopy method instead of an iterative loop. For example, consider the following arrays: int[] first = {1, 2, 3};
Question: I am working on system that is built from many pieces, but they all use certain common settings. I developed a simple ActiveX DLL that reads those settings from
Question: I am trying to set up a small intranet and was wondering if there is a way to determine the client’s workstation name (for example, Computer Name in Control
Operator dynamic_cast fails when it cannot convert its argument to the desired type. Usually, such a failure results from an attempt to cast an object to a non-related class. But
Standard exception classes are derived from std::exception (defined in the header). They all implement the member function what(), which returns a const char * with a description of the exception:
STL containers overload the assignment operator, thereby allowing you to easily assign containers of the same type to one another: #include #includeusing namespace std;void main() { vector vi; vi.push_back(1); vi.push_back(2);
When serializing a Hashtable in Java, make sure that the keys used to store objects are either primitives, or the key class’ hashCode() method overrides the superclass Object’s hashCode() method.
Many Visual InterDev 6 developers have destroyed their Visual InterDev 6 environments by installing Internet Explorer 5 beta. Microsoft mentions potential problems in the IE5 beta’s release notes but too
Even if your Web site is rock-solid with no broken links on it anywhere, chances are someone is going to see a 404 File not Found error page someday, if
The Perl sort function is useful for alphabetically sorting lists. However, you can’t use it on a list of lists, because once a list starts listing other lists, they cease
The serialization mechanism in Java provides the means for persisting objects beyond a single run of a Java program. To serialize an object, make sure that the declaring class implements
You can do a lot of cool things using Microsoft’s Remote Data Services (RDS). For example, have you ever wanted to display a field from a database table read-only in
Virtual inheritance is used to avoid multiple copies of a base class in a multiple-inherited object. However, there are cases where multiple copies of a base are needed in a
The java.lang package defines a class called Class. The Class class is different from the class (with a small ‘c’) keyword used to declare Java classes. The Class class is
Technically, JavaScript doesn’t support multi-dimensional arrays, but you can simulate a two-dimensional array by creating an array of arrays. This can be particularly useful if you want to create a
The Object class in Java is a superclass for all other classes defined in Java’s class libraries, as well as for user-defined Java classes. In object-oriented terms, an object is
The term endian refers to the way a computer architecture stores the bytes of a multi-byte number in memory. If bytes at lower addresses have lower significance (Intel microprocessors, for
It is possible to initialize a union. Yet, unlike struct initialization, the initialization list of a union must contain a single initializer that refers to the first member in the
Question: I am trying to write a script that creates a small file on the client machine. The script is trying to use the FileSystemObject. I have tried MSDN Library
Question: I am trying to create a site that will take user input via forms, query a database, and return results to the user. I’ve been reading a ton of
Collision detection is a fundamental part of game programming. It is also useful for many other aspects of user interface design. Being able to tell if one screen object has



