devxlogo

The Latest

Change the SQL Server Configuration Option

You can use sp_configure with RECONFIGURE to display or change server-level settings. However, some configuration options require a server stop and restart to update the currently running value. RECONFIGURE does

Passing More Arguments to a Callback Function

Callback functions have a fixed signature so you cannot alter the number or type of the arguments it takes. For example, the standard qsort() function takes a pointer to a

Greet CC++ , a Parallel Programming Language

CC++ (this is not a typo) is a parallel programming language based on C++. You can find a free CC++ compiler as well as an overview of CC++ features, syntax,

Visit Dennis Ritchie’s Homepage

The homepage of Dennis Ritchie, the creator of C and a coauthor of the legendary The C Programming Language, is probably the best virtual museum of the C programming language.

Catch Exceptions by Reference

Although you can catch an exception by value, as in the following example: catch( Exception except) // by value { // Related Posts Branson’s brave sale of Virgin Records safeguarded

Posting Two Forms Simultaneously

Question: I have an HTML page containing two forms. One form uploads an image file and needs to have an encryption type set while the other sends a plain set

Using Pointers to Return More Than One Value

Question: Can you show me an example that demonstrates how to use pointers to return more than one variable? Answer: A function cannot return more than one value. However, you

Reading Files on Client Machines

Question: I have to use the Scripting.FileSystemObject in a script on the client side because I have to read a file from the client disk. Because the Scripting.FileSystemObject is not

Change Your Selection Mode

Did you ever want to copy a block of preformatted text or a long concatenated SQL string, but wished that InterDev didn Related Posts Tech Layoffs Are Getting Worse GloballyReverse

Improve ASP Performance

You can improve on ASP performance by avoiding the use of server-side #include directives to include large lists of constants. Instead you can use the new tag to import type-library

Choose Consistent Case for Open and Close Tags

Writing well-formed HTML is really quite simple. It has the benefits of markup being unambiguous as well as a way to increase the robustness of the Web, while simplifying and

Navigate Back to the Target

One of the easiest methods to navigate back to the page where they came from is with JavaScript object.property called document.referrer. This document.referrer means the page that referred the current

Setting Timeout for ADO

If you have a data driven Web site, you might provide functionality so that a user can delete records from the database via a Web page. If there are lots

How to Construct Images in Memory

There are many simple images (stripes, hue gradients, fractals, and the like) that can easily be constructed in memory via code. To do so, you need a one-dimensional array to

Exploit Serialization To Perform Deep Copy

The clone() method of java.lang.Object class makes a shallow copy of anobject i.e. a copy that excludes the objects that the to-be-cloned object contains. Therefore, to produce a deep copy

Convert Java Class Files To Windows Executables

The Microsoft Java SDK (http://www.microsoft.com/java) has a tool called jexegen which converts a Java class file into a fully executable Microsoft Win32 application. Related Posts How to Check if Index

The Fraction Gotcha In Java

In Java The expression x/y (x and y are both integers) will represent an integer operation that would result in an integer. So, the result of 4/5 would be 0.

Discover the IP Address of Your Local Machine

The class java.net.InetAddress represents an Internet Protocol (IP) address. It has a static method, getLocalHost(), that you can use to obtain an instance of java.net.InetAddress based on your local machine’s

Display Data from a Database in Your ASP Page

nce you go beyond the basics in ASP?scripting some fancy output?the next thing you usually want to do is access a database and display data from it. This ASP primer

DHTML Collapsing Treeview

y now, I’m sure that you have some Web development experience, either with VB DHTML applications, or HTML pages using VBScript. If not, then you will soon, so pay attention.

FormManager Fun in Visual InterDev 6

his article takes a first look at the FormManager, one of the important new featuresin Visual InterDev 6. When dropped onto an Active Server Pages (ASP) page, the FormManagerdesign-time control

Overloaded Log File

Question: Our Web server (NT 4.0) became inoperable over the weekend due to a SQL Server error that stated that the “applications log file is full”. From what I understand,

Why don’t destructors work on global classes?

Question: Why don’t destructors work on global classes? Answer: Actually, destructors do work in global objects. The problem is, they are invoked after the program has ended so you don’t