Mike Taulty's Blog
Bits and Bytes from Microsoft UK

February 2009 - Mike Taulty's Blog

Blogs

Mike Taulty's Blog

Elsewhere

  • MSDN Rich Client Event – Manchester (well, Salford)

    If you came along to our Rich Client event at The Lowry on Salford Quays; today then thanks a lot and I hope you found it useful. Here’s some snapshots I grabbed from the back of the event with MikeO talking about control templating;     and if you want all the slides and demos and so on then you head to; My post here Mike’s post here to get them.
    Filed under:
  • Visual Studio 2010 UI

    There’s a preview of what Visual Studio 2010 looks like up on Jason Zander’s blog; http://blogs.msdn.com/jasonz/ It’s looking pretty cool – I’ve been playing with some of this but, then again, there’s a bunch of new stuff there that I hadn’t seen before. Now…when can we get that beta to play with? :-)
    Filed under: ,
  • MSDN Rich Client Event - Edinburgh

    Thanks to all the people who came to along to our Rich Client event in the Microsoft Edinburgh office today. If you’re looking for resources then you probably want to check out; this post here which will point you to other posts that have the demos and slides and so on. Apologies to people about the slightly dodgy state of my hardware today. My laptop seems to be genuinely dying – I’ve never really had any trouble with this machine until I arrived in Edinburgh today. It ran a little like this; Worked a little on the machine this morning. It was fine. Undocked it from its docking station (in the politest possible way) Took it to Edinburgh Resumed it. Had it blue-screen. Rebooted. Blue-screen. Rebooted to safe mode. Blue-screen. Found a helpful chap in the Microsoft office who leant me a Vista DVD. Rebooted off the DVD. Asked it to fix my startup problem. Rebooted. Blue-screen. Asked the Vista DVD to help me again. Rebooted. Worked ( possibly after Mike fiddled with some of my BIOS settings :-) ). Set up all my...
  • Parallel Extensions talk at NxtGen User Group, Coventry

    A big thanks to all the people who came along to my talk on Parallel Extensions at the NxtGen User Group in Coventry last night. The slides that were used should be visible up on SlideShare if you want them for any reason. Note to self: “Coventry is not ‘right next to Birmingham’ and is actually 100 miles from home so takes more like 2 hours than 1 hour so next time don’t say you’ll be home by 10.30pm” ;-)
  • “Dave is God” (of WPF and Surface)

    Dave has just started a blog over here which you should subscribe to if you’ve an interest in topics like UI, WPF, Silverlight or Surface. Actually, you should just subscribe anyway as it’s really cool stuff regardless of your interests :-) Dave works in our technology centre in the UK and has been involved in building some very smart apps with WPF. I’m hoping to capture some of this (with a bit more of a breakdown as to how some of this stuff actually works) for videos that we’ll try and post to Channel9 but in the meantime there’s a video up in Dave’s blog post which gives you a hint of the sort of things he’s been up to – it really is very, very cool :-)
    Filed under: , ,
  • Live Framework SDK – DataEntries, SyncEntries, NewsItems

    I’ve been playing with a little WPF desktop application that creates “notes” using the Live Framework SDK on Live Mesh. It’s intentionally simple and it looks like this; and the notes are the little TextBoxes over in the ListBox on the right hand side. There are buttons (top left from top to bottom) to; Connect to the Local/Cloud Live Operating Environment (LOE) Create a MeshObject and DataFeed. The application stores all the notes on a single DataFeed inside a single MeshObject and it is this button that creates these. It’s really only intended to be used once as a “setup” operation. There’s no option in the application to invite any user to share the MeshObject although I’ve written a little about that elsewhere ( here and here and here and here ). Connect the application to the DataFeed and MeshObject that are already created. Delete everything so that I can start again (note – the application needs shutting down after pressing this button). So the first time I run it I would do perhaps (1) and then (2) and...
  • Blu and ClickOnce

    I’m really liking this Blu Twitter Client; I’ve honestly no idea whether it’s a good or bad Twitter client as I only recently joined Twitter and I’ve never really tried any other clients so I’ve nothing to compare with. But that’s not the reason why I like Blu. The reason why I like Blu is that it’s a ClickOnce Application!! I’ve been out talking to people about ClickOnce since around 2005 but I think it’s fair to say that there’s not a huge number of ClickOnce applications on the public web like Blu is and I’m finding that running the app each day is quite exciting in that new features have appeared without me having to actively go out and hunt down whether there’s a new version of the app.
    Filed under: ,
  • MSDN “Catch up with Rich Clients” event in Birmingham

    Thanks to all who attended our event in Birmingham this afternoon. Follow up resources are linked to from; My post here Mike’s post here Some photos from the excellent venue in Birmingham;    
  • Powershell and the Live Framework SDK?

    I have this little command line app that I’ve been using to navigate my developer Mesh with the Live Framework SDK. It started out as very basic but then today I realised that I should really extend it so that you can use it something like; cd cloud list objects cd meshObject1 list objects and so on. I was about to set about doing this when I realised that this is essentially already part of Powershell and a much smarter move would be for me to write a plug-in provider for Powershell that exposed the local/cloud Live Operating Environment as something that can be navigated from the shell. Now…I didn’t actually set about it yet ( mostly because I realised that I’d have to download the entire Windows SDK to get going – can that be right? :-) ) If anyone goes ahead and builds it then let me know and I’ll link to it here, otherwise I’ll try and build it myself when “spare time” comes around.
  • WPF, CheckBoxes, Design

    Just to clear up the confusion :-) When MikeO said yesterday that there was clearly no way that a CheckBox as beautiful as this one on the right; could have been designed by me then he was wrong – it is indeed one of my “masterpieces of interactive design” ;-) Here’s the XAML for it .
    Filed under: ,
  • MSDN Event – Catching up with Rich Clients

    I did an event down in London with MikeO today called something along the lines of “Catching up with Rich Clients”. This is us in the “packed and warm” Microsoft, London office; The essential idea of it was to provide an overview of what’s been going on with WPF and Silverlight over the last couple of years for people who perhaps haven’t been following it too closely. It was good fun and it was a packed out event ( nice to see because we’re not doing many in-person events under the MSDN banner these days ) although we did run slightly awry with the timing and ate up another 10 mins of time over and above our allotted 3 hours. In terms of the slides, they’re published up here for download or viewing; http://www.slideshare.net/ukdpe and they’ll show up on the MSDN Events site in a few days In terms of the demos, I did a bunch of stuff and I’m not sure how useful it is in isolation but I thought I’d try and share it nonetheless. In the first section, I did some basic demos around; XAML Data Binding   ...
    Filed under: , ,
  • WPF, ComboBox, FontFamilies

    Of course, WPF being WPF, there’s an elegant solution to getting a ComboBox onto the screen with a set of FontFamily objects displayed in it as I wanted in my last post . I can just go and write a bit of XAML as in; < ComboBox ItemsSource ="{Binding Source={x:Static Member=Fonts.SystemFontFamilies}}" > < ComboBox.ItemTemplate > < DataTemplate > < TextBlock FontFamily ="{Binding .}" Text ="{Binding Source}" /> </ DataTemplate > </ ComboBox.ItemTemplate > </ ComboBox > and I’m done. I can then go and have some other UI elements that are bound to that ComboBox for their fonts as in this textbox; < StackPanel > < TextBox FontFamily ="{Binding ElementName=comboFonts,Path=SelectedValue}" /> < ComboBox x:Name ="comboFonts" ItemsSource ="{Binding Source={x:Static Member=Fonts.SystemFontFamilies}}" > < ComboBox.ItemTemplate > < DataTemplate > < TextBlock FontFamily ="{Binding .}"...
    Filed under: ,
  • WPF, Font Selection, Colour Selection

    WPF needs some built-in (or toolkit) controls for selecting fonts and colours. There’s a font dialog article here and a sample here but (for me) I’m not sure that I always want a dialog, I might just want a group of combo boxes or a drop down or similar and, also, I’d like to just see those kinds of things “in the box” as an aid to productivity.
    Filed under: ,
  • 64-bit, WPF, WebBrowser

    Just after I published this application , Mario mailed me and said that he liked the app but that he was running on 64-bit and the Silverlight content wouldn’t display. He (being a 64-bit user) already knew what it was likely to be but it opened up an interesting “angle” for me. I built a WPF application and I built it for “any CPU” and we all know what that means ( link one , link two ) in that it’s going to run 64-bit on a 64-bit platform and 32-bit on a 32-bit platform. Now…my application uses the WebBrowser control from .NET 3.5 Sp1 so this means that on a 64-bit platform we’ll have; 64-bit executable –> 64-bit web browser –> Silverlight plug in and because there’s no 64-bit version of Silverlight, that’s going to cause a problem. I’ve tried to re-work the application as 32-bit only which should solve the problem for now but it was interesting to me that I managed to bring in a 32-bit-only component without even noticing!
    Filed under: , ,
  • Silverlight & WPF Control Browser

    More than once, I’ve found myself wanting to be able to demonstrate the range of controls that are available for Silverlight and WPF and, today, I ended up in that same place and decided to do something about it. I built a very, very simple WPF application. Screenshot is below and you can install the application via ClickOnce by clicking on the picture below (note you'll need .NET Framework V3.5 Sp1 as I don't install it for you here) ; All it’s doing is displaying in a TreeView with a number of sections in it; WPF Built In Controls WPF Toolkit Controls WPF 3rd Party Controls Silverlight Built In Controls … and this is just driven by an XML configuration file that’s embedded into the application so if you happen to know of other sets of controls that should be included then let me know. What’s really cool about this stuff these days is that control vendors tend to have either a; WPF XBAP Silverlight XAP on their website showcasing their controls. So, in most cases all the application above is doing is using the...