The Latest

DevX - Software Development Resource

Getting the Length and Dimensions of an Array Object

A given array of objects can be one-dimensional, two-dimensional, three-dimensional, or n-dimensional. How can you tell? In this tip, the function getDim(Object o) takes an object and finds out it’s

DevX - Software Development Resource

Initializing Class Members

The following code demonstrates how to initialize class members in the initialiser list for more efficiency: class A{int a;char b;float c;public: A();};A::A():a(0),b(0),c(0){}is more efficient thanA::A(){ a = 0; b =

DevX - Software Development Resource

Changing the Attributes of a File

Say you’re trying to overwrite an existing file, but its attribute is set to “Readonly,” so it generates a “Permission Denied” error. The following code shows how to change the

DevX - Software Development Resource

ADO.NET Best Practices, Part II

DO.NET has a strong and powerful disconnected model that lets programmers build a Web of in-memory objects and relate contents coming from different tables and even from different data sources.

DevX - Software Development Resource

Three Cool New Features in C#

# has always had a reputation as a clean language with lots of innovation. The Whidbey-release of Visual Studio .NET ships with a new version of the C# compiler that

DevX - Software Development Resource

Dynamically Adding Controls

‘m a baseball fan. While I’d rather watch a game in person, more often than not, I’m watching it on the television. Something that you may not consciously notice while

DevX - Software Development Resource

Creating User-Defined Data Types in Yukon

he next version of SQL Server (code name Yukon) has extensive support for the Common Language Runtime (CLR). Previous versions of SQL Server (2000 and earlier) had a mechanism for

DevX - Software Development Resource

Creating Skinned Controls for ASP.NET

opular applications including ICQ, WinAmp, and Windows Media Player use skins to enable a user to choose another appearance for that application. The skins for those applications can be very

DevX - Software Development Resource

.NET Gripes and XAML Worries

ike many of you, I spend my days and nights building applications in Visual Studio .NET. I have been developing “real” applications in this tool for around a year and

DevX - Software Development Resource

C# 2.0 Code Refactoring

he next version of C# will feature a code refactoring engine built into the Visual Studio environment. A term coined by Martin Fowler, code refactoring allows you to change the

DevX - Software Development Resource

Creating Web Sites with ASP.NET Whidbey

e remember clearly the time period before ASP.NET 1.0 shipped. While building applications using ASP, we said over and over “I sure wish we could use this stuff right now,”

DevX - Software Development Resource

Finalize(): Knowing Where You Are

ou know what happens when an expensive lightweight bicycle attached firmly to the top of a two-ton vehicle moving at approximately five miles per hour hits an immovable house? Figure

DevX - Software Development Resource

Exploring New WinForm Controls in VS .NET Whidbey

he WinForm controls provided by the .NET Framework 1.1 are extremely useful, and the framework for developing new custom controls provided in 1.1 is very strong, but sometimes the development

DevX - Software Development Resource

An Introduction to Visual Studio.NET Whidbey

hen I was asked to write a few pages on what’s coming in the next version of Microsoft Visual Studio .NET (code named Whidbey), the biggest issue I had was

DevX - Software Development Resource

The Mind of an Angry Coder: Waiting to Inhale

ny Microsoft-sponsored conference, whether it be Tech?Ed or the PDC, ends up being a double-edged sword. You find out about all sorts of great tools and technologies that Microsoft is

DevX - Software Development Resource

Exploring WMI: Integrate WMI into the .NET Framework

Windows Management Instrumentation (WMI) is one of the most fascinating technologies for managing distributed corporate computer systems. As the Windows implementation for WBEM (Web Based Enterprise Management), a standard developed

DevX - Software Development Resource

Open Source and Security: Letters to the Editor

o call last week’s featured opinion unpopular would be understated to say the least. In his commentary, DevX Executive Editor A. Russell Jones opined that open source software is more

DevX - Software Development Resource

How to Read a Binary Stream Using ASP?

Related Posts Agile Hiring MethodsTop Lenovo Replacement Laptop ChargersChef Delivery Now Generally AvailableAvoid the XML Encoding TrapClean Tech Industry’s Thriving Job Market

DevX - Software Development Resource

Handling a Final Empty Parameter

The StringTokenizer and the Missing Token tip tells us how to cater for empty parameters, for example in the comma delimited string following: token1,token2,,token4,,,token7 The tip works well, with the

DevX - Software Development Resource

Bit Shifting in VB

The basic principal of this function is to divide the decimal number by two for bit number of times (if that makes sense). So, if bit 30 was to be

DevX - Software Development Resource

Two-dimensional Arrays

Data that is in rows and columns is usually stored in 2-dimensional arrays. Two-dimensional arrays are declared by specifying the number of rows then the number of columns. Unless specified,

DevX - Software Development Resource

CSS: Spacing and Areas

SS is an integral part of the future of the Web. You’ll need it in your toolkit sooner rather than later. It is particularly important with the advent of XML.

DevX - Software Development Resource

Optimizing the Graphics File

he first place to start is by saving your graphics file in a Web-ready way.The way you save a graphics file for print use and the way you save it

DevX - Software Development Resource

Who’s Guarding the Guards? We Are

he editorial published on February 11, “Open Source Is Fertile Ground for Foul Play,” suggests three areas where security might be a concern for governments when considering open source software.