devxlogo

The Latest

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

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

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

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

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

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,

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.

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

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.

Open Source Is Fertile Ground for Foul Play

n old adage that governments would be well-served to heed is: You get what you pay for. When you rely on free or low-cost products, you often get the shaft,

Expand Your VB6 Printing Repertoire—Part II

n last month’s 10 Minute Solution you explored the basics of printing with VB6. This month’s solution continues that exploration by presenting basic code for printing and previewing text. In

Print “Hello World” in a Mobile Phone Using J2ME

Use a simulator to see the output: import javax.microedition.midlet.*;import javax.microedition.lcdui.*;public class HelloWorld extends MIDlet implements CommandListener { private Command exitCommand; private TextBox tbox; public HelloWorld() { exitCommand = new Command(“Exit”,

Preserve the Sequence of Web Methods

The .NET Framework generates a service help page when accessing the asmx page for a Web service. This page lists the Web methods exposed by the Web service, but doesn’t

Release All Resources Before Exiting a Function

This code snippet releases memory and closes all open handles, files, etc. before exiting a function. Even if a function has to return, for whatever reason, this code ensures all

Determine the Value of a Date Variable

The value of a date variable is 12:00:00 AM when it is not assigned. If a date is optional for the user input, this value is often saved to the

Building RAD Forms and Menus in Mozilla

n Rapid Application Development with Mozilla, Web, XML, and open standards expert Nigel McFarlane explores Mozilla’s revolutionary XML User interface Language (XUL) and its library of well over 1,000 pre-built

Armoring Apache HTTP Server with SSL

nfortunately, there are individuals in the cyber world who have nefarious plots to use and abuse data that your Web site users might deem private and sensitive. But if you’re

Build Your Own Mobile Controls

hat was once known as the Mobile Internet Toolkit is now ASP.NET mobile controls. It’s the only Microsoft technology that enables you to target multiple devices?including Palm devices, Pocket PCs,

Top 10 Tips from the DevX Tip Bank

or years, DevX readers have been submitting their hard-learned tricks and workarounds to share with others. In a few short weeks, DevX will be overhauling our Tip Bank, adding new

Inserting Elements into Arrays

This tip demonstrates how to add an element to a particular position in an array and how to shift all elements in and above that position up one position. Using

The Enhanced For Loop

In the field of information technology, what counts more is the early adaptation of the new features that come with every new version of software. Coming up with the JDK

Get Your Stored Procedures Ready for Anything

ermissions are restricted in most environments. Even in development environments, only members of the sysadmin and serveradmin fixed server roles can execute the sp_sdidebug and sp_addmessage extended procedures to grant