June 25, 2008

Persisting Data in Your Windows Mobile Device

n a previous article on Windows Mobile, I showed how you can develop a simple Windows Mobile 6 application and then deploy it by creating a CAB file. I also showed you the various connectivity options available in Windows Mobile that allow you to connect to the outside world. At

Force.com and Google Data API: The Cloud Gets a Little Easier to Program

At one point during salesforce.com CEO Marc Benioff’s keynote yesterday at the SaaS leader’s Tour De Force stop in Santa Clara, he presented a slide with a signpost of a forked road. One road led toward software and the other toward cloud computing. Above them was the declaration: “it’s time

Generating Reports and Statistics in PHP

tatistics and reports analyze the change over time of any kind of phenomena. For example, you could evaluate an employer’s performance by analyzing progress curves provided by reports; managers can make business decisions based on statistical sales data; meteorologists can predict natural disasters based on statistical weather pattern data—and the

Create a “Flea” Filter Using the RGBImageFilter Class

This tip demonstrates how to build a “flea” filter based on the RGBImageFilter class. The filtered picture will look like the image displayed on old TVs. import java.awt.image.*;import java.util.*;import java.awt.*;public class FleaFilter extends RGBImageFilter{ ColorModel cm=ColorModel.getRGBdefault(); public FleaFilter() { canFilterIndexColorModel=true; } public int filterRGB(int x, int y, int rgb) {

Associate a File Extension to a Program

This tip is an addendum to the VB-2-the-Max tip CreateFileAssociation – Associate a file extension. The following code shows the complete original tip. The addendum is in bold. Without the additional code, Windows puts a small icon inside a border (like in shortcuts). Private Declare Sub SHChangeNotify Lib “shell32.dll” (ByVal