Bouncing off the walls: This is about colliding with the sides of the viewport

We all bounce off the walls from time to time, here is some code without explanation on how to do so.  You will need a really simple png image to make this happen, or even a real complex one. You will need a small png to do this app, I have attached the working code…


Setting Code Contracts in Visual Studio 2010

Continuing his great work on Software Contracts from the April 2011 issue of MSDN Magazine  Dino Esposito, in the May 2011 issue, Dino shows how to set-up code contracts in Visual Studio 2010.  In this article Dino now asks the question and guides you to the answers of whether to use code or software contracts…


Developing your own Domain-Specific Language

In yesterday’s blathering I sent you off to an excellent article, at least in my opinion, Create a Language Compiler for the .NET Framework.  In this article, you could follow along with the author on how to implement a compiler.  But what about creating a language?  Ok, there are lot of ways that we can…


Interoperability: Using DirectX with the GDI Device Context (DC)

Well if you are attending a graphic programming class, you may want to see how to use DirectX with GDI.  The sample makes more sense if you first read the following URL: Direct2D and GDI Interoperability Overview After you read that URL, then go to the sample at: Direct2D GDI Interop Sample Direct3D Interop Sample


Visual Studio Gallery: Free Downloads

If you have a great idea on how to customize Visual Studio environment, create the code to use in Visual Studio and punch it up to the Visual Studio Gallery.  It is easy to get downloads there and show off your capability to your current management or use it to demonstrate your capabilities to new…


What happens when you create a Visual Studio Project part 3: Manifest

This is a follow on blog to two previous blog posts: http://blogs.msdn.com/b/devschool/archive/2011/07/14/what-happens-when-you-create-a-visual-studio-project-part-1.aspx http://blogs.msdn.com/b/devschool/archive/2011/07/15/what-happens-when-you-create-a-visual-studio-project-part-2-vshost-exe.aspx We have reviewed the projectname.vshost.exe file that is created in your “bin\debug” folder, and I supplied a link to the manifest file as well.  In this blog let’s take a look at the manifest blog: 1. The manifest file is an XAML…