If you are working on a Windows Forms project and you are using threads in some way, by accessing the controls from a thread other than the main one, you may have received this error message: System.InvalidOperationException: ‘Cross-thread operation not valid: Control ‘TxtCounter1′ accessed from a thread other than the thread it was created on.’…
There are moments in which you need to automatically start a program in Windows 10. Once upon a time, you could easily find the Startup folder in your start menu. I don’t know you, but I cannot find it anymore… Don’t worry, there is an easy way to open it, just follow these steps: Press…
Today I want to talk about a little math trick… sum the first N numbers, where N is an arbitrary number of your choice. To do the job, you may be tempted to use a loop, something similar to the code below (in C#): int result = 0; for (int i = 1; i <=…
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.