devxlogo

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

OWA 2000 Journal and Public Contacts

Question: Will OWA 2000 provide access to public contacts and access to the users journal? Answer: The answers to your questions, you’ll be pleased to hear, are yes and yes.

Directories That Won’t Open

Question: How come I can’t open some directories on my C: drive? I get the error”c:directoryname is not accessible. Access is denied.” Answer: I have had the same problem on

Windows NT Profiles

Question: Why are Windows NT user profiles created with extensions of .000, .001, and so on? Answer: The following is from the MSDN article Q185588, “Guide To Windows NT 4.0

Windows 2000 Defragment

Question: How can users be given the ability to run defragment without any other rights being givento their computers? Answer: There is a utility in the W2K Resource Kit called

Mail Not Delivered

Question: Quite a few users keep getting a message saying their e-mail did not reach the intendedrecipients, and also that there was a communication error and the sender has beenrejected.

Windows NT Administration

Question: How can I add hundreds of users to the NT server by an automated procedure? Answer: In the NT Resource Kit (either NT 4.0 or W2K version), look at

Avoiding Buffer Overflows

Buffer overflows are a fertile source of bugs and malicious attacks. They occur when a program attempts to write data past the end of a buffer. Consider this example: #include

What’s in a Library?

A library is essentially a file that contains compiled object modules (a module is the object file produced from compiling a single source file). A program can call, or import,

Calling a Function at Program’s Startup

Certain applications need to invoke startup functions that run before the application starts. For example, polling, billing, and logger functions must be invoked before the actual program begins. The easiest

Getting the Code Value of a Character

A character enclosed in a pair of single quotes is a constant expression that is evaluated to the numeric code of that character in the character set that the implementation

Calling a Help System

Question: Once I create a .chm help file with HTML Help Workshop, how do I call this help file from my .exe application? Answer: There is a simple answer and

Slow Report Generation

Question: I’m developing a VB client application (using VB5) with an Informix database in the backend. However, the report generation that Crystal Report incorporates has always been very slow. What

Text Datatype

Question: How do I search a text datatype column in an Informix database? Answer: Try using one of the text search datablades, if you are running an engine that supports

Informix and ASP Error

Question: When I try to connect to an Informix database (via ASP) located on another machine on our LAN, I get the following error: Microsoft OLE DB Provider for ODBC

Database Connectivity

Question: I am trying to connect to an Informix database via ODBC from Microsoft Access 2000. When I import a table from the Informix database, I see all the data.

Simple Component Testing

When creating ActiveX components, an easy way to test them is to add a module to the project (see the code below). In this module you can write methods that

Implement Catch All Blocks for Robustness

You can use Throwable class in catch block to catchall kinds of exceptions. This class is the base classof all errors and exceptions in the Java language. You can use

Overhead of Using Inner Classes

An interesting situation with method call overhead arises when you use inner classes. The inner class specification says that a private method of a class A can be used by

Multiple Entries That Meet Criteria

Question: How can I pull just the first match to a query? We have a database of jobs in process: jobno 12345op# 10 shear %complete 100op# 20 punch % complete

ADO with Stored Procedures

Question: How do I get both output parameters and output recordsets from the SQL7 stored procedures I call from ASP via the ADO command object? Answer: It is possible to

Client Caching of Java Server Pages

Question: When I redirect a request from a Servlet to a JSP, the browsercaches the JSP and won’t display an updated page without reloading.How do I prevent the page from

Sqlhosts

Question: Why when I try to run sqlexecd to set up ODBC do I get an error: -25553 unable to load locale categories. Answer: Check your environmental variables. If you

Get Date by Totaling All Seconds

Question: How do I get the total number of seconds between two dates? Answer: You can use the DATEDIFF function to calculate the difference between two dates. The value can

Database Property

Question: How do I programmatically change the database property of Forms so that I can put my data files anywhere? Answer: You can set the database properties of cursors in

Threading and SimpleDateFormat

Question: Is SimpleDateFormat threadsafe? I am trying totrack down a bug where a date formatted “yyyy-MM-dd” actually came outas 2000-06-0001. I have four threads accessing the format method ofmy date

NT Admin

Question: Can I move 600+ users from a standalone server to a PDC with all rights and information intact, without having to recreate the users on the PDC? Answer: Well,

Using the VFP Grid Without Bound Data

Question: Is there anything similar to the “Microsoft grid control” in Visual Basic that just displays a grid and does not bind data from a table? Answer: You could use

Visual FoxPro 6

Question: With an application compiled into an EXE, why when I select 1 topic, enter into it, and exit do I get booted out of FoxPro to the main Windows