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.








Many users of Visual InterDev 6 complain about a dialogue box that pops up while they work offline. Even when using localhost and the internal IP address http://127.0.0.1/ the computer
You may have seen “(Compiled Code)” in a stack trace and wondered why a line number was not displayed instead. This occurs because as of release 1.1.5 of the Java
To implement a quick and easy version of the old “marching ants” line around a control, place two CommandButtons, a Shape, and a Timer control on a form. Then insert
An associative array (also called map or dictionary) is an array for which the index does not have to be an integer. An associative array stores pairs of values. One
The GetDlgCtrlID API, when passed a valid hWnd, returns a value that directly corresponds to the Index property of the Controls collection: Private Declare Function GetDlgCtrlID Lib “user32” _ (ByVal
Double-clicking an icon or file name in Explorer is the standard way of launching an application in Windows. However, if you’re developing an app that uses the ListView control from
Asking users to enter time values can often lead to problems formatting what the user enters. I use this piece of code to create a drop-down list of hours, minutes,
You can easily find out whether your user clicked on OK or on Cancel on a modal dialog. This example also prevents the user from unloading the form, and thereby
In SQL Server 7, a significant change was made to the way nonclustered indexes work when a clustered index exists on a table. In version 6.5, the nonclustered index used
Whenever you are programming in Active Server Pages, make sure that your browser is set to check for a new page every time. Otherwise, you may not see your latest
While attempting to deserialize (or unmarshal) a serialized object instance, you may generate an exception with a message similar to: java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.io.InvalidClassException: RMIParm; Local
Name mangling, (the more politically correct term is name-decoration, although it is rarely used) is a method used by a C++ compiler to generate unique names for identifiers in a
Everyone by now is familiar with how to create auto increment keys in SQL Server–just define an integer column with identity (start,increment) and you are set. To create a new
By default, when you define a primary key in the create table statement, it uses a clustered index. However, a clustered key is best used to support queries that return
The GridBagLayout is a flexible layout manager, but is also notoriously difficult to use. Some of the most common and difficult to debug problems occur when the amount of space
Giving yourself enough elbow room to design Web pages can be difficult inside the Visual InterDev environment. However, there’s a little-known feature that greatly expands your screen real estate. Full
Reverse iterators are ordinary iterators except that they invert the semantic of the overloaded ++ and — operators. They are useful when the elements of a container are accessed in
Question: I have JavaScript functions that I’m using in different pages. Is there a way to do a C/C++ type include so I don’t have to replicate the JavaScript code
The new and improved showplan in SQL 7 is certainly prettier and easier to understand than the previous version. However, a better method of focusing on trouble spots is using
A crude but common way of debugging Java programs is to use the public System.out and/or System.err instances of PrintStream to display information: System.out.println(“Entering section A of my code”); One
A sequence adaptor is a container built upon another container that modifies its interface. For example, the container stack is usually implemented as a deque, whose non-stack operations are hidden.
The drag and drop convenience of Microsoft FrontPage 98 makes you more efficient but leaves some unprofessional touches to Web pages. For instance, when you drop an image into the
The Standard’s specification of class std::string is formulated to allow a reference counted implementation. However, this is not a requirement. A reference counted implementation must have the same semantics as
When a class is instantiated, the subsequent object is actually an instance of the most derived class in the class hierarchy. A point of confusion for some programmers is that
For SQL Server to perform a dump to a remote drive (that is, another machine on the network), the ID that SQL Server runs under must have rights to the
When you are working in Visual InterDev 6, it is sometimes handy to reposition the Project Explorer, Toolbox, and Properties windows as floating windows. However, docking the windows again can
Question: I have a datawindow d_case with a retrieval argument al_case_id. In this datawindow, I have two columns that are ddlbcolumn1 = judge with dddw_judge and column2 = contact with
Question: What am I missing? I can’t compile this: Private Sub Form_Load()Dim WshNetworkSet WshNetwork = Wscript.CreateObject(“Wscript.Network”)’ Local name mapped to remote share WshNetwork.MapNetworkDrive “Z:”, “\NTc$”end sub Answer: Just leave off
Question: I have to tell you, you solved a problem for me (rebooting NT from VB), which I’ve been trying to figure out for months. Much thanks. Now I can
Question: I am trying to use OpenUserObjectWithParm to dynamically open a datawindow on a tab page on a tab. All the objects are pfc descendents. I want to open one
