We’re speaking at Tech.Ed Australia 09

120x90_CMeSpeak Just an update to the sessions we’re presenting and activities we’re involved in at Tech.Ed Australia this year on the Gold Coast.

WEB 302 – Bing your data to life, the Virtual Earth Silverlight control  Wed 9/9/2009 13:45-15:00 in Meeting Room 7
Bing Maps (formerly Virtual Earth) provides a slick and powerful data visualisation engine for your spatial information. Join John O’Brien for a look at how the core control can be combined with other Silverlight components including DeepEarth and Photosynth to produce a rich and engaging interface. See how SQL Server 2008 spatial data can be rendered in real time and how this whole interface can be integrated into your Sharepoint site.

THG007 – 3 the New Windows Live Messenger Web Toolkit for Social Websites Thu 10/9/2009 15:00-15:30 in Green Interactive Theatre

See how to add IM to a site with the Windows Live Messenger Library and UI Controls, and how to build new relationships around content with Messenger social capabilities. Also hear how top sites and marketers are using the social connections of Windows Live users to grow and build brand loyalty.

WIT Women in IT Wed 9/9/2009 12:45-13:45

Hosted by Catherine Eibner, Developer Evangelist for Microsoft Dynamics, Women in IT is about growing strong female leaders in the IT industry. Leading women in IT and industry experts will lead discussions on a variety of topics, including finding ways to better support female IT talent. The Women in IT session will be run as a fully interactive workshop, with the help of LEGO® SERIOUS PLAY (LSP) through Robert Rasmussen & Associates. Using LEGO® Bricks the group will work together to model solutions for growing strong female leaders in the IT industry. Come along and make the most of the Microsoft Women in IT community. Anyone who would like to attend is welcome – men included. To register your interest, simply add the Women in IT session and lunch to your agenda in the session builder. 

Girl Geek Dinner 7 Wed 9/9/2009 19:30-late

Details:http://girlgeekdinnersbrisbane07.eventbrite.com/

 

Converting HTML to XAML

htmltoxaml The project I’m working on at the moment I’m taking a bunch of content that in the previous system was stored as HTML and I’ve re-written the application in WPF and displaying the content as a FlowDocument.  Today I sat down to look at how to do the data conversion, basically I needed to convert HTML to XAML.  After looking at it awhile and thinking it’s quite a bit of work, someone else must have done this before I stumbled upon the HTML to XAML Prototype Conversion Utility. Now the code has a lot of todo’s but the HTML I was working on was pretty simple..basic font sizes, bold, italic, text align etc and this worked a treat and saved me a lot of code and testing. Just had to tweak it a bit to output the document the way I wanted it and it was all good.

Technorati Tags: ,

Creating a simply OGC Geometry from SQL2005 Latitude / Longitude

johnWeeGo[2]It is very common to have a some of your spatial data sources still in SQL2005 and sometimes you don’t have the option to have this upgraded to SQL2008. Rather then having to deal with the data differently we decided we would treat every data source as Well Known Binary. If your data is simply some Latitude and Longitudes you can do this:

 

WKB:

select 0x00+0x00000001 + cast([Longitude] as binary(8)) + cast([Latitude] as binary(8))

WKT:

'POINT(' + cast([Longitude] as nvarchar(20)) + ' ' + cast([Latitude] as nvarchar(20)) + ')'

GML:

'<Point xmlns="http://www.opengis.net/gml"><pos>' + cast([Latitude] as nvarchar(20)) + ' ' + cast([Longitude] as nvarchar(20)) + '</pos></Point>'

 

Important to note that WKB and WKT are XY, Longitude, Latitude while GML is still YX, Latitude, Longitude.

WPF – Reference an Image without a file lock

I had a situation where I needed the user to select an image to display and then move the location of the image. What I quickly found was while I was bound to the image I was holding a file lock on it that prevented me from moving it.  On a BitmapImage there is a CacheOption that allows you to cache OnLoad. Unfortunately I couldn’t set this on the bindings for the Image so to get around it I had to use a converter on the Source :

public class ImageCacheConverter : IValueConverter
{
    public object Convert(object value, Type targetType,
        object parameter, System.Globalization.CultureInfo culture)
    {

        var path = (string)value;
        // load the image, specify CacheOption so the file is not locked
        var image = new BitmapImage();
        image.BeginInit();
        image.CacheOption = BitmapCacheOption.OnLoad;
        image.UriSource = new Uri(path);
        image.EndInit();

        return image;

    }

    public object ConvertBack(object value, Type targetType,
        object parameter, System.Globalization.CultureInfo culture)
    {
        throw new NotImplementedException("Not implemented.");
    }
} 

<Image Source="{Binding Path=SmallThumbnailImageLocation, 
Converter={StaticResource imagePathConverter}}"/>

Technorati Tags: ,,

Girl Geek Dinner 7 – Broadbeach Gold Coast

This event we’re going to try something a little different.  This year, Microsoft TechEd event is being held on the Gold Coast and we’d love to see as many of you as possible at the event – registration details can be found here: http://www.msteched.com/australia/Public/registration-info.aspx. We’re taking advantage of having so many ladies at one location and holding our next dinner at Broadbeach.

Lego BuildOf specific interest to all the girl geeks is this year’s Women In Technology Event at the conference is the Women Build LEGO® SERIOUS PLAY (LSP). Microsoft have partnered with LEGO® SERIOUS PLAY (LSP) through Robert Rasmussen & Associates with their local agency Management Consultancy International to create a unique interactive workshop, using LEGO® Bricks to model solutions for growing strong female leaders in the software industry.

The session will give you an opportunity to meet other females in the IT industry – local and international, learn from role models that have been successful in their career and give you access to resources that can help you build your career and your own network. The session will help you make the most of the Microsoft Women in Technology community.

Who is invited?

If you are a geek and a girl or know of one who is willing to escort you then you are welcome and encouraged to come along. There is a technical focus with the intention of having fun and connecting with other women in IT.

Who pays for dinner?

This month is not sponsored so you will have to pay for your own dinner / drinks

Where + When

Date: Wednesday 9 September, 2009

Time: 7:30 pm

Where: Alto Cucina & Bar – Shop 47, The Oasis Shopping Centre, Broadbeach, QLD 4218

http://www.altocucina.com.au/