Latest questions

Stupid Question 197-198: Why is the VS2012 menu uppercased, and can I undo that?
Stupid Question 194: Windows 8.1, what is new?
Stupid Question 188-193: What is AutoHotKey, macros, automation software, hotkeys and scripts?
Stupid Question 186 - 187: Is ForEach missing from List<T> for Windows Store Apps? If so why?
Stupid Question 184 & 185: Why do I have to take my laptop out of the bag at airport security, and why not a tablet?
Code & Tutorials
WinRT JS app guide: Introduction

WinRT JS app guide: Introduction

What we will cover In this post we will introduce our next guide on creating Windows Store Apps, this time with JavaScript and HTML. Windows Store App guide with JavaScript and HTML A couple of months ago we walked through the steps of creating a Windows Store application in C# and XAML using Telerik graph [...]

Developing for Leap Motion in C# Tutorial (video, slides and code)

Developing for Leap Motion in C# Tutorial (video, slides and code)

I did a presentation on Leap Motion at the virtual conference DotnetConf last week, and I’ve spent the weekend cleaning up the code a little bit an putting together a simple video tutorial as it seems quite a few were interested and wanted some help to get started, and a step by step guide on [...]

Example: Compressing and decompressing files in a Windows Store App with GZipStream class

Example: Compressing and decompressing files in a Windows Store App with GZipStream class

I don’t know about you, but working with streams in WinRT has proven to be a challenge- at least for me. I keep expecting things to be there that aren’t and my reads and writes collide in my mind. Aside from WinRT, there has also been changes in (welcoming changes) in .Net 4.5, and I [...]

Settings panel: Windows Store Apps JS/HTML and C#/XAML side by side

Settings panel: Windows Store Apps JS/HTML and C#/XAML side by side

In Windows Store Apps the Settings of an app has to be accessed the same way, through the settings charm in the charms bar. Both app and system settings can be accessed there. You add commands to the pane itself, and that’s all you can do with the pane. Each command can invoke one settings [...]

A simple design time data example with Windows Store Applications for beginners

A simple design time data example with Windows Store Applications for beginners

I’ve gotten many question about design time data and how you can work with it. The default templates are for many a tiny bit complicated, and if you look at most of the examples out there for design time data ther are often just modified versions of the code in the template. You can download [...]

WinRT comparison JS/Html and C#/XAML: Using a grid for app layout

WinRT comparison JS/Html and C#/XAML: Using a grid for app layout

In XAML we often use the Grid element to create a fluid layout but at the same time keep the controls where we want them to be in relation to each other. Of course we don’t use just the grid, but it often serves as a main frame- or skeleton, for the app. If you [...]

Connecting your website to your Windows Store App with meta tags

Connecting your website to your Windows Store App with meta tags

A pretty cool thing you can do to better connect your website with your Windows Store App Oddly enough most developers I’ve talked to are unaware of this little cool thing you can do to connect your Windows Store App with your website so I’ve decided to write up this little blog post, and also [...]

What you must know about pen and touch in Windows Store Apps

What you must know about pen and touch in Windows Store Apps

Did you know there are different types of pens, two main ones? One that is considered as touch and one as pen? Let’s take a step back and get some basics down. Responding to user interaction in Windows Store Apps is very easy. Reacting, filtering and responding to user interaction. Since Windows Store Apps are [...]

WinRT app guide: Step 18: Running the WACK tool and submitting to the Windows Store

WinRT app guide: Step 18: Running the WACK tool and submitting to the Windows Store

To read the other steps in the step by step guide for creating a Metro/ WinRT application go here I can’t believe it is time! For the past 17 steps we have been working on a small Windows Store App together, and it is now time to submit it to the Windows Store. Let’s have [...]

Example WinRT: Changing existing style resource at runtime in code using databindings

Example WinRT: Changing existing style resource at runtime in code using databindings

I’ve noticed that the last how to change style during runtime example I posted is rather popular, and earlier today I was trying to help somebody with a TextBlock style change implementation for a Windows Store App. The difference this time was that we wanted to change an existing style, not just switch styles. Wether [...]