Could not write to output file 'c:\xxxx\obj\x86\Debug\yyyy.exe' -- 'The process cannot access the file because it is being used by another process

While compiling in Visual Studio 2012, I was continually getting the following error after every attempt to compile: Could not write to output file 'c:\xxxx\obj\x86\Debug\yyyy.exe' -- 'The process cannot access the file because it is being used by another process. For a brief moment of time this file was locked and inaccessible to the IDE. […]

Continue reading


Simple HTML Compiler

I've been busy over the past few months working on a new Windows application; please stay tuned for more information! Soon there will be a much cheaper alternative to the traditional "HTML-to-EXE" style apps that package web pages into a single executable. This was borne from a need for a basic web page compiler and […]

Continue reading


The Difference Between vbCrLf, vbNewLine and Environment.NewLine

The question, "which is better, vbCrLf, ContrlChars.CrLf, vbNewLine, ControlChars.NewLine, Environment.NewLine, ControlChars.NewLine, or vbNewLine?" is not a question you'd get in C#, since only Environment.NewLine is available.  This is a question that only appears during VB.NET development. So what's the difference between the following five statements? Debug.Print(vbCrLf) Debug.Print(ControlChars.CrLf) Debug.Print(vbNewLine) Debug.Print(ControlChars.NewLine) Debug.Print(Environment.NewLine) Usually, nothing.  They all return […]

Continue reading


Interprocess Communication With Memory-Mapped Files, Part 2

In the previous post, I provided a glimpse into how to use a memory-mapped file to establish a primitive interprocess communication system, responsible for passing along the process ID from one process, and a "shutdown gracefully" message from another. To recap, we have two separate applications: ConsoleAppListener Responsible for performing work and shutting down gracefully […]

Continue reading