Vista Bridge Samples
The following table describes the samples that are included with the Vista Bridge Samples Library. These samples demonstrate features shipping in this version of Vista Bridge.
Name | Description |
---|---|
AeroWizardDemoApp | This WPF application demonstrates how to implement glass (aero) look on a window. |
ApplicationRecoveryRestartDemoApp | This console application demonstrates performing recovery after an application receives an unhandled exception. It also demonstrates having an application automatically restart after a crash. Applications must run for 60 seconds to be restarted automatically, so the sample beeps once after 60 seconds to signal to the user that the application will restart if the user selects the appropriate menu item to crash the application. |
BreadcrumbBarDemoApp | This WPF application demonstrates how to use the new Breadcrumb Bar custom control. |
DialogsDemoApp | This WPF application demonstrates various features of Windows Vista dialogs. See Remarks for additional information. |
KnownFoldersDemoApp | This WPF application allows you to see the properties of known folders. |
NetworkListDemoApp | This WPF application allows you to see the properties of networks and connections on the computer. |
PowerMgmtDemoApp | This WPF application demonstrates getting the power settings for the computer. |
StockIconDemoApp | This WPF application demonstrates accessing standard system icons using XAML and in code. |
Remarks
The DialogsDemoApp sample depends on comctl32.dll version 6. If you receive an error that includes the following text, the incorrect version is being accessed: "...Certain DLLs (e.g. comctl32.dll) require an application manifest be provided with the executable so the correct version of the DLL is loaded."
To correct this error, ensure the application manifest contains the following:
<description>Dialog demo for Vista Bridge Sample library</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>