While working on the dotNetTips Dev Cleaner utility, I wanted to make the deletion of files even faster. While writing this utility I found and worked on speed issues, almost all relating to updating the user interface. So to decouple the deleting from the UI I decided to add a new feature to the dotNetTips.Utility … Continue reading Deleting Files With Events
I've released a brand new video of my conference session titled "Rock Your Microsoft .NET Coding Standards" on demand. This video has lots of new tips, tricks and guidance. To see this session, live and in person click here to check out my conference schedule. Rock Your Microsoft .NET Coding Standards from David McCarter on … Continue reading Rock Your Microsoft .NET Coding Standards (2017)
Want to add speech to any of your apps running in Windows? It's pretty easy using the SpeechSynthesizer in the .NET Framework. You can see this code in action in my Visual Studio backup or cleaner apps. I use text to speach to notifiy the user what the app is up to without having to … Continue reading Make Your Apps Talk
Do you need to see if a process is already running? It's pretty easy with the code below. I wrote this code for my console apps .NET back utility and .NET file cleaner utility. ''' <summary> ''' Check to see if the current app is already running. ''' </summary> ''' <returns><c>true</c> if app is not running, <c>false</c>.</returns> Public … Continue reading Check To See If Process Is Already Running
There are a number of ways to compress things in .NET, but I found out that only the code below works for files. I wrote the code below for my console apps .NET back utility. Imports System.IO.Compression ''' <summary> ''' Compresses the file. ''' </summary> ''' <param name="sourceFileName">Name of the source file.</param> ''' <param name="destinationFileName">Name of … Continue reading Compress Files
Do you need to kill (stop) a process running on Windows?
All of my conference sessions are designed to make the quality of software better. If you missed one of my sessions at a conference or you couldn't make it, you can still see my session(s) on video by going here. You can also get all of these sessions, slide decks and sample code by purchasing … Continue reading Improving Code Quality… One Developer At A Time Video Series