Programmatically add a watch expression to the debug watch window

A user may want to add a particular variable or expression to the Visual Foxpro debug watch window   Here’s some code to do it.   The debugger can read/write a particular debug config file. The default is stored in the fox resource file. Or you can choose File->Save Configuration to save various configurations.   Try…

1

Screen Saver Tricks

In a prior blog entry I describe how a couple lines of code can start the currently registered screen saver instantly and how to disable the screen saver.   Screen savers are funny animals. They are simply executable programs that typically will terminate whenever a mouse or keyboard event occurs.  However, you can write a…

4

Run your code in response to a new drive being inserted

At the Las Vegas Devcon last month I used a digital camera to take a picture, then I plugged the camera media into my Tablet PC which was running the Visual Foxpro code below.   The pictures on the media were automatically detected by the event handler and they were read into a table and…

6

Using Outlook to manage new documents

I like using Outlook to manage documents that I compose, such as this blog entry.   What I mean by that: I start writing a document by simply starting to compose a new mail message. I have Outlook configured to use MSWord as my email editor, so I have the full capability of Word at…

1