Hi Richard,
You're right on.
Your sample is what I was using till I got caught with two instances. :)
And I did try putting the file name in the first property but I could 
not get that to work successfully.
Thanks


Richard Kaye wrote:
> 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
>
>
>
[excessive quoting removed by server]

_______________________________________________
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/4a85ccd4.6080...@netzero.net
** 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.

Reply via email to