Images.Show - a developer resource (formally PhotoViewer)
The Images.Show (also known as the Windows XP to Windows 7 - XP2Win7) developer resource provides a tour of the unique Windows 7 technical features that enable developers to “light up” their applications on Windows 7. The Images.Show is a WPF application that runs on XP and Windows Vista. But the fun starts when you run the same application on Windows 7, which unlocks new technologies such as Taskbar, the Sensors and Location Platform, and Multitouch, as well as “old” Vista friends such as Application Recovery and Windows Search. This project shows that by exploiting Windows 7 features you can add a great deal of value to your application with relatively little effort and without sacrificing backward compatibility.
We designed this developer resouces application as an “educational” project to show developers how to “light up” existing Windows applications by using built-in Windows 7 technologies without sacrificing backward compatibility for existing Windows XP customers. Our goals are to lower the bar for managed code developers who want to target Windows 7 native APIs and to show native code developers the new APIs. As a reference “educational” application, the application contains functionality that you do not normally find in regular applications, like a Crash button that will crash your application to demonstrate Windows 7 Restart Manager capabilities.
Ohter features that we use in our application are:
• Windows Search
• UAC
• Scheduled Task
• Windows 7 Taskbar Integration
• Transactional File System
• IO Optimization
• Event Tracing for Windows (ETW)
• Microsoft Management Console
• Windows 7 Libraries
• Windows 7 Sensor and Location Platform
• PowerShell
• Preview Handler
• Aero Glass
• Trigger Start Services
You can download the overview document to get a better understanding of the application capabilities and Windows 7 features that are being used.
http://archive.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=XP2Win7&DownloadId=12876 To start using the app, all you need to do is download the application installer and run the MSI, and you are ready to go.
PrerequisiteTo run this application you need:
• .NET 3.5 SP1 (which ships in box in Windows 7)
_Note:+ SQL is no longer a prerequisite of the application
You can download the code
http://archive.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=XP2Win7&DownloadId=12877 which include the entire project, including setup and the native elements. Make sure you install the application
before trying to run the app from Visual Studio. To view the source code and perform partial compilation to the application all you need is Visual Studio 2008 SP1 (or 2010). To fully control every aspect of the application and compile the entire solution (including the native code projects) you will also need Windows 7 SDK .
• Visual Studio 2010 -
http://www.microsoft.com/visualstudio/en-us/default.mspx• Visual Studio 2008 + SP1 -
http://www.microsoft.com/visualstudio/en-us/default.mspx• Windows 7 SDK -
http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en This reference application was developed by Microsoft Developer Platform Evangelism group and Sela Software Labs