Ok, I'll post the API functions in a couple of hours (if nobody post it first), I have the codes in my office (I'm at house right now) <g>
>Thanks; I was trying to avoid the use of WSH; I managed to get the API call to work in Visual FoxPro...
>-josh
>>Try with this:
>>--- Event Log ---
>>Automate Server administration tasks using the Windows 2000 Event Log from Visual FoxPro.
>>Cleber Ferrari, Coloil / ARC Sul
>>http://www.levelextreme.com/Magazine/August2002/Page33.asp
>>
>>Hope this helps
>>
>>>Does anyone have an examle for the ReportEvent() API call?