Calvin Hsia's WebLog

thoughts from a professional developer
Posts
  • Calvin Hsia's WebLog

    Running out of space ? What's on your disk?

    • 8 Comments
    Often a hard disk gets close to full and undesirable things happen, especially on the volume that contains Windows. For example, suppose Windows Update is chugging along and runs out of space. How does it gracefully handle that? How can you determine...
  • Calvin Hsia's WebLog

    SQL Select data from a text file

    • 2 Comments
    It’s often very useful to be able to execute a SQL SELECT statement on a text file. I was debugging a multiprocess multithread Foxpro COM DLL problem in a COM+ application . To help diagnose the problem, I wanted to figure out the sequence...
  • Calvin Hsia's WebLog

    Randy's Devcon Demo

    • 4 Comments
    Randy is using my blog as part of a Demo at the Devcon keynote. He has some Fox code running from Outlook that allows the user to add RSS feeds that the user wants to subscribe to. Hopefully if his demo works, this message shows up in Randy’s Outlook...
  • Calvin Hsia's WebLog

    Data Entry for dates: autoincrement tip

    • 4 Comments
    A handy tip that is not widely known: When a VFP textbox contains a date or datetime field, the user can hit the “+” or “-“ keys to increment or decrement the date portion by one day. Also works for BROWSE It’s been this way since at least the foxpro...
  • Calvin Hsia's WebLog

    Write your own Task Manager

    • 20 Comments
    Often an error message occurs: “The process cannot access the file because it is being used by another process.” Typically it occurs when you try to copy or rebuild the file. How do you determine which process is using it? One way to release the...
  • 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...
  • 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

    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...
Page 1 of 1 (8 items)