Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSINFO - Preventing Multiple Instances
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00018357
Message ID:
00018481
Vues:
45
>>I used the sample about form that came with VFP and found that user can launch many instances of the MSINFO or MSINFO32 program. Is there an easy way to prevent an additional launch short of using FoxTools.fll with RegFn and Callfn stuff. Why didn't MS make this modal? Any comments are appreciated.
>
>I think you can only do it with the FindWindow API call
>but you don't have to use RegFN or CallFN to work with it in VFP
>you can just
>DECLARE Integer FindWindow IN win32api Integer,String
>lhandle=FindWindow(0,"windowname")
>
>Arnon

Thanks! I assumed as much...
Steve Medvid
Systems Analyst

Environmental Resource Management
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform