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

Use Underscores When Dealing With Long Strings

Question: Why do I get an “unterminated string constant” error message in this code? Answer: You can’t let your strings wrap onto multiple lines without using a continuation character. The

DevX

Run Code Only When Form Is Submitted

Question: I have a Web page that uses a form to submit information to an ASP page. Once the data is submitted, the page is reloaded. At this point, if

DevX

Installing IIS 3.0 to Read ASP Files

Question: We have a form that uses an ASP file to post results in Access 97. It works fine on my computer using Microsoft Personal Web Server, but will not

DevX

Publish Information From a Database to a Web Page

Question: How can I publish information from a database to a Web page? Answer: Microsoft’s Active Server Pages (ASP) makes it a snap to publish information from a database onto

DevX

WebClasses vs. Active Server Pages

Question: What do you suggest using as far as WebClasses versus Active Server Pages (ASP) is concerned? It appears that WebClasses do everything ASP can do, and are faster. Answer:

DevX

Always Create User Defined Data Types in the Database

While designing the database for your application, you should always create user defined data types for columns across the database. User-defined data types ensure consistency of column definitions across the

DevX

Make an ATL Object Noncreatable

Here is a simple way to make your COM object noncreatable. You can change the attributes of an ATL-based COM object so that the automation client cannot directly create the

DevX

Objects in Visual FoxPro

Question: How do you set a Visual FoxPro class or array as the value of a property of another VFP class? It appears that if you add a property to

DevX

Meaning of BLOB

Question: What does “BLOB” stand for? What is a BLOB datatype? Answer: BLOB is a binary large object. Binary files hold stuff like pictures and audio files that get stored

DevX

Change Color of a Table Cell in Netscape

Question: Is there a way to change the background color of certain table cells in Netscape? I know Internet Explorer gives you that capability, but I can’t seem to figure

DevX

SQL SELECT Clause Order

Question: In what order are the clauses executed when resolving an SQL SELECT statement? Does a DBMS first examine the FROM clause to create an intermediate result, or does it

DevX

Quick Property Edits

When you are placing controls on a form at design time and wish to edit one of its properties, the quickest way to switch to the Property window is pressing

DevX

Use ActiveControl to stop a loop

Often your user interface includes fields whose contents mutually depends on other fields. A typical example is when you deal with conversions from one measurement unit to another. Let’s say

DevX

Use Currency instead of LARGE_INTEGER values

A few API calls require that you pass one or more LARGE_INTEGER arguments. These are 64-bit integer values, defined as follows: Type LARGE_INTEGER lowpart As Long ‘ lower 32-bit value

DevX

Determine whether an API function is available

In many cases you may want to call an API function, but you aren’t sure whether the Windows version the application is running on supports that particular function.The easiest way

DevX

Remove collection items from the beginning

There are many different ways to delete all the items in a collection, but some of them are much faster than the others. Let’s start with a collection that holds

DevX

Create a owner form with API functions

Starting with VB5, the Show method supports a second optional argument, that lets you specify which form owns the form that is about to be displayed: Form2.Show , Me A

DevX

Reading a String that Contains Whitespaces

In many C++ primers and courses, one of the common exercises is: “Write a function that reads a string of characters, say, the title of a book, from a keyboard

DevX

Return Focus After Button Click

Here’s an easy way to return the focus to a control after the user clicks on a button on the screen. If you use the keyboard, you can save time

DevX

Determine Which ListView Column Was Checked

When using the ListView control in list mode (Listview.View = lvwList), no property indicates which column the user clicked on within the selected row. The ListView’s HitTest method returns only

DevX

Create Better Button Arrows

Many times developers use a form’s default font arrow characters for To and From buttons between listboxes. To give your app a nicer, more solid look, do what Microsoft does-use

DevX

An Alternative STL Implementation

The STLport organization offers an alternative implementation of the Standard Template Library. You can install the alternative instead of using the existing STL implementation shipped with your compiler. The creators

DevX

Close all MDI Children Simply

This code allows you to close all the MDI child forms in an MDI form at once. First, create a menu item in the MDI form, then paste in this

DevX

Efficient Array Copying

Suppose you want to assign the contents of a two-dimensional array to another two-dimensional array: int weekly_hours[5][5]; // source int another_array[5][5]; // destination You can use a nested loop to

DevX

Properly Initialize Static Objects in Different Files

The C++ standard does not guarantee any construction order among static objects defined in different translation units. To demonstrate the effect of this restriction, consider this small application: In a