Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a msg to NT Administrators
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00314911
Message ID:
00383972
Views:
13
Ed, have you ever been able to get anything in the description box (cLogMesage in you code below) to format nicely? I haven't been able to make it do what I want in either Perl or VFP(thru your WSH code).

?




>oShell = CREATEOBJ('Wscript.Shell')
>oShell.LogEvent(nIntType,cLogMessage,cTargetMachine)
>
>nIntType may be one of:
>
>
Number  Event Type
>     0     Success
>     1     Error
>     2     Warning
>     4     Information
>     8     Audit_Success
>    16     Audit_Failure
Previous
Reply
Map
View

Click here to load this message in the networking platform