Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Write To The Windows Event Log
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00968700
Message ID:
00969032
Vues:
9
Small correction
#define EVENT_SUCCESS  0
loShell = CreateObject("Wscript.Shell")
loShell.LogEvent(EVENT_SUCCESS,"Payroll application successfully installed.")
>This will do it.
>
>
#define EVENT_SUCCESS  0
>loShell = Wscript.CreateObject("Wscript.Shell")
>loShell.LogEvent(EVENT_SUCCESS,"Payroll application successfully installed.")
>
>
>>Hi,
>>
>>Is it possible to write to the Windows event log from VFP and if so, what would be the best way to do this?
>>
>>Many thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform