It's hard to compete with Christof... <g> You didn't mention you had multiple running instances of Access. If you pass just the document name as the first param of GETOBJECT, you should be able to distinguish between instances.
rk -----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Philip Borkholder Sent: Friday, August 14, 2009 3:10 PM To: profoxt...@leafe.com Subject: Re: using FindWindowEx and close another Win 32 app Thanks Richard, I was using this GETOBJECT() command, but the problem is, I had two instances of Access.Application running with two different DBs. :) Then the GETOBJECT() only caught the first one, which I want to leave open. Thanks though _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd04406588a4...@ackbwddqh1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.