
Use Boolean Variables for Check-Box Values
Visual Basic specifies a Boolean’s default values as zero for False and -1 for True. You may save and set the value of a check box, based on the absolute

Visual Basic specifies a Boolean’s default values as zero for False and -1 for True. You may save and set the value of a check box, based on the absolute

Question: If I have a table open, can I execute SQL.Open?I was going along fine querying different tables, but now I have a table.open and am trying to query the

Want to know who has a particular file open on your NT Server? In NT 3.51, you could use File Manager to select a file on your server, use the

When generating project plans or timelines, never consider a resource as being 100% available. Most tracking tools allow you to put in the resource percent allocation. Even if someone is

Question: How do I center a page in a window vertically, without using returns or tables? Answer: It’s easy to center the page horizontally–all you need to do is use

Question: I know that with DHTML, it is possible to resize images using the Onmousover event handler, but the example shown on the Microsoft Dev site involves basically switching between

Question: Is it possible to change the screen resolution to 640*480 before my project runs and change it back when the program exits. Or is there another way of rearanging

Question: I am using MS Visual J++ 1.1 1997 and it doesn’tcontain the java.util.Calendar class and java.text.* packages that you reference in the answer to another question. How do I

Question: I want to create an offscreen buffer in a Java application, but I don’t know how. Answer: You can create an offscreen buffer by usingthe createImage(int,int) in java.awt.Component.This is

Question: How can I convert a String to a double and backagain? Answer: You can use the java.text.NumberFormat classto convert a String to a double and back again.Use the parse(String)

No matter what language you are developing in, or whether you are developing programs or Web pages, never hard code paths to files that include drive letter distinctions (i.e. N:Images).

SQL Server has a very powerful, but often overlooked, feature to integrate with COM objects. SQL itself can create COM objects from within Triggers or Stored Procedures, apply property values

Take advantage of the Windows Scripting Host to automate processes and get out of the linear mode of programming that ties up a user’s PC. Often when you write programs,

If you are using SQL server, consider utilizing version control mechanisms for your triggers and stored procedures. Many times I have heard people wondering about changes to a procedure or

Successful development groups implement regularly scheduled walkthroughs and reviews. I have found three common types: Code Walkthrough – At various points during the development life cycle, the developer or project

If you want to create good-looking separator bars but aren’t satisfied withsolid colors or the download time of fancy graphical bars, try this easy andbandwidth-friendly method. Create a gradient image

To avoid having to use a specific root name in your URL references, put allof your files except the default file (and global.asa if you’re using ASP)in named subdirectories and

Anchor tags usually change color after they have been “visited.” You cankeep this from happening in your site by using this style tag at the top ofeach document. Related Posts

Each time a user connects to an ASP Web site, they are assigned a SessionID. Each session times out after 20 minutes by default (although you can adjust the timeout

With Internet Explorer (3.x and higher), you can use an inline frame to provide a rectangular area into which you can write or retrieve content. An inline frame essentially opens

Question: How long can a document.cookie string be? In other words, how many cookies can I set? Answer: There are a number of important limitations on the use of cookies

The traditional convention of sending an integer as an error flag is problematic and unsatisfactory in OOP. The C++ exception handling mechanism can offer much more flexibility, safety and robustness.

The standard string class offers two ways to access a single character from a string object. The first one is to use the overloaded subscript operator [ ] like in

Whenever you overload operators such as + or -, it is useful to support the corresponding += and -= as well. As opposed to a common belief, the compiler will

There’s only one thing worse than a non documented source file: a misleadingly documented source file. A detailed description of a member function which no longer exists, or a documentation

If you’re still using the almost deprecated malloc(), free() and realloc() just because you need a dynamic memory container which expands and shrinks upon request, you should seriously consider using

here are some mighty powerful e-mail solutions out there in network land. Just look atthe size of Microsoft Exchange. But how about handling your intranet e-mail with somethingfast, light, cheap

icrosoft SQL Server is a great database for Web sites, especially Web sites deployed on NT and using Microsoft’s IIS server. It’s easy to install, relatively cheap, and interacts well

ver since Visual Basic was first released, most of its major features have been overhauled at least once. The exception to this rule is in file operations. Just as in

‘m afraid that age is catching up with me. Once, in my distant youth (well, maybe not all that distant), my eyesight was about perfect?I could make out inch high