
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: We have Internet Information Server (IIS) 4.0 running Active Server Pages (ASP) with a Visual Basic 6.0 DLL serving data content to the ASP pages. The problem lies when
Question: How can I provide the user with a combo box and based on his selection populate the data in a text box? The data has to come from a
Question: I am confused regarding the Application_OnStart and Session_OnStart events in the global.asa file. What I feel is that the application_onstart event is triggered the very first time the application
Question: How do I connect to an Access database that resides on a network server other than the Web server? My goal is to query the Access database and display
Question: Is it possible to have a postfix version of the ! operator? Answer: No, you cannot alter the associativity, ordering and position of built-in operators when you create an
Question: Can I use Windows API calls in ASP? If so, do I have to declare functions? Answer: Unfortunately, at this time you cannot call API functions from ASP. The
Question: I’m using Microsoft SQL Server 6.5, Active Server Pages (ASP), and ActiveX Data Objects (ADO). When I retrieve a string with a value of “New York” from the table
Question: I get an “Access violation at address…” error, when I run my program. An error occurs on line “scanf(…)” but I can’t figure out what is wrong. Answer: In
Question: Is it possible to overload the ‘subscripting operator’ [] so it will take char * as the index, similar to an array? For example: I want to write a
Question: Using even the most basic default constructor, such as ” mapm; ” , causes a debug error creating huge compiler warnings in Visual C++ and MS Visual Studio 6.0.
Question: Are there any functions/libraries that can perform the Unchecked_Conversion function in Ada? We are writing a program that will read a bitstream. Upon determining the type, we want to
Question: I am a programmer beginning to learn C++. I wrote this chunk of code: /////////////////////////////////////////////////////////////// Get to do some pointer arithmetic!/////////////////////////////////////////////////////////////#include #include const char NL = ‘ ‘;const char
Internet Information Server includes a component that helps you determine the capabilities of a browser before you send code that may not be supported. The list of capabilities is stored
In JavaScript, the apostrophe (‘) is a string delimiter. That is, it marks the beginning or end of a text string. If you include an apostrophe inside a string, the
Rollover effects are fun in HTML but too much code and alternate images means your page takes longer to render in the browser. Don’t forget that some effects are built
When doing a database query with a SQL statement, it is convenient to use the asterisk (*) to retrieve all of the fields in the table whether you need them
Question: In designing a program, how do I know when to use an interface or a class?Is there a basic rule to follow? Answer: Java supports a limited form of
Question: How do I transform the color space of an image?from its original space to grayscale, for instance? Answer: The ColorSpace class is defined in the java.awt.color package.It encapsulates the
Question: How do I convert a String object to a StringBuffer object? I tried to put a String object into a stringBuffer using a cast, but I got an invalidcast
If small parts of your FrontPage Web change frequently, you can save a lot of time by inserting variables with the Substitution Bot. Any time you need to change the
In addition to the technique described in tip #453, “Assigning A Zero Value to All Members of A Struct”, C++ (but not C) offers another method of assigning all the
C++ defines a placement version of operator delete. Placement delete is not supposed to be called directly by the user. Rather, it merely serves as the deacllocation function that the
Pointers to members are one of the most intricate syntactic constructs in C++, and yet, they are a very powerful feature too. In future tips, I will discuss pointers to
While it is true that a multithreaded app is more responsive than a single threaded one, programmers who are new to multithreading are often misled into thinking that a multithreaded
Consider the following class and its global instance: // Foo.h class Foo { public: Foo() { RegisterSelf(); } private: void RegisterSelf() {/**/} };// Foo.cpp #include “Foo.h” Foo reg; // global
In older stages of C++, the ios::nocreate and ios::noreplace open modes were part of the family of classes. However, the revised family of file manipulation classes, which should be used
Question: I have a table in Microsoft Access 97 with sales info in the following format: Prod_Type, Box_Number, Cust_No.FA1111 , 400400 , 40010FA1111 , 400401 , 40010FA1111 , 400402 ,
Question: I am trying to set up 87 rules for a specific mailbox. Problem is, I get an error message stating there are too many rules. Is there a limit
Question: I’m a Visual FoxPro 6.0 programmer and recently decided to use Visual Basic 6.0. Everything seemed to be fine in VB until it came to creating a report. The
Question: I have a table in my SQL 7 database that, among other values, contains e-mails. There are duplicate e-mail values in this table. I want to extract one record









