Welcome to MSDN Blogs Sign in | Join | Help

September 2006 - Posts

Play movies with an ActiveX control

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 Media

Strange collection class behavior with objects

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 the
Posted by Calvin_Hsia | 3 Comments
Filed under:

Playing with NTFS File Streams

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 (Fox
Posted by Calvin_Hsia | 3 Comments

Visual Sorting Algorithm comparison

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
Posted by Calvin_Hsia | 3 Comments
Filed under: , ,

The Nametag Game

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 is
Posted by Calvin_Hsia | 6 Comments
Filed under: , ,

Turtle Graphics Logo Program

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 Seymour
Posted by Calvin_Hsia | 14 Comments
Filed under: , ,
 
Page view tracker