I have some code which sets a memory semaphore to get the job done instead of using the window caption. It's from an old Fox talk article, which I ported to VBA. I can dig that out if you want it.
Jim. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Eurico Chagas Filho Sent: Tuesday, July 14, 2009 5:14 PM To: [email protected] Subject: RE: How to avoid two instances Hi Ajoy Thanks. It is pretty much what I got. But, my program executes in the same computer for different sets of data. I guess I have to use Dan's code because I will need to check the window's caption. And I found out the DDE is the old way. E. [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] 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/014e783ee0c0419e92d12bd3180b9...@xps ** 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.

