Welcome to MSDN Blogs Sign in | Join | Help

May 2005 - Posts

Application logging and Error methods

I have some Fox classes that run in several modes. The normal fox interactive design environment In a runtime Multithreaded DLL from the fox interactive environment In a runtime Multithreaded DLL from within a client application (like windows explorer)
Posted by Calvin_Hsia | 3 Comments
Filed under: ,

Activation Key

Remember the old days when downloading a large file was a rare occurrence and your modem was the size of a box of Girl Scout Cookies? About 20 years ago you could dial up a bulletin board and start a download of some software. Come back an hour later
Posted by Calvin_Hsia | 6 Comments
Filed under:

Binding to Internet Explorer events: bug in Typelibrary

I was using the web browser control and getting some errors when binding to its events. This can be duplicated with the code below. To generate the event class, open the object browser (Tools->Object Browser) and select the Microsoft Web Browser Control.
Posted by Calvin_Hsia | 4 Comments
Filed under: ,

What's the difference between Internet Explorer and Explorer?

From the navigate bar of either, you can type a web URL like www.msn.com or a local file path like “c:\Windows” In this post I showed how VFP can use the web browser control easily. Try opening a few instances of IE and a couple of Windows Explorer, then
Posted by Calvin_Hsia | 3 Comments

Word to audible speech

Here’s some interesting code to run. It starts Microsoft Word and binds some Fox code to some Word events. Type some text into the document. Select some text. When the Selection Change event occurs, the Foxpro code creates the speech API object and speaks
Posted by Calvin_Hsia | 47 Comments
Filed under:

Your VFP runtime splash screen

A customer asked the following: “When VFP starts wee see it's splash screen almost immediately after the mouseclick, then it disappears when VFP is finished starting up. If I develop a splash screen in my Fox app it shows after the runtime is in memory,
Posted by Calvin_Hsia | 3 Comments
Filed under:

Put your registry into a table

It’s pretty easy to use Foxpro to examine the registry. Here’s some simple recursive code I whipped up to put registry keys into a table. # define HKCU BITSET ( 0 , 31 )+ 1 CLEAR LOCAL oreg as "registry" OF HOME ()+"samples\classes\registry.prg" *cPath="Software\Microsoft\VisualFoxPro\9.0"
Posted by Calvin_Hsia | 3 Comments
Filed under:
 
Page view tracker