Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application and form already opened
Message
De
15/11/2008 07:38:41
 
 
À
15/11/2008 07:37:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01361879
Message ID:
01362068
Vues:
9
* Na primeira linha do programa inicial, o "Medical - Gestão de Clinicas Médicas" deve ser o teu _screen.caption
If Em_Execucao()
MESSAGEBOX("O programa já esta em Execução - Veja a Barra de Ferramentas", ;
16+0+0, "Arranque!!!")
Return
ENDIF

*********************
function Em_Execucao
Local lnWinHandle
Declare Integer FindWindow In Win32API;
Integer, String
lnWinHandle=FindWindow(0,"Medical - Gestão de Clinicas Médicas")
If lnWinHandle # 0
Return .T.
Else
Return .F.
EndIf
EndFunc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform