ExampleProgram.InVertex should be ExampleProgram.InPosition as used in the shader source. (Or rename InPosition in the shader to InVertex as used in the code. I chose the former.)