What version of Visual Studio are used for the driver examples?

This depends on the used RTX version and each example contains one or more Visual Studio project files for different versions of RTX and Visual Studio.
If the version of your Visual Studio is not included, create a new VS project and add the source and header files to the newly created project.

IntervalZero discontinues support for outdated Visual Studio versions with each new release of RTX.

RTX VersionSupported Visual Studio Version
RTX 8.1Visual Studio 6.0 SP5 / 2003 / 2005
RTX 2009Visual Studio 2005 / 2008
RTX 2011Visual Studio 2005 / 2008 / 2010
RTX 2012Visual Studio 2005 (SP1) / 2008 / 2010
RTX64 (2013)Visual Studio 2010
RTX64 2014 SP2Visual Studio 2012 / 2013

Please refer to the RTX/RTX64 documents given by IntervalZero:
http://intervalzero.com/assets/RTX2012/OSCompatMatrixRTX.pdf
and
http://intervalzero.com/assets/RTX642014/RTX64OSCompatibilityMatrix.pdf
for a complete overview!