Calvin Hsia's WebLog

thoughts from a professional developer

September, 2006

  • Calvin Hsia's WebLog

    Play movies with an ActiveX control

    • 1 Comments
    I’ve been using Canon Powershot cameras for years, and they take movies in AVI format as well as being a good camera. I store my photos and movies in the same folders, and use the same database to store them. To display the movies, I add a Windows...
  • Calvin Hsia's WebLog

    Strange collection class behavior with objects

    • 3 Comments
    Alan Stevens asks: Doug Kimzey discovered an odd behavior in the VFP collection class today. It only occurs when the collection members are objects. Try running the following code, and see if you can make sense of it. For extra confusion, uncomment...
  • Calvin Hsia's WebLog

    Playing with NTFS File Streams

    • 3 Comments
    I was browsing MSDN, and I came across this article: A Programmer's Perspective on NTFS 2000 Part 1: Stream and Hard Link So I copied the code from Calling the Windows APIs for Large Files , modified it a little, and came up with a sample program...
  • Calvin Hsia's WebLog

    Visual Sorting Algorithm comparison

    • 3 Comments
    When I bought my first IBM PC around 1981, I wrote a program to demonstrate the speed of various sorting algorithms. It filled the screen with random characters, then the user could choose amongst a few sorting techniques and watch the sort algorithm...
  • Calvin Hsia's WebLog

    The Nametag Game

    • 6 Comments
    When I took my 3 year old son for the first day of preschool, there was a table with several nametags for the students. I asked him if he knew which one was his, and he correctly pointed out the right one. Below is sample code in Fox and VB.net that...
  • Calvin Hsia's WebLog

    Turtle Graphics Logo Program

    • 14 Comments
    Warning: this simple program produces mesmerizing spirographic images that seem hallucinatory in nature! Discretion is advised! Do not drive while watching these graphics! Almost 30 years ago, I had heard about a concept developed by Professor...
Page 1 of 1 (6 items)