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)
July, 2006
MSDN Blogs
>
Calvin Hsia's WebLog
>
July, 2006
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Calvin Hsia's WebLog
How to display a list of files in a grid
Posted
over 6 years ago
by
CalvinH
6
Comments
I received a question from a customer: I am trying to find a way to display a grid of files (specifically DBF files) and show them in the order they were created with the dates and file sizes. I just took the sample code from Add a slider...
Calvin Hsia's WebLog
Playing around with custom mouse cursors
Posted
over 6 years ago
by
CalvinH
2
Comments
Try running the code below. It creates a form and adds all the various types of baseclass controls to it. Then it adds a grid and adds a column for each control type. For each control it adds tooltips and custom mouse pointers. Move your mouse over...
Calvin Hsia's WebLog
What was that strange character? The mystery deepens
Posted
over 6 years ago
by
CalvinH
4
Comments
In my last post, What's that funny character? , I asked about a particular character. In fact, another mystery character can occur. Embarassingly, SET CARRY ON was set on my machine when I ran the code, and I didn’t add it to the sample. It’s off normally...
Calvin Hsia's WebLog
What's that funny character?
Posted
over 6 years ago
by
CalvinH
10
Comments
Run this code: CREATE CURSOR foo ( line c( 100 )) LIST STRUCTURE TO t.txt APPEND FROM t.txt sdf GO RECNO ()- 1 FOR i = 1 TO LEN ( TRIM ( line )) ?i, SUBSTR ( line ,i, 1 ), ASC ( SUBSTR ( line ,i, 1 )) ENDFOR ...
Calvin Hsia's WebLog
National Public Radio Car Talk
Posted
over 6 years ago
by
CalvinH
2
Comments
You may have heard a radio show on National Public Radio called Car Talk hosted by Tom and Ray Magliozzi, aka Click and Clack. It’s a call in show, where audience members call in with their car problems, and Click and Clack offer advice in a humorous...
Calvin Hsia's WebLog
Off to the races!
Posted
over 6 years ago
by
CalvinH
8
Comments
One of our customers writes software for drag racers (see Fox helps drag racer win Microsoft Start Something Amazing Award ). His software helps the drag racer keep track of opponent statistics as well as how a car performs from race to race. He...
Calvin Hsia's WebLog
Analyzing Blog hit statistics
Posted
over 6 years ago
by
CalvinH
2
Comments
It takes a lot of work to create the blog posts and code samples that I put in my blog, and I was curious about getting more detailed statistics about the posts. I already aggregate some statistics for Microsoft Bloggers (see What is a Microsoft...
Calvin Hsia's WebLog
Add a slider control to your TreeMap to vary how much detail is shown
Posted
over 6 years ago
by
CalvinH
7
Comments
I was running really low on disk space on one of my machines, so I ran my Treemap utility on it (see What is taking up the space on your hard disk? TreeMap it! ). Then it occurred to me that I can improve the utility by adding a slider control to show...
Calvin Hsia's WebLog
Use a different kind of grid in your applications
Posted
over 6 years ago
by
CalvinH
3
Comments
My prior post ( Create a .Net UserControl that calls a web service that acts as an ActiveX control to use in Excel, VB6, Foxpro ) shows how to create a .Net control that you can use in VFP or VB6 that takes advantage of the .Net framework. Here...
Calvin Hsia's WebLog
Create a .Net UserControl that calls a web service that acts as an ActiveX control to use in Excel, VB6, Foxpro
Posted
over 6 years ago
by
CalvinH
23
Comments
Here’s how you can use Visual Studio to create a .Net User Control that will act as an ActiveX control that can be used in Excel (or other Office application), VB6 or Foxpro. This will bring the power of the entire.Net Framework to your program. This...
Calvin Hsia's WebLog
SmartPhone running low on memory due to Storage Card recognition
Posted
over 6 years ago
by
CalvinH
2
Comments
For some reason, my SmartPhone was giving me a message that memory was full. I hadn’t done anything to it to cause this: no new software installation or configuration, so I investigated a little further. A few of my applications didn’t work either...
Calvin Hsia's WebLog
Handling arbitrary strings in URLs: Escape, InternetCanonicalizeUrl, WinHttpCrackUrl and URI.EscapeUriString
Posted
over 6 years ago
by
CalvinH
3
Comments
Sometimes a web application might want to put arbitrary strings into a URL, and make it a valid URL. The VBScript and JScript escape and unescape functions do just that. This sample shows how to use VBScript to escape and unescape a string. The...
Calvin Hsia's WebLog
How do I turn off the User Interface in an unattended application?
Posted
over 6 years ago
by
CalvinH
1
Comments
Sometimes you run a program and you don’t want it to show any dialogs or User Interface at all. For example, if a dialog normally occurs in a program, you would rather not have the application show a MessageBox with the error because that could hang the...
Page 1 of 1 (13 items)