As developers we’re inclined to want to understand what is happening under the hood or at least know that we can check if we wanted to. This is the case with Entity Framework, which performs some magic to provide access
I found myself recently needing to be able to present the user with the difference between two dates as a string, unfortunately the data had to come straight from SQL Server into the application that they was using ready to
Microsoft Excel is probably one of the most used pieces of software on the planet. Spreadsheets are used heavily throughout the business world and Microsoft have enjoyed their Office suite taking a large proportion of businesses
This is one of the reasons why I love LINQ, its so easy to do something like randomise a list in just one line that used to take a few lines. The only thing you need to remember with this
Sometimes its necessary for us to identify what application is associated with a particular file extension, the following snippet of code will read the Windows registry to identify what application a particular file extension is opened with by default.
This is one of those pieces of code that you spend ages trying to find/figure out but once you do get it, it is annoyingly simple. I recently needed to get the Icon that was being used as the application
Something that I found that I frequently come across is the need to generate a random string, so I ended up creating a simple shared function that dealt with that for me. Imports Microsoft.VisualBasic Public Class PasswordFunctions ”’ <summary> ”’