Geeks With Blogs
Bob's Occasionally* Sane Thoughts *Never
Here is the link to my current blog:

http://robertbunn.blogspot.com/


I was working with some sample code which unfortunately was in Visual Basic. After working on translating the Visual Basic to a language that doesn't suck (anything else is better) for about 20 minutes I started to try to think of ways to increase the rate I translated the VB code to C#. My first thought was to write a Haiku about it. Here it goes:I ......

I have two projects one is production code (called Main), the other is a unit test project to test the real production code (called Main.Test). Both Main and Main.Test are signed with a strong name key. To expose the internal stuff to the Main.Test project we have to add an item at the bottom of the AssemblyInfo.cs class (in Main, not Main.Test) which ......

Today I got the following error when working with the Linq to Sql dbml file: "System.InvalidOperationExc... Incorrect AutoSync specification for member 'xxxxx'." The problem involved the primary key "NationId" in the following image: When you right-click on NationId and select properties, you see this in the Properties window: The problem is that ......

The ScatterViewItem is a very useful way to get the “surface feel” into your apps very quickly. However it is likely you will want to customize how your ScatterViewItem looks and reacts to user input. The following steps will help you customize it to your hearts content. This procedure could be applied generally to any other control as well. 1. Create ......

When I first started learning Surface I quickly realized how to turn a WPF app into a surface app. Basically, I did a search and replace for each control in the WPF app that has a matching control in Surface such as Button and TextBox. By doing simple replacements I was able to get a surface app up and running quickly. However, I recently learned a ......

I tried my first attempt at running an application in user mode yesterday and learned a couple of things. You can find both of these things in the documentation, but who actually reads the docs? If you want to test out an application in user mode, but don’t feel like going through creating and copying the xml file to the proper folder, there is a way ......

Last week I needed to completely reset my surface unit back to factory settings due to erratic behavior (mostly in VS 2008). I followed the docs on the process Microsoft released in their SDK, but I had a couple of hiccups I thought I would share with you. 1. When you restart your surface you will want to hit your delete key once a second when the bios ......

I have found myself converting WPF apps to Surface apps quite often lately. Most of the necessary changes are fairly obvious, but I encountered one lately I thought I would share with you. In WPF apps there is functionality to capture the mouse cursor, but in Surface we have no mouse. So we need to perform the analogous catch of a finger (or whatever ......

After months of development I finally got around to packaging up my app for deployment in user mode on the Surface. I did run into a couple of minor hurdles at first which I will share with you, and tell you how I got around them. First of all, check out the documentation on the Microsoft Surface community site and the SDK. In your root app directory ......

Copyright © robertbunn | Powered by: GeeksWithBlogs.net