Write to eventlog from Natural for windows

Hi.

I’m working on a project to convert some VB applications to Natural for windows, but I’m not able to figure out how (if possible) I can write to the eventlog from Natural.

Anyone tried that ?

Regards Claus

You might wish to try the Windows Scripting Host that can be accessed from Natural for Windows through an Automation interface. For a start, have a look at Windows Script Host – Wikipedia . Next there are examples in Leider ist diese Funktion zur Zeit nicht verfügbar. , which of course would have to be translated from VB to Natural.
Good luck, +o:-]

Thank you, Bennedict.

The link was very helpfull, even that my German is not so good. :wink:

In fact it also helped me to solve another problem (Read/Write to registry) with an easy solution.

Thanks, Claus