Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if a particular form is open
Message
De
02/12/2008 15:55:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01365198
Message ID:
01365233
Vues:
9
Sorry, I misunderstood your initial question.
You could go by either of two ways:
1.Try to use DDE link. Frankly, I didn't try it for millenium.
2.Modify 2nd application code so it will update records in certain table keeping track of open forms; 1st app. may check the table.

>If i am in the 1st EXE program and know the 2nd one is running, how can I get reference to the _Screen.Forms collection in the 2nd EXE?
>
>
>
>>>From one VFP exe program running, i can determine if another VFP application is running on the workstation. If this is true is there a way to determine if a particular form is open in that 2nd application?
>>>
>>>Problem I have is that application 1 can be making changes and application 2 could cause conflicts based on what is being done. I need to notify that the second application's particular form is open.
>>>
>>>Thanks in advance
>>
>>You should scroll through _Screen.Forms collection checking for particular form name.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform