I have not done this, but I found an article in the MS Knowledge Base describing how do do this from VB. It probably wouldn't be too hard to do it in VFP. Note that the example for VB 4.0 is the one that you may be able to translate to VFP. You can find the article at
http://support.microsoft.com/support/kb/articles/q154/5/76.asp.
>Anyone have any experience in logging to NT's application log from VFP? I'm sure the topic is far from simple, but if anyone's done such a thing, I'd love to hear your experiences.
>
>Thanks much.