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

DevX

Null values in WHERE clauses

A SELECT query returns all the rows for which the WHERE clause returns True. However, many developer – especially those accustomed to other programming languages, such as VB – get

DevX

GROUP BY and UNION may return unsorted resultsets

In SQL Server 6.5 and previous versions, the GROUP BY clause in a SELECT statement was carried out by temporarily sorting the resultset before grouping similar rows, therefore the end

DevX

Share Data Across MTS Objects

One of the resource dispensers that come with MTS is Shared Property Manager (SPM). SPM provides a mechanism by which you can share global memory among all the objects that

DevX

ASP Compatibility

Question: According to the stats of my Web site, there are still quite a few users who use old browsers like Netscape 3.0 and Explorer 3.0. If I start using

DevX

Deleting Fields from Recordset Object

Question: I am using a disconnected recordset (adOpenStatic, adUseClient) which is obtained by executing a stored procedure using command an object. I tried to delete some fields from the recodset

DevX

XHTML and Javascript

Question: Can Javascript code be used in XHTML Web pages? Answer: Sure. The only real difference between XHTML and HTML is the consideration for ampersands and less than symbols. Thus,

DevX

Sending Null Values to a Required Field

Question: When I try to send some information to an access database through ASP, I get the following error: [Microsoft][ODBC Microsoft Access 97 Driver] Field ‘tablename.class’ can’t be a zero-length

DevX

XML Schemas

Question: What is the difference between SOX schemas and XDR schemas? Answer: SOX schemas are more object-oriented (the name in fact means Schemas for Object-Oriented XML), allowing you to assign

DevX

Save and Load

Question: Is there any way to do a incremental save using XMLDOMDocument (MSXML parser) and also loading part of the Document tree? Answer: A SaveInto or a LoadFrom command? As

DevX

Searching a Database for a Keyword

Question: When setting up a recordset, is it possible to get a record when the field contains more than the word that I’m looking for and where the words are

DevX

Special Characters and XML Strings

XML has a special set of characters that cannot be used in normal XML strings. These characters are: & – & < - < > – > ” – "

DevX

Redirect User To Correct Login Page

If a user runs a page on our site and has not yet logged in, we can redirect him to the correct login page with the following script:

DevX

OS System Calls

Question: How can I pass a member function of a class as a pointer in C (pointer type expected: void *)? Answer: You can’t pass a pointer to a C++

DevX

Bit Fields and Memory Alignment

Question: Using Visual C++ 6.0, I recently attempted to create a structure to implement a data message that my application had to process. The following code segment produced unexpected results

DevX

Clearing the Screen

Question: What is the “clear screen” function in C++, and which library is it in? Answer: Standard C and C++ don’t define a function that clears the screen. DOS and

DevX

Pros and Cons of Extended Stored Procedures

Question: What are the pros and cons of creating extended stored procedures? Answer: The pros are that you can implement additional functionality and access data from DLLs from within SQL

DevX

Best Method for Inserting Rows

Question: From a database-efficiency standpoint, which is better for SQL when inserting new rows into a table: issuing ad hoc SQL statements in the form of “Insert Into…” or using

DevX

Memo Fields

Question: I have a memo field in a table, which has been scattered to memvar. I need to append a standard statement to the field once the user has completed

DevX

SQL Summary

Question: How do I print out all of the tables, the fields the tables contain, and the datatype of the fields in my accounting database (for report creation)? I am

DevX

Optimizing Member Alignment

A class’s size can change simply by playing with the order of its members’ declaration. For example: struct A{ bool a; int b; bool c;}; // sizeof (A) == 12

DevX

Client-side Processing With ASP

Question: We’ve developed a TV scheduling program in HTML, but we have problems with speed (connectivity as well as display refresh) and the inherent functional limitations of HTML. We need

DevX

Populating ListBox from Recordset Values

Question: I am trying to populate a drop-down listbox with the data from a table within my database and a blank line. The code I am using is as follows:

DevX

IDL For VB Tutorial

The Interface Definition Language, or IDL, is a language for describing collections of data types, constants, methods (functions, procedures, etc.), and groups of methods known as interfaces. This is not

DevX

Generate Audit Table Trigger Code

This code will generate code to do a column-by-column comparison against a table, assuming that you are joining the inserted table (aliased as “i”) with the deleted table (aliased as

DevX

Models of Garbage Collectors

If you need a garbage collector, you can either install one or implement it by yourself. Which type of garbage collection should you use? A conservative garbage collector and a

DevX

Preventing Memory Fragmentation

Applications that are free from memory leaks but perform dynamic memory allocation and deallocation frequently tend to show gradual performance degradation if they are kept running for long periods. Finally,