devxlogo

The Latest

Send Email Attachments On-the-Fly

ou know what drives me nuts (among so many other things)? What’s making me crazy this week is the requirement?in so many areas of programming?that you must serialize data into

Building a PreserveProperty Control in ASP.NET 2.0

SP.NET provides a couple of page-level state persistence mechanisms in ViewState and the new ControlState. While both mechanisms work, they both have some limitations in that they are not deterministic

Brew Extensions: How They Work and When to Use Them

xtensions are tricky objects. They behave similarly to C++ classes except they’re ruthlessly complicated to implement. They give Brew developers, usually limited to C code, a chance to stretch their

Improve XPath Efficiency with VTD-XML

or the past several years, XPath has been steadily gaining popularity as an effective tool when developing XML applications. XPath was originally viewed as an adjunct element for the W3C’s

Wrangling SharePoint Workflows with Visual Studio

efore I can really describe what SharePoint and Workflow are together it’s important to understand what is meant when I talk about workflow. Its most basic components are a stimulus—an

The Art of Daylight Savings Time

A month ago, I discussed the strfmt() function. A timely announcement from Microsoft has inspired me to write a column about a related topic, namely accessing the system’s Daylight Saving

Roll Your Own SMS Gateway

n the last few years, SMS (Short Message Service) has made a big impact on the way we communicate (or at least the youngsters). Instead of communicating over the phone

Enterprise Reporting with Excel

hen it comes to analysis and reporting, managers love Excel. Just give them the raw data and they have a field day. For enterprise-level reporting, however, you want everybody to

An XQuery Servlet for RESTful Data Services

any web applications exchange data as XML, but that data is usually stored in and queried from relational databases, CRM, ERP, proprietary repositories, and a hodgepodge of other systems. Unfortunately,

Exploring Secrets of Persistent Application Settings

he MSDN documentation includes a lot of material on persisting application settings in a Windows application (see Application Settings for Windows Forms ). But like much documentation, it’s primarily a

Using the FOP-to-AWT Viewer

When you want to use the FOP-to-AWT Viewer from a Java application, you can use the ExampleAWTViewer.java. This application is available in the fop-0.20.5examplesembeddingjavaembedding directory. Using this class, you don’t

Quickly Updating the URL in a Web Service

One common problem in Web service development occurs when the URL for a Web service changes. It would be ideal if you could configure this through a config file instead

Remove MS SQL Server Completely

Microsoft has several different versions of SQL and occasionally an install fails or an upgrade fails and normal uninstallation is impossible. MS recommends that you use regedit to delete all

Javascript Errors in Firefox

Because browsers other than IE don’t create global variables for every part of the page/DOM, you need to qualify references to the form and its elements in non-IE browsers. You

Persistence Pays Offs: Advanced Mapping with JPA

he Java Persistence API is a new addition to the Java specification that updates Java’s method of performing object/relational mapping. In my first article on JPA, I explained the basics

Loading an XSL Stylesheet into a Java Application

Often, XML documents specify XSL stylesheets in an xml-stylesheet processing instruction. One easy way to load this stylesheet into a Java application is to use the TransformerFactory.getAssociatedStylesheet method. Though this