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
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
April 2013
(2)
March 2013
(1)
February 2013
(1)
January 2013
(1)
December 2012
(1)
November 2012
(1)
October 2012
(1)
September 2012
(1)
August 2012
(1)
July 2012
(1)
June 2012
(1)
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Calvin Hsia's WebLog
Creating a VFP application as a service:
Posted
over 9 years ago
by
CalvinH
29
Comments
Sometimes it’s useful to make your application run as a service. A service can run without any user logged in, can automatically start upon reboot, and can survive user logoffs. It can also run as a different user with different access rights. Normally...
Calvin Hsia's WebLog
Sending Christmas cards: Creating mailng labels automatically
Posted
over 9 years ago
by
CalvinH
14
Comments
A family member sent out an emergency email plea for help: I bought labels: Avery 8160, which have very clear instructions about how to enter names and addresses manually, but nothing about how to use data from an Excel file to do so. Avery.com tells...
Calvin Hsia's WebLog
Foxpro Performance tip: field name lookup for tables
Posted
over 9 years ago
by
CalvinH
11
Comments
When FoxPro opens or uses a table or cursor, internally we have to keep track of the field names used in that table. For example, this statement creates a table with 3 fields. CREATE TABLE foo ( lastname c( 10 ), firstname c( 10 ),address c( 20 )) When...
Calvin Hsia's WebLog
Fox plays music
Posted
over 9 years ago
by
CalvinH
10
Comments
I received a customer question: I have searched the net and asked as many people as I could and could not get an answer, so I am bothering you. Do you know of a way to get VFP to play mp3 format tunes? There must be a way to use a media player driver...
Calvin Hsia's WebLog
Unbelievable performance gain by changing an Algorithm
Posted
over 9 years ago
by
CalvinH
9
Comments
Visual Foxpro added Object Oriented Programming in version 3 which was released about 10 years ago. Back then users weren’t expected to use very many objects. Nowadays, with more memory, users create thousands of objects, and things were slowing down...
Calvin Hsia's WebLog
Intellisense: inspecting live objects
Posted
over 9 years ago
by
CalvinH
7
Comments
In this entry I talked about a performance improvement of FoxPro’s object handling. I showed an example of object based programming: oExcel= CREATEOBJECT ("excel.application") oExcel. A live instance of Excel is created. When you type the “.”, intellisense...
Calvin Hsia's WebLog
Using non-Automation compatible types
Posted
over 9 years ago
by
CalvinH
3
Comments
A customer asks: I’m using a third party COM server dll with my VFP8 application. One of its methods requires a structure as a parameter. It seems to me that unlike with dlls, where you can trick VFP into substituting a character string for a structure...
Calvin Hsia's WebLog
Another customer problem: a product doesn't work with VFP
Posted
over 9 years ago
by
CalvinH
3
Comments
A customer reported that a product they have doesn’t work with Visual Foxpro . Time to put on the detective hat! In the command window, type o= CREATEOBJECT (“ABCProduct.Application”) After hitting the Enter key, the FoxPro process crashes. I tried from...
Calvin Hsia's WebLog
Interactively experimenting with controls: the Slider
Posted
over 9 years ago
by
CalvinH
1
Comments
I have a simple form that can show an individual photograph, or at the push of a button, show an array of thumbnails. It is a simple client front end for my collection of about 18000 digital photos and home movies. The thumbnail view shows about 100 pictures...
Page 1 of 1 (9 items)