>
>One thought that I do have is that if you're trying to create a single instance application, you might want to look at my article on the subject that appeared in the Nov. 1998 issue of FoxPro Advisor. It, complete with the necessary code, is available on-line at the Advisor web site.
Since George seems to be an unassuming guy, I will "shout his name from the roof tops" on this one.
Before I read this, I was using the FindWindow WinAPI function to try and solve this requirement. But this technique is damn near impossible when you have a dynamic application title (changing as you change forms) or you want to integrate Steve Black's INTL Toolkit to internationalize an application.
George's technique resolves all of this and is very simple to implement. Way to go George!!!
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao