I think I've now solved all the issues with the ReadEventlog() UDF.

I circumvented the inability to retrieve the number of events in a direct way by first putting the event objects into a 1-D array which can be REDIMmed without problems before extracting the logs into a final 2-D array. The alternative of REDIMming a 2-D array and then transposing it in order to get the familiar row/column structure was too costly timewise.

The UDF in the UDF Forum has been updated accordingly.

[ 04. March 2003, 04:50: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.