I have written a Windows Service in which the timer.Elapsed event is handled
by a sub (onTimer) that writes a message to the windows event log. This
works like a charm.

Now I've added actual code that calls a class I've created which drops a
message into an MSMQ queue. This class works fine outside of this environment,
however, it will not 'fire' in the service.

I've tried using a different class (file scripting object) and it will not
'fire' either.

I've tried running the code within the 'onTimer' sub and then in its own
sub by calling it from 'onTimer'. None of this has helped.

Does anyone have any ideas?

Let me know if I can provide additional information.


Shawn W Knight