Sign In
Calvin Hsia's WebLog
thoughts from a professional developer
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
64bit
C++
CSharp
Debugging
FunGames
History
LINQ
Memory
Mesh
Miscellaneous
Pictures
Programming
SmartPhone
Testing
VB
Vista
Visual FoxPro
Visual Studio
Web
Windows API
WPF
Archive
Archives
May 2012
(2)
March 2012
(1)
February 2012
(1)
January 2012
(1)
December 2011
(1)
November 2011
(1)
October 2011
(1)
September 2011
(1)
August 2011
(1)
July 2011
(1)
June 2011
(1)
May 2011
(1)
April 2011
(1)
March 2011
(1)
February 2011
(1)
January 2011
(1)
December 2010
(2)
November 2010
(1)
October 2010
(1)
September 2010
(1)
August 2010
(1)
July 2010
(1)
June 2010
(1)
May 2010
(1)
April 2010
(1)
March 2010
(2)
February 2010
(1)
January 2010
(1)
December 2009
(1)
November 2009
(1)
October 2009
(1)
September 2009
(1)
August 2009
(1)
July 2009
(1)
June 2009
(1)
May 2009
(1)
April 2009
(1)
March 2009
(2)
February 2009
(1)
January 2009
(2)
December 2008
(1)
November 2008
(1)
October 2008
(1)
September 2008
(1)
August 2008
(1)
July 2008
(3)
June 2008
(2)
May 2008
(2)
April 2008
(2)
March 2008
(2)
February 2008
(2)
January 2008
(2)
December 2007
(3)
November 2007
(8)
October 2007
(6)
September 2007
(4)
August 2007
(9)
July 2007
(2)
June 2007
(2)
May 2007
(11)
April 2007
(5)
March 2007
(2)
February 2007
(2)
January 2007
(1)
December 2006
(2)
November 2006
(1)
October 2006
(4)
September 2006
(6)
August 2006
(10)
July 2006
(13)
June 2006
(11)
May 2006
(7)
April 2006
(8)
March 2006
(14)
February 2006
(5)
January 2006
(21)
December 2005
(9)
November 2005
(19)
October 2005
(20)
September 2005
(12)
August 2005
(23)
July 2005
(12)
June 2005
(8)
May 2005
(7)
April 2005
(4)
March 2005
(1)
February 2005
(2)
January 2005
(13)
December 2004
(9)
November 2004
(4)
October 2004
(10)
September 2004
(4)
August 2004
(8)
July 2004
(1)
June 2004
(10)
January, 2005
MSDN Blogs
>
Calvin Hsia's WebLog
>
January, 2005
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Calvin Hsia's WebLog
Relaxen und watchen das blinkenlights. What lights?
Posted
over 7 years ago
by
CalvinH
25
Comments
In the old days, computers had blinking lights. Indeed, old movies used to show computers working with blinking lights and tape reels moving back and forth. My school computer was a PDP-8/L with a whopping memory of 4K 12 bit words back in 1971. (Here...
Calvin Hsia's WebLog
Undocumented APIs and 16 bit DLLs
Posted
over 7 years ago
by
CalvinH
18
Comments
As a long time software company, Microsoft has certain procedures to follow when releasing software to the public. A change to the policy was instituted at Microsoft last year. A brand new tool would scan all released software to see if any “undocumented...
Calvin Hsia's WebLog
Intercept power broadcast messages: How do you tell if Bindevent is really successful? SendMessage!
Posted
over 7 years ago
by
CalvinH
2
Comments
Question: BINDEVENT( ) always returns 1 when a Windows message event binding is created. Soooo, how do you know it was actually successful? If I always get a 1 from BindEvent() and AEVENTS() is always populated, all regardless of success, how do I know...
Calvin Hsia's WebLog
How to use a COM interface when there is no COM object ?
Posted
over 7 years ago
by
CalvinH
2
Comments
I was asked a question: In VFP9 I am attempting to access StructuredStorage via the stgOpenStorageEx function in OLE32.DLL ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stg/stg/stgopenstorageex.asp ). I am ok with that. The catch...
Calvin Hsia's WebLog
Decoding the timestamp in class libararies and forms
Posted
over 7 years ago
by
CalvinH
3
Comments
I was asked Is there a way to translate the timestamp in a VCX to a human readable format? Visual Foxpro puts a timestamp on many records in the table that represents a form or class library. Historically this field was used to match records across supported...
Calvin Hsia's WebLog
Heartbeat: Garbage collection in VFP and .NET are similar
Posted
over 7 years ago
by
CalvinH
3
Comments
VFP stores user defined names such as variable, field, property, class and procedure names in a table. When the name table runs out of space, the GC begins. All the entries are marked as unused. Then all the various name table clients are sent a message...
Calvin Hsia's WebLog
User Interface design for numeric keypads
Posted
over 7 years ago
by
CalvinH
17
Comments
I have just read Raymond’s User interface design for interior door locks which reminded me of a curiousity. Take a look at your telephone’s numeric keypad. The top row of buttons on mine is 1,2,3. Now look at your computer keyboard numeric keypad or a...
Calvin Hsia's WebLog
Permutations
Posted
over 7 years ago
by
CalvinH
2
Comments
I saw this post which shows some VFP code to permute a string. For example, there are 6 permutations of “abc”: abc, acb, bac, bca, cab, cba There are n! permutations of a string of length n. I dug up some old code that did the same thing in fewer lines...
Calvin Hsia's WebLog
Wite your own RSS News/Blog aggregator in <100 lines of code
Posted
over 7 years ago
by
CalvinH
9
Comments
The internet is a great way for people/entities to publish information. An RSS reader is a tool to help funnel only the information that you think is important to you. You can subscribe to RSS sources (Blogs, news sites, businesses, authors) by choosing...
Calvin Hsia's WebLog
Do you like reading a blog author? Retrieve all blog entries locally for reading/searching using XML, XSLT, XPATH
Posted
over 7 years ago
by
CalvinH
5
Comments
If you like reading a particular blog and want to read more from the same author, you can subscribe to the blog using RSS and any number of blog readers, such as newsgator , intravnews . This will get a few current entries (RSS is limited to 15 entries...
Calvin Hsia's WebLog
Use a simple XSLT to read the RSS feed from a blog
Posted
over 7 years ago
by
CalvinH
13
Comments
On most Blogs, there is a link called “Syndication”,”RSS”, or “XML” that is the RSS feed. Click on that, and you see an XML document that contains some recent blog posts. This simple code reads the RSS feed for my blog, does an XSLT transform of the XML...
Calvin Hsia's WebLog
What is an index anyway?
Posted
over 7 years ago
by
CalvinH
10
Comments
Foxpro’s legendary speed is due in part to its index technology. About 14 years ago, the speed of Foxpro was demonstrated to live audiences around the country. A table (places.dbf) of almost 3 million streets in the US was used as the demo data (about...
Calvin Hsia's WebLog
Binding to Windows Events for Fox windows
Posted
over 7 years ago
by
CalvinH
3
Comments
In a prior blog I described a demo I gave at Las Vegas Devcon that showed how to bind to Windows Events to respond to Windows Shell notifications. Another demo I gave at Devcon was a simple program that bound to Windows Events to trap for window activation...
Page 1 of 1 (13 items)