Welcome to MSDN Blogs Sign in | Join | Help

June 2005 - Posts

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

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

Watch out when you use another computer for a demo

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

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

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
Posted by Calvin_Hsia | 21 Comments

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

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

SQL Select data from a text file

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 of events that
Posted by Calvin_Hsia | 2 Comments
Filed under: ,

Randy's Devcon Demo

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

Data Entry for dates: autoincrement tip

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

Write your own Task Manager

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 file
Posted by Calvin_Hsia | 20 Comments
 
Page view tracker