Monthly Archives: February 2012

Calvin Hsia has a great article at about creating a service from a VFP executable.

After running a service, at some point of time, we will be required to update it to a new version. For this we will require the running of another update service.

Structure of Normal Service

Our service will generally be based on a timer and will have a structure like

  1. Setup environment
  2. Create timer based object
  3. Enable the timer

In timer object  in the timer event we will have

  1. This.enabled=.f.
  2. Do something
  3. This.enabled=.t.

Changes to Service

To create an updatable service, first add… Continue reading