C
C#2y ago
ruru

❔ Setting daily recurring notifications

Hi, I'm making an application with WPF, and I'm trying to see if I can get a notification to appear at a specific time. I want to send this notification every day at the selected time, like a reminder, even if the app is closed. I've been searching online and it's kinda confusing, so if anyone has done something like this, please tell me the steps to follow!
2 Replies
Denis
Denis2y ago
If you wish to send a notification, even if the application is closed, you'd have to use a Windows service for that. It is a program that runs in the background. You could then configure it, via your WPF application. Look up Windows Services and how to implement them using .NET However, keep in mind that a service can be stopped. Meaning that it will no longer send notifications. So, in essence it isn't really possible to perform operations without at least something running in the background Alternatively to using a windows process, you could do it similarly to Skype. The close button does not close the application, instead it is minimized, or hidden to the task tray.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server