Hi,
Could you please confirm me that this way of doing things is correct ? I am not sure to do the right things.
I am using an activity and a service. In the Process_Globals of the activity, I define a Timer that I can reuse from the service.
I can use the Timer from the activity or from the service. I manage the Timer_Tick inside the activity. So, when initializing the Timer from the service, I create a sub named Timer_Tick and pointing to the same Timer_Tick inside the activity, using callsubdelayed.
Or could I use different Timer_Tick subs : one in the activity and the other in the service ?
Thanks
Could you please confirm me that this way of doing things is correct ? I am not sure to do the right things.
I am using an activity and a service. In the Process_Globals of the activity, I define a Timer that I can reuse from the service.
I can use the Timer from the activity or from the service. I manage the Timer_Tick inside the activity. So, when initializing the Timer from the service, I create a sub named Timer_Tick and pointing to the same Timer_Tick inside the activity, using callsubdelayed.
Or could I use different Timer_Tick subs : one in the activity and the other in the service ?
Thanks
Last edited: