Some instructions on how to set the application icon in a WPF / XAML application to something other than the default icon.Step 1: Create a new WPF application:Step 2: Right …
A straightforward utility to recursively search for text contained within files and directories.I created a C# console application. The actual recursive routine to search the directories and subdirectories recursively is …
Example folder name ‘PortableMedia’ that I wish to rename to ‘Renishaw.IDT.Powers.PortableMedia’:Step 1: Close the VS solution and nename the folder in source control‘PortableMedia’Gets changed to ‘Renishaw.IDT.Powers.PortableMedia’:Re-open the solution.Observe that the …
Example process: fsutil.Very useful link on obtaining and setting fsutil behaviour and properties at this following link:http://blogs.microsoft.co.il/skepper/2014/07/16/symbolic_link/Typically contained in the System32 folder: C:\Windows\System32It is quite simple to do and consists …
Some instructions on using Google Docs Viewer to embed online documents into your web page.Step 1: use the iframe tag to create an “internal” frame within your documentSo the essential …
A quick how-to guide on setting up and using SQLite in C# / .NET environments.Nothing complicated just instructions on installing SQLite and using its APIs for database creation and querying.Much …
A simple guide to using delegates in C#. It should be suitable for anybody but is particularly aimed at C/C++ programmers who are more used to using function pointers and …
Example 1: In Windows Forms applicationsCreate a new Windows Forms Application:For WinForms applications we make use of the System.Windows.Forms.TimerSome common Timer tasks are to:1. Subscribe to the event that is …
A minimalist explanation as follows.1. Create the HTTP Web Request Create the WebRequest object from the from the Universal Resource Identifier (URI) you supply eg2. Send the HTTP request and …
A simple guide to writing function callbacks in C++.For the C# equivalent of using delegate see this link:https://www.technical-recipes.com/2016/how-to-use-delegates-in-cThe steps you need to take are:1. Declare the function pointer that will …