Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Write To The Windows Event Log
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00968700
Message ID:
00969032
Views:
10
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform