You might have to give a more detailed account of what you're doing and what you want. For instance, is My.Settings.PushVerstuurd an Integer that actually contains a count of something or is it a collection and by resetting the count do you mean clearing it? What type of application is this and how is it being used? Is it running all the time? Is it used every day?
It is an application that allows you to include push notifications to send. Each time a push notification is sent, there is one added to the My.Settings.PushVerstuurd.
At the beginning of the month (1 September, 1 October, etc.) this number is put back to 0.
So, ignoring the other questions on purpose or just didn't see them? I did ask them for a reason. If you can't answer them for some reason then say so. If you don't understand or need more information yourself then say so. I'm asking questions because I need that information to provide the appropriate advice. If you just don't bother answering then I can't provide any advice at all without guessing, which I'm not going to do because it's a waste of time if I guess wrong.
When an user clicks a button. The setting 'PushVerstuurd' will be increase with 1 (Integer). But when a new month starts (1st of each month) the value of the 'PushVerstuurd' setting must be 0 (checks when the application starts).
How can I do the reset ('PushVerstuurd' to 0) when it's a new month.