devxlogo

The Latest

Uploading a file on the server

Uploading a file from the client to the server is very straightforward with ASP.NET. Just use the tag and its wrapper class HtmlInputFile. Here’s how you define the control on

Deploy Your J2ME Application on a Sprint Phone

recently tested one of my J2ME MIDlet applications on a Sprint Vision handset. Once on the handset, the application ran great and I needed to make only a few changes

Java History 101: Once Upon an Oak

few weeks ago I was talking to someone about the origins of Java when I realized that I had big gaps in my knowledge of Java’s history. Trying to fill

Eliminating IsEmpty and IsNull Issues in ASP

When dealing with COM, unfamiliar database schemas, or regular code, sometimes you will find yourself wondering whether to test if a variable is Null by using either: IsEmpty(varname)IsNull(varName)If varname =

Multiply Values of a Particular Column in SQL Server

There is no T-SQL function for getting product of rows in a particular column. For example, say you had a table like this: –/////////////////////////////select * from #tbltest order by mydate

Workaround for the Lack of MSVC++ Template Support

I’ve been bitten by MSVC++’s inability to have templated methods without the whole class being templated and today I figured out a workaround that allows you to maintain most of

Handling Release-only Bugs

Sometimes a program crashes or simply misbehaves on release builds. This is very frustrating because usually you have to ship the optimized release version. The most common reason for this

Using Finally for I/O And SQL

An application’s memory footprint grows over time and may eventually cause the application to crash. There are many things that lead to a slow memory burn. One of these is

Accessing user controls from the code-behind

When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The

LogEvent – Logging an error/event to the Windows NT/2000 Application Event Log

‘ Log an error/event to the Windows NT/2000 Application Event Log.’ Usage: LogEvent(“Message here”, EventLogEntryType.Information)Sub LogEvent(ByVal message As String, ByVal entryType As EventLogEntryType) If EventLog.SourceExists(Application.ProductName) = False Then EventLog.CreateEventSource(Application.ProductName, “Application”)

Simplify JMS with the Facade Design Pattern

he Java Messaging Service (JMS) API, a Sun Microsystems interface for connecting Java programs to enterprise messaging middleware, is composed of multiple object interfaces with a hierarchy of relationships. The

Serving Business Graphics from a Web Service

ost graphics packages require you to format your XML data to a specific standard before they can output any charts, a method which robs you of the flexibility that makes

Choosing the Right Web Services Management Platform

s companies begin to implement Web services, IT managers are being confronted with the long-term ramifications of their deployment. Namely, management and support of Web services will ensure that they

Book Excerpt: Applied XML Programming for Microsoft .NET

Chapter 9?? ADO.NET XML Data SerializationXML is the key element responsible for the greatly improved interoperability of the Microsoft ADO.NET object model when compared to Microsoft ActiveX Data Objects (ADO).

Developing Pocket PC Applications In Visual Studio.NET

n a previous article, I discussed developing mobile applications using the Microsoft Mobile Internet Toolkit (now renamed “ASP.NET Mobile Controls”). Microsoft designed the ASP.NET Mobile Controls to help developers build

Book Excerpt: Building .NET Applications for Mobile Devices

Chapter 3: Developing Mobile Web ApplicationsIn this chapter, we’ll provide you with an overview of the mobile Web application development process. We’ll systematically guide you through some simple applications built

Developing Web Services in C++, Part II

n this article, I will demonstrate how to write a SOAP service in C++. The service is simple and consists of two operations; one to convert Fahrenheit to Celsius, the

Stepping Up to Book Publishing

ne of the great advantages of being a developer is that your skills are in demand in virtually every industry. That means that when the job market dries up, developers