Has somebody already mentioned WriteProfileString() ???
Hint: INI-files.

Sorry, if I don't understand or even read the entire thread word by word, but that's only because my personal situation at the moment ... In other words I am tired to death atm.

K, back to topic. Logging to textfiles is for obvious reasons not applicable.

SQL/Access database for logging the use of a kixforms script???
That is like shooting on a cat with a cruise missile.

Event logging by a dll ... hmmm ... nice to keep in mind, but administrative overhead for the simple cause.

Conclusion: use a centrally located ini-format file and let the kixforms script write the user with the start time to it, at closing just let the script deleting the section in question.

Am I right or what?

I could even hack a little 'real time' usage statistics form if you ask kindly
_________________________