December 1, 2001

Compressing XML—Part II, Server-Side WBXML

n Part I of this article, you saw how to read and write the WBXML format. To use WBXML in any EDI scenario (such as database synchronization) you must be able to convert the WBXML to XML (human readable format) or parse the WBXML directly into SAX/DOM. Therefore, it’s useful

Compressing XML—Part I, Writing WBXML

ireless Binary XML (WBXML) is a compact representation of XML and is part of the presentation logic in Wireless Application Protocol (WAP). WBXML significantly improves the efficiency of transmitting XML over narrow bandwidth networks, where data size is of paramount importance. Although WBXML was originally meant for wireless networks, it’s

‘Making Reuse Fun’ instead of ‘Making Fun of Reuse’

evelopers using binary reusablecomponents essentially becomes users, and immediately they treat these”black boxes” the same way users treat other programs.  Amazingcapabilities are overshadowed by ease of use and other trivial issues. While I have not discovered the total recipe for “making reuse fun” yet,guys reusing my components agree that the current

Create all the subdirectories for a new folder

The System.IO.Directory class exposes a CreateDirectory method that, as its name suggests, can create a subdirectory. However, this method is even more powerful than it appears at a first glance, in that it can even create all the intermediate subdirectories, if necessary. In other words, the following statement: System.IoDirectory.CreateDirectory(“C:MyAppMySubDirData”) creates

Working with owned forms

If a form owns another form, the owned form will be always displayed in front of its owner form, no matter which is the active form. This makes owned forms ideal for implementing tool and palette windows. Another feature of owned forms: when the user closes or minimizes the owner

Showing help

The System.Windows.Forms.Help class encapsulates the HTML Help 1.0 engine and lets you display the index, the search page, or a specific topic in an HTML file in HTML Help format or a compiled help file (.chm) authored with the HTML Help Workshop or some third party tool. This class exposes

Mouse clipping with the Cursor class

The Clip property of the System.Windows.Forms.Cursor class represents the rectangle within which the mouse cursor is confined, or Nothing if the mouse can move over the entire screen. This rectangle is in screen coordinates, so you must do some conversions if you want to confine the mouse to an object

Adding events dynamically in a Windows Form

The new AddHandler statement makes it possible to attach event dynamically, that is without having to bind them via static code based on the Handles keyword. This keyword is also useful to have all the controls on a form share the same event procedure. For example, say that you want

Use an Include File for your Database Connection String

That way, when a parameter in your connection string changes, you only need to change it in one place versus every web page that utilizes it. Below is an example of an include file called BusRev_dbConnInc.asp and the ASP page that calls it. Dim aConnDim aRsDim rsTotalsSet aConn = Server.CreateObject(“ADODB.Connection”)Set

No more posts to show