If you step the code as I suggested in my previous post, does the message appear when a particular line of code runs?

If you don't know how to do it, here is a tutorial: https://docs.microsoft.com/en-gb/vis...r?view=vs-2019