Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acctually Foxpro 2.6 DOS, only running one instance
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00148447
Message ID:
00148465
Vues:
28
Hi Fred,

We usually created a File on the way in, and removed the file on the
way out. Upon Entering the Program, we look for IF FILE('FILENAME.TXT')
and Cancel if it exists.

That way it doesnt matter how many Opens / Closes Exist...

HTH!
Bob :-)

>I have a client with numerous Foxpro 2.6 DOS applications. They want to limit the users to only running one instance of the programs. These engineers will have the same program open 8 or 9 times and wonder why their computer is running slow. I know how to do it in windows and the method I use for DOS won't work.
>
> Unfortunately, CLOSE ALL is spread throughout the code of all the programs so using a low level file open/create to make a file that only exists during execution of the program won't work. This is the method I've used in the past.
>
>Help!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform