Re: how to avoid two instances

2009-07-19 Thread Rafael Copquin
Yes I forgot that, I will send the attachment to him directly. Thanks for the reminder. Rafael - Original Message - From: "MB Software Solutions,LLC" To: Sent: Friday, July 17, 2009 5:46 PM Subject: Re: how to avoid two instances > Rafael Copquin wrote: >> Hi, Eu

RE: How to avoid two instances

2009-07-18 Thread echagas . ez
.Description, Err.Source, VBA.Erl 360 Resume AppAlreadyUp_Exit End Function -Original Message- From: profoxtech-boun...@leafe.com [1] [mailto:profoxtech-boun...@leafe.com [2]] On Behalf Of Eurico Chagas Filho Sent: Tuesday, July 14, 2009 10:20 PM To: profoxt...@leafe.com [3] Subje

Re: How to avoid two instances

2009-07-17 Thread MB Software Solutions, LLC
Rick Schummer wrote: >>> I tracked this down finally. The code appeared in the Jan 2005 issue of > FoxTalk 2.0; "The Kit Box:Run Once, Once and Only Once" by Andy Kramek and > Marica Akins. However the article only has bits and pieces of the code.<< > > All the old issues and downloads for the b

RE: How to avoid two instances

2009-07-17 Thread Rick Schummer
>> I tracked this down finally. The code appeared in the Jan 2005 issue of FoxTalk 2.0; "The Kit Box:Run Once, Once and Only Once" by Andy Kramek and Marica Akins. However the article only has bits and pieces of the code.<< All the old issues and downloads for the back issues of FoxTalk are avai

Re: how to avoid two instances

2009-07-17 Thread MB Software Solutions, LLC
Rafael Copquin wrote: > Hi, Eurico > > Ages ago someone passed me the enclosed routine. Rafael, Don't forget that attachments are stripped by ProFox's Marge listmom, so you'll have to send it to him directly. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect

how to avoid two instances

2009-07-17 Thread Rafael Copquin
Hi, Eurico Ages ago someone passed me the enclosed routine. What you do is put it in your main prg and when you run it, it will allow only one instance. I needed it in the old days, when memory was scarce, and this girl was in the habit of going back to her app by simply clicking on the app's

RE: How to avoid two instances

2009-07-17 Thread Jim Dettman
ppAlreadyUp_Error: 350 UnexpectedError ModuleName, RoutineName, Version, Err.Number, Err.Description, Err.Source, VBA.Erl 360 Resume AppAlreadyUp_Exit End Function -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Eurico Chag

RE: How to avoid two instances

2009-07-15 Thread Eurico Chagas Filho
Hi Kam Hum, good tip, thanks. E. ___ 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.co

Re: How to avoid two instances

2009-07-15 Thread KAM.covad
Try putting a DBC in the user temp directory named something like TempDBC and always select it before creating/running your views. - Original Message - From: Eurico Chagas Filho To: 'ProFox Email List' Sent: Wednesday, July 15, 2009 7:06 AM Subject: RE: How to avoid two

RE: How to avoid two instances

2009-07-15 Thread Eurico Chagas Filho
Hi Sytze Yeah, with them you can have only one .exe(instance) executing in the same desktop. But, I needed to allow more than one if they were using diferent data, DBCs. The reason is because I use local views that are not written to the DBC, so they have a signature like _1234GD, whatever. If th

RE: How to avoid two instances

2009-07-15 Thread Eurico Chagas Filho
Nice Dave, thanks, as always you're the man. E. ___ 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: h

RE: How to avoid two instances

2009-07-15 Thread Jim Dettman
Yes, that's it. Jim. -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB Software Solutions,LLC Sent: Tuesday, July 14, 2009 9:08 PM To: profoxt...@leafe.com Subject: Re: How to avoid two instances Jim Dettman wrote: >

Re: How to avoid two instances

2009-07-15 Thread Stuart Dunkeld
; ENDI > *!* Clean up > oManager = .NULL. > oResult = .NULL. > RELEASE cQuery, oResult, oManager > > IF llQuit && Myapp.exe running twice >  QUIT > ENDIf > * > * End of Code > * > > Dave Crozier > > -Original Message- > From: pro

RE: How to avoid two instances

2009-07-15 Thread Dave Crozier
afe.com] On Behalf Of Eurico Chagas Filho Sent: 14 July 2009 12:12 To: 'ProFox Email List' Subject: How to avoid two instances I came across a code written by Ramani to avoid two instances of an application in the same desktop. It uses extensively the DDE functions, is there anything

RE: How to avoid two instances

2009-07-15 Thread Dave Crozier
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Eurico Chagas Filho Sent: 14 July 2009 12:12 To: 'ProFox Email List' Subject: How to avoid two instances I came across a code written by Ramani to avoid two instances of an application in the same desktop.

Re: How to avoid two instances

2009-07-14 Thread Sytze de Boer
I have many clients who want to open my app more than once, on the same pc These routines would preclude that, am I correct ? On Wed, Jul 15, 2009 at 2:56 PM, MB Software Solutions, LLC < mbsoftwaresoluti...@mbsoftwaresolutions.com> wrote: > Jerry Foote wrote: > > I Would like to have code > > I

Re: How to avoid two instances

2009-07-14 Thread MB Software Solutions, LLC
Jerry Foote wrote: > I Would like to have code I don't have it...I just told you where you might find it. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16

RE: How to avoid two instances

2009-07-14 Thread Eurico Chagas Filho
Hi Jim Yeah please send it my way, thanks. E. ___ 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: htt

RE: How to avoid two instances

2009-07-14 Thread Jerry Foote
I Would like to have code Thanks Jerry -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of MB Software Solutions,LLC Sent: Tuesday, July 14, 2009 8:08 PM To: ProFox Email List Subject: Re: How to avoid two instances Jim Dettman wrote

Re: How to avoid two instances

2009-07-14 Thread MB Software Solutions, LLC
Jim Dettman wrote: > >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. I remember something years ago with MuteX. I think it was in FoxT

RE: How to avoid two instances

2009-07-14 Thread Jim Dettman
-boun...@leafe.com] On Behalf Of Eurico Chagas Filho Sent: Tuesday, July 14, 2009 5:14 PM To: profoxt...@leafe.com 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

Re: How to avoid two instances

2009-07-14 Thread MB Software Solutions, LLC
Eurico Chagas Filho wrote: > And I found out the DDE is the old way. If it works, -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _

RE: How to avoid two instances

2009-07-14 Thread Eurico Chagas Filho
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. ___

Re: How to avoid two instances

2009-07-14 Thread Ajoy Khaund
and developing software from a specification are easy if both are frozen." - Edward V. Berard, "Life-Cycle Approaches" -- From: "Eurico Chagas Filho" Sent: Tuesday, July 14, 2009 4:41 PM To: Subject: How to avoid two instan

RE: How to avoid two instances

2009-07-14 Thread Allen
I took that a bit further. If the app did exist I made it come to front Allen -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Dan Olsson Sent: 14 July 2009 13:45 To: profoxt...@leafe.com Subject: Re: How to avoid two instances At

Re: How to avoid two instances

2009-07-14 Thread Dan Olsson
At 2009-07-14 13:11, you wrote: >I came across a code written by Ramani to avoid two instances of an >application in the same desktop. >It uses extensively the DDE functions, is there anything I should be >aware of ? Well you could use API-calls instead - here is some commented (and uncommented

How to avoid two instances

2009-07-14 Thread Eurico Chagas Filho
I came across a code written by Ramani to avoid two instances of an application in the same desktop. It uses extensively the DDE functions, is there anything I should be aware of ? TIA, E. ___ Post Messages to: ProFox@leafe.com Subscription Maintenan