You can't.
By peridically, do you mean based on an interval of time that has passed? A Timer Event can run a function inside or outside a form BUT the form with the Timer must be open the whole time but it need not be visible. There are other API Timers with which I am not familar but I do not know if they can trigger an event in VB.
The timer API do not trigger an "Event" in VB, instead, they perform a callback to a public function within a Bas Module. In order for the callback to work, you need to pass the address of the call back function (using the AddressOf operator) when you start the timer. But this will work without a Form or the timer OCX. - Jeff Marler B-)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.