Where Is This Script
Scripts often need to dynamically find out what directory they are executed from. In CMD scripts this is done by %~dp0. For powershell the following will do the trick.
Scripts often need to dynamically find out what directory they are executed from. In CMD scripts this is done by %~dp0. For powershell the following will do the trick.
When developing an ASP.Net page I tend to pass a lot of data between pages. A lot of it comes from being fairly OO natured and wanting to have a page that displays a particular type of content.
When deveploping windows forms app, it’s important to understand the event lifecycle of a form. That way you know what code to put where to ensure it’s loaded at the appropriate time. That being said I wrote a small app to detail the events in a basic windows form application. Greater indentations indicate nested events
A couple of hours of tracking down a compiler error a couple of days ago taught me something about the preprocessor I’d like to pass on so others can avoid the … learning :).
Programs allocate resources for use during execution. The problem with resources is that they are limited and often times need to be recycled. Languages devise constructs and patterns for developers to periodically free up resources so that their programs can continue running.