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 shortcuts for fast access to programs and favorites
Posted
over 8 years ago
by
CalvinH
7
Comments
The Windows Start menu is very useful. I typically access some programs more than others. You can open the start menu (or Windows Explorer (Windows key+E)), navigate to a program (or document or picture or…) and drag/drop it onto the main part of the...
Calvin Hsia's WebLog
Call GDI+ JPG manipulation from Excel, Word, Powerpoint, VB.NET
Posted
over 8 years ago
by
CalvinH
1
Comments
Here’s a way to manipulate photos from within some Microsoft products. In the prior post , I wrote some code to write and draw directly on a JPG image. It draws text, a timestamp, and an ellipse with a gradient brush onto a JPG and then saves it out...
Calvin Hsia's WebLog
Draw text or graphics directly onto a JPG file
Posted
over 8 years ago
by
CalvinH
7
Comments
Here’s some code to manipulate photos using the GDIPlus class library that ships with VFP 9. It creates a GPImage object out of a JPG, then creates a GPGraphics object, draws some text and an ellipse on that object, then saves it to a new filename. The...
Calvin Hsia's WebLog
GDI+ can't handle some malformed JPG files
Posted
over 8 years ago
by
CalvinH
10
Comments
I received a comment on my blog VFP handles some images differently with GDIPlus Here's another problem with the way that VFP hooks into GDI+. If a JPG has malformed EXIF data, VFP will refuse to display it in a standard picture object. It returns...
Calvin Hsia's WebLog
ActiveX Controls don't treat Focus the same
Posted
over 8 years ago
by
CalvinH
3
Comments
If a RichText control on a form doesn’t have focus yet, it responds to being clicked on by calling the IOleControlSite::OnFocus method inside VFP. The VFP code says Aha!: there is a focus change happening, so it fires the LOSTFOCUS event for the control...
Calvin Hsia's WebLog
Accessing embedded files can have problems
Posted
over 8 years ago
by
CalvinH
3
Comments
FoxPro allows users to embed files into an APP or EXE file using the project manager. That means an icon or JPG can be embedded inside so it can’t be used externally except by the application. However, there is a bug in some file functions that attempt...
Calvin Hsia's WebLog
Create thumbnails of all your digital photos in a single table
Posted
over 8 years ago
by
CalvinH
14
Comments
At least once a week I download my photos to a new folder on one of my computers. As part of that process I run some code that generates thumbnail images into a table. With almost 22,000 pictures, the thumbnail table is almost 100 megabytes (1 Meg for...
Calvin Hsia's WebLog
Simple demo of Customer/Orders one to many form with conflict detection and resolution
Posted
over 8 years ago
by
CalvinH
8
Comments
Often I’m asked to demo Foxpro to people who’ve never seen it before. In one demo I show how simple it is to create a usable one to many form that allows multiple instances with collision detection and resolution. From the main menu choose File...
Calvin Hsia's WebLog
VFP handles some images differently with GDIPlus
Posted
over 8 years ago
by
CalvinH
7
Comments
Visual Foxpro 9 uses GDIPlus to handle certain kinds of image files, such as JPG, GIF. Because the ability to decode image formats is now centralized in the operating system, VFP can take advantage of OS updates to file formats as well as other formats...
Calvin Hsia's WebLog
New MSN Search Toolbar allows Tabbed Browsing
Posted
over 8 years ago
by
CalvinH
4
Comments
Several months ago, I saw an article about the FireFox browser, and how it could do “Tabbed browsing”. One of the main things I disliked about Internet Explorer was that in order to see multiple web pages, you have to have multiple windows. Alt-Tab to...
Calvin Hsia's WebLog
New Tablet PC hard disk and using RIS
Posted
over 8 years ago
by
CalvinH
6
Comments
My 3 year old Acer TravelMate 100 TabletPC hard disk (20G) was dying. It has served me well as a portable machine. I love the tablet features and the small size. It was one of the original prototype tablets that I started using about 6 months before TabletPCs...
Calvin Hsia's WebLog
Is your Outlook mailbox overflowing? TreeMap it!
Posted
over 8 years ago
by
CalvinH
1
Comments
In this post I published 100 lines of code that showed how to get a visual representation of your hard disk to see which folders take the most space. It showed that my Outlook mailbox was half a gigabyte. (“C:\DOCUMENTS AND SETTINGS\CALVINH\LOCAL SETTINGS...
Page 1 of 1 (12 items)