January 3, 2007

ClickOnce: Delivering .NET Applications Via the Net

rom the simplest point of view, ClickOnce is a software technology from Microsoft that gives .NET developers the ability to publish complete applications (executable programs along with their resource and data files) to a Web server. ClickOnce creates “deployment packages” accessible to end users (clients) via a URL. A client

Force Attribute Value Inheritance in XSL-FO

To force an XSL-FO attribute to inherit the value of another attribute, use the inherited-property-value: &ltfo:block color=”blue”> Hello to you!!! The idea is that the “Hello” foreground will be blue and the “to you” background will be blue (by inheritance), but the “to you” foreground will be yellow.

Obtain a Secure PDF from an FOP Processor

This tip shows you how to obtain a secure PDF from an FOP processor. This means the user can’t open the PDF without a user password and, once downloaded, cannot edit, print, or copy the PDF. //get an org.apache.fop.apps.Driver objectDriver fop=new Driver();…//the output will be a PDF filefop.setRenderer(Driver.RENDER_PDF); //create a

Take Advantage of VS.NET’s Permanent Clipboard

It’s convenient to be able to store your most commonly used code snippets in the clipboard ring of your .NET IDE, but you lose them when you close the IDE. However, there is a way to save the code permanently: drag and drop the text of your snippets into the

How to Draw a Spiral in VB

Using a loop and the mathematical formula for a spiral, you can use pset(x,y) to plot the points returned by the formulas. The variables a and b determine the shape of the spiral. Generally, smaller numbers mean a tighter spiral. The following code shows an exponential spiral wherein the distance