Did you try to use the form timer outside a form?
No. I naturally assumed it would require a form like the VB6 version did.
Perhaps I was wrong. If the code I've written using the system timer doesn't
work very well, I'll perhaps take another look at this, thanks.
I don't know how you come at those ideas nobody told you that.
Mostly from the VB help docs. I didn't bother looking in detail at the form
based one once I discovered that there were now non-form based ones
available. The part of my application that needs the timer, doesn't have any
user interface, so a solution that doesn't involve forms seemed preferable.
But take the hard way and use one of those timer you have mentioned, I
thought that I wrote enough about it.
The Threading one did look quite complicated, and I admit that was the main
reason I decided not to bother with it. The system timer is very simple
indeed, and as far as I can see it requires about two or three lines of
code. It seems to work pretty much in the same way as the VB6 timer that I'm
used to, with the one major advantage that I can create one in code just
using new, I don't have to have a form in my dll. I can't imagine the form
one would be any simpler, even if the new version now can be used without a
form.
Thanks again for your input.
Cheers,
Phil.