Calvin Hsia's WebLog

thoughts from a professional developer

May, 2005

  • Calvin Hsia's WebLog

    Word to audible speech

    • 54 Comments
    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...
  • Calvin Hsia's WebLog

    Binding to Internet Explorer events: bug in Typelibrary

    • 4 Comments
    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...
  • Calvin Hsia's WebLog

    Your VFP runtime splash screen

    • 4 Comments
    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...
  • Calvin Hsia's WebLog

    What's the difference between Internet Explorer and Explorer?

    • 4 Comments
    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...
  • Calvin Hsia's WebLog

    Put your registry into a table

    • 3 Comments
    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...
  • Calvin Hsia's WebLog

    Activation Key

    • 8 Comments
    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...
  • Calvin Hsia's WebLog

    Application logging and Error methods

    • 3 Comments
    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...
Page 1 of 1 (7 items)