devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

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.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Overloading The ! Operator

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

Cannot Call API Functions From ASP

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

Access Data From SQL Server in ASP

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

Access Violation

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

Overload Operator []

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

Compiler Warnings with STL Map Containers

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.

Equivalent functions for Unchecked Conversion

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

Pointer Arithmetic

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

Keep Your IIS Browser Definitions Current

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

Escape Your Apostrophes in JavaScript

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

Add Some Pseudo-Class to Your HTML

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

Interface Usage

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

Color Space Transformation

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

String to StringBuffer Conversion

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

Add Variables to FrontPage 2000 Web Sites

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

Purpose of Placement delete

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

Introducing Pointers to Members

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

Multithreading Misconceptions

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

Avoiding Deferment of Global Object Construction

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

Finding the Max and Min in Consecutive Data

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 ,

Exchange Rules Limit

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

Making the VFP Report Writer Accessible By VB

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

Selecting Rows Based on a Distinct Value

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

Memo Fields in FoxPro for DOS

Question: I am working on a FoxPro for DOS system and I am using the COPY TO function to export the DBF to a (text or Microsoft Excel) file. However,

Very Slow Queries

Question: I’m working on a database built for reporting purposes. Tables are updated once a month. Reporting queries are taking many hours to complete, some up to 26 hours. The

dBASE IV’s ODBC-compliance

Question: Is dBASE IV an ODBC-compliant database? Answer: ODBC compliance is (or was) a specific set of functionality expected of a back end being mediated by an ODBC driver program

Exchange/Outlook Client Lockup

Question: I’ve got a mailbox on our Exchange 5.5 server that locks up Outlook 2000 client after running for a period of time. I’ve tried it on multiple machines so