1. Can I hide notifications?
2. # StartAtBoot: True does not work and the service cannot run after restarting the device
Can anyone tell me how to modify it?
1. The Starter Service should NOT be a Sticky Service and also NOT startatboot. Starter Service.
Notes
The Starter service is identified by its name. You can add a new service named Starter to an existing project and it will be the program entry point.
This is an optional feature. You can remove the Starter service.
You can call StopService(Me) in Service_Start if you don't want the service to keep on running. However this means that the service will not be able to handle events (for example you will not be able to use the asynchronous SQL methods).
The starter service should be excluded from compiled libraries. Its #ExcludeFromLibrary attribute is set to True by default.
The starter service should never be explicitly started. This means that if you want to start a service at boot then add a different service.
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.