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: I’m having problems passing variables to an API function. I always receive a Type mismatch error. I reproduced the situation in Visual Basic and found that if I used
Question: Is it possible to have two different versions of the Borland Database Engine (BDE) installed on the same machine? I’ve been developing in Delphi 3, recently went to Delphi
Question: I am updating an application that was developed to make an executable test version. However, the live database is opened, not a test database. I have made a test
If you have a Microsoft Word document that you want to insert into an HTML page in FrontPage 98, you don’t have to open Word to convert to HTML. With
In general, classes that possess pointers, file handles, and other resources need a user-defined constructor to avoid aliasing. For example: class Person {private: int age; char * name;public: // the
An event producer is also known as the “source” of the event. Java does not define a base class or an interface for the event producer. However, the Listener design
The EventListener interface is a marker or tag interface that doesn’t define any methods. Its purpose is to provide a base interface for all event listener objects that follow the
If you have Simple Mail Transfer Protocol (SMTP) installed with Internet Information Server (IIS), you can automate e-mail through VBScript. The Collaboration Data Objects for Windows NT Server (CDONTS) component
When creating a Java GUI, it is often the case that you want some action to be taken when the user double-clicks on some component. Although there is no simple
VBScript has some neat date functions. For example, if you want to display a database date field such as “3/14/99” as “Sunday, March 14, 1999”, try this code: Dim dtTemp,
Using Cascading Style Sheets (CSS), you can easily create styles that apply to the entire site. This technique has many advantages over repeating the same style text over and over
Most Java programmers know that adding an object to a Hashtable using a key already stored in the Hashtable will cause the previously-added object to be “dropped” from the table
In general, assignment requires the creation and destruction of a temporary object, whereas initialization does not. This is true for not just for strings, but for every object type, so
A constructor may not be declared virtual. The easiest way to simulate virtual construction is by defining a virtual member function that returns a constructed object of its class type:
Most of the overloaded operators can be declared either as non-static class members or as non-member functions. In this example, operator == is overloaded as a non-static class member: class
If you create an ActiveX control that uses a custom MousePointer property, place the control on a form, and at run time change the Screen.MousePointer property to an hourglass. You’ll
With the RGB function, VB provides a neat and valuable tool for converting separate Red, Green, and Blue values into a single Long color value.. However, VB won’t let you
Sometimes you might want to create autoselecting combo boxes, like those in Intuit Quicken or Microsoft Access, where items in the list are selected as you type. Typically, techniques to
Subclassing a form lets you give a helpful message whenever a user highlights a menu item. Use the Caption property to identify the menu item, then display the help message
You can access certain properties of forms, modules, classes, and events within them only through the Object Browser. To see and update the properties, right-click on the element and select
The fact that HTML fonts display smaller on Macintosh monitors than on PC monitors can cause problems for Web site designers. The cause of the problem is Macintosh monitors default
C/C++ programmers are used to parsing command line arguments using the “int argc” and “char *argv[]” parameters to the main() function. Java programmers can use a similar syntax to greatly
Question: How can I set my home page as my default URL? Answer: Setting your default URL is done differently in Microsoft Internet Explorer and Netscape Navigator. From within Microsoft
Question: I am about to embark on a new Web-based application using Internet Information Server (IIS), Active Server Pages (ASP), SQL Server, and Visual InterDev. So, the back end is
Question: I own a 366MMX Pentium Intel II computer and the Internet still seems slow. Is there any way I can increase the speed of searches and downloading? Answer: The
Question: It seems to me that you should be able to draw images in JavaScript by positioning single-pixel GIF images according to a given algorithm. First, how would you generate
Question: How can I tell which version of JavaScript I am running? I have written JavaScript that runs under Netscape 3 and all the more recent browsers. Answer: In the
Question: What is the command for printing out a column? Answer: In general, you’ll probably use an HTML table, with a single cell in each row, to display your data.
Question: What are the features of a distributed client/server architecture? Answer: The Web is an ideal environment to implement applications that take advantage of a distributed client/server architecture. In fact,
Question: How do I delete from an ADODB.Recordset that is created with a join expression and a where statement to minimize the result from the SQL query? I am using



