Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't open an application more than once
Message
De
12/11/1997 12:42:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00059713
Message ID:
00059753
Vues:
37
>First open up the SCX and find out what record 4 is.

Form2.SCX Class = "Form"

>Second are you running default or private data sessions.

I tried both

>Third, it is possible that there is some of the code within
>your form is opening one of your files exclusively.

I made a dummy project with:
- Database with one table "Table1"
- One form (based on VFP class) with "Table1" in the data environment (Exclusive = .F.). Dragged the table into the form to create a grid. No other modifications done to the form
- One main program that call the form and issue a READ EVENTS

Compile the project into a .EXE

Run the .EXE

In the status bar, I see that the table isn't open exclusive (when you open a table exclusively, you see "exclusive" in the status bar)

Run again the .EXE while the other one is still running. I get the error message at this point.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform