The Latest

DevX

Am I in the IDE?

Question: Is there a simple test that can determine whether a VB program is running in the IDE or as a compiled exe? Answer: Yes there is a very simple

DevX

Set Your Pages’ Content Ratings in IIS

Content ratings help your users?especially families?know what type of content your site provides. Microsoft Internet Information Server (IIS) 4 lets you add content ratings to any page. Try this: In

DevX

Turn Off Sessions in Active Server Pages

Session variables are a boon to ASP developers because they allow you to maintain variables from one page to another. However, the use of session tracking may make Internet Information

DevX

Correctly Declaring Global Objects

Although the use of global variables is not recommended in general, sometimes it’s unavoidable. When using a global variable or object, never instantiate it in a header file because the

DevX

Case-insensitive Comparison of Strings

Class std::string’s overloaded operator == performs a case-sensitive comparison. This means that the following strings are not identical when compared using ==: string s1 = “Jellylorum”; string s2 = “JellyLorum”;

DevX

Static Initialization and Dynamic Initialization

C++ distinguishes between two initialization types for objects with static storage duration (global objects are an example of objects having static storage). Static initialization consists of either zero-initialization or initialization

DevX

Avoid Redundant Parentheses in Object Instantiation

Although the following statements are semantically equivalent string * p = new string(); //with empty parentheses string * p = new string; //no parentheses The second one is preferable for

DevX

Updating the End Date Field

Question: I have written the following SQL statement and want to update only the end date field (saaphy01.n5ajdd) in one file. How can I tell it in my query to

DevX

Double-Count in a SQL Query

Question: I want to create two count-variables in one SQL query based on GROUP BY signum_chef. Is that possible? I’ve tried something like this: SELECT DISTINCT signum_chef, Antal=(SELECT COUNT (*)),

DevX

Exchange Client vs. Outlook

Question: What is the difference between Microsoft Exchange and Outlook? We only use Exchange on our workstations, but I have an icon on my desktop for Outlook. Please explain. Answer:

DevX

Error with Type M Field

Question: I’m trying to access a particular field via an ASP. I presently have a table displaying multiple fields. Everything works fine, but as soon as I try to add

DevX

Using the Implements Statement

any people ask about how the Implements statement is used in Visual Basic. It is actually quite useful and allows you to build more flexible applications. Here’s what it is

DevX

Using Metadata to Solve Complex Problems

s someone who genuinely likes SQL and relational databases, I get a particular kick out of seeing how database engines use relational tables themselves to store their own metadata. As

DevX

Generating XML from ADO Recordsets

n an ideal world, the process of communicating between XML and the database world would be completely seamless and transparent?you point an XML DOM at a database, say Update or

DevX

Recurses! Foiled Again!

ne of the terms that strikes terror into the hearts of Computer Science 101 students is recursion. Until you are able to think recursion through, the implications of it are

DevX

Turn HTML Form Input Into Java Objects

avaServer Pages can make Web Application development a lot simpler.When coupled with JavaBeans, turning HTML form input into Javaobjects is a lot faster to implement. If you identify the mostcommon

DevX

Track changes in system time and display resolution

Whenever the system time or the display resolution changes, Windows sends all the top-level windows (forms, in VB jargon) the WM_TIMECHANGE or WM_DISPLAYCHANGE message, respectively. Therefore, you can easily determine

DevX

Determine when a TextBox control is scrolled

When the user scrolls the contents of a TextBox control – either by clicking on the companion scrollbars or by typing new characters in the edit area – the TextBox

DevX

Optimized Paint procedures with subclassing

The Paint event doesn’t provide with information about which region of the form must be actually repainted, and therefore forces the programmer to repaint the entire client area, which in

DevX

HTML Basics: Basic Text Tags

Basic Text Tagsith only a small set of HTML tags you can create a functional page. The set of tags in this section let you set up an HTML file

DevX

Getting Graphics

o, you’ve decided to add some graphical pizzazz to your site: A dozen images, an animated GIF or two, a set of graphic dividers and bullets, and a cool background

DevX

HTML Basics: Links

inking together different ideas and content is a basic strength of the Web. The very name “browser” comes from this idea. The browser lets you, from your desktop, browse through

DevX

HTML Basics: Using Images

ell-used graphic images make a site more interesting, add information, and help with navigation. With a little forethought, you can use images that download quickly, display quickly, look good, and

DevX

CSS Style Properties

he symbol means that the style property is not supported by Netscape Navigator 4.0.The symbolmeans that the style property is not supported by Internet Explorer 3.0.The symbolmeans that the style

DevX

Getting Started With Web Graphics: The Basics

umans tend to be visual creatures?and the Web reflects who we are.Back when it started, the Internet was a text-only medium. Hard to imagine now, isn’t it? A bit like