Calvin Hsia's WebLog

thoughts from a professional developer

June, 2005

  • 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

    What is taking up the space on your hard disk? TreeMap it!

    • 21 Comments
    Several years ago, I saw a presentation from Microsoft Research about online communication in communities . In particular, a group was studying online communities based on NewsGroup message traffic volume. One of the results was a graphical view of the...
  • 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

    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

    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

    Bigger than Google: formatting very big numbers in Grids/Browse

    • 2 Comments
    An Exabyte is 10^18 bytes. (Exa, Peta, Tera, Giga, Mega) A Googlebyte is 10^100 bytes (1 followed by 100 zeroes). My 8 year old daughter knows that a GoolePlex is a 1 followed by a google zeroes. The code below generates very big numbers by generating...
  • Calvin Hsia's WebLog

    Watch out when you use another computer for a demo

    • 2 Comments
    Wow…. I just had a nightmare of a time using a computer. A colleague asked me if I could do a demo in a couple hours of some of the stuff I’m working on. I said sure, but I’ll need to use another notebook computer, cuz mine’s on the fritz. No problem...
  • 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...
Page 1 of 1 (8 items)