Tag Archives: WinRT

How to use CreateStreamedFileAsync

The StorageFile.CreateStreamedFileAsync is a pretty neat mechanism that allows you to take a stream and use it like an IStorageFile. This is useful in a number of scenarios – especially ones where you are communicating with the OS or other … Continue reading

Posted in Dev, Windows8 | Tagged , , | Leave a comment

ColdTask implementation for Windows 8

Tasks in Windows 8 are used all over the place – they are a really great way of getting things done asynchronously. Sometimes though, you find yourself wanting to change the way these tasks execute. Most .NET tasks are “hot” … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , | Leave a comment

Turn any UserControl into a pleasing Dialog/Flyout in Windows 8

Windows 8 comes with a somewhat extended Message box functionality – you can control the text on the message box and the content of the buttons. However, for Flyouts and arbitrary content, there’s no easy mechanism to use. WinRT does, … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , , , , | 15 Comments

What to do when getting reference errors with Microsoft advertising SDK

When compiling Windows Store apps that contain references to the Microsoft Advertising SDK, you may, every now and again, hit the following two errors: Error 13 The .winmd file ‘Microsoft.Advertising.WinRT.UI.winmd’ contains duplicate type names. Type ‘Microsoft.Advertising.WinRT.UI.XamlAdControl_XamlTypeInfo.XamlMetaDataProvider’ is already registered with … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , | Leave a comment

Partial System.Windows.Interactivity for Windows 8 (WinRT)

If you are writing Windows Store Apps (as they are called now), and you’ve written Windows Phone/Silverlight/WPF apps before, you may be missing System.Windows.Interactivity which allows developers to attach behaviors and triggers (among other things) to UI elements in their … Continue reading

Posted in Dev, Windows8 | Tagged , , , , | Leave a comment

Alt key in WinRT’s (Win8) VirtualKey enum

Just a note, if somebody ends up searching for this… KeyEventArgs and the VirtualKey enumeration in Windows 8’s new APIs have the “Alt” key code in them – it’s just hiding behind the “Menu” name. This used to be documented … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , | Leave a comment