Does Stopwatch bring up a UI and Excel does not?
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Paul Newton Sent: Thursday, September 21, 2017 9:27 AM To: profoxtech@leafe.com Subject: RE: Focus not returning to command window after CreateObject
No and no ...
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Alan Bourke Sent: 21 September 2017 14:15 To: profoxtech@leafe.com Subject: Re: Focus not returning to command window after CreateObject
Is the Init() in stopwatch.exe waiting for something?
Is CreateObjectEx() any different ?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
On Thu, 21 Sep 2017, at 01:58 PM, Paul Newton wrote:
Hi all
In the command window if I run the command o = CreateObject("Excel.Application"), an instance of Excel is created and focus returns to the command window.
If I run the command o = CreateObject("Stopwatch.Stopwatch"), an instance of my stopwatch (in Stopwatch.EXE) is created but focus does NOT return to the command window.
Any ideas? TIA
Paul Newton