Timers in a service?

techknight

Well-Known Member
Licensed User
Longtime User
Can you use timers in a service? I tried setting up a timer in a service, but if i am trying to start/stop the timer from the activity, its telling me that the timer is undefined.

how do i call subroutines located in Main from the service? Vice versa?

any ideas?
 
Last edited:

techknight

Well-Known Member
Licensed User
Longtime User
ok i got that working but i ran into another issue. if the activity is in the background, like if another program opened on top of it then the serial comms stop. That is bad. The timer clock is running but the comms stop.

Also if a pop-up box occurs, such as an entry input box, the timer stops. everything stops. thats also bad... VB6 did this too, but only in the IDE. it didnt do it in the compiled app.

any ideas?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…