Author: Andy
1. To copy a single file 2. To copy multiple files 3. To copy all files of a given extension 4. To copy the contents of an entire directoryRobocopy creates the d:\that_folder\a …
How to use Notepad++ to remove all lines containing a specific text.First install Notepad++ if you have not already done so, given that it really is a powerful piece of …
A quick demonstration on how to control access to files in real-time.As described in the Microsoft documentation, the control access to a file can be added or removed by obtaining …
1. Load an image and display it2. Add a trackbar to blend two images
Some instructions on how to intercept events when clicking on Listview controls in WPF / MVVM.Step 1: Create a new WPF application in Visual StudioStep 2: Ensure necessary resources are …
Some instructions on how to automatically increment the build number of your Visual Studio project.What was important to me was to automatically increment the build and version number of my …
When downloading very large files from an online source, it can sometimes appear that the program has frozen or crashed when in fact it is still busy downloading and/or writing …
Some instructions on how to maintain your project properties as a separate class library in Visual Studio. For this project I am using Visual Studio 2015.Step 1: Create a new …
Some instructions on how to use Newtonsoft JSON to serialize and deserialize your objects in C#Step 1: Create a new Visual Studio projectJust a simple console application will do:Step 2: …
Suppose you have a conditional statement such as a switch or if-else that performs various actions depending on an object’s type:It is often beneficial to try to avoid lengthy switch/if-else …