Communicate across multiple Silverlight 2 instances in c-sharp

I recently was writing a video player in Silverlight 2 beta 2 and there was a requrement that when you hit PLAY on one player, all the others stopped. That’s fine, I thought, I’ll just create a static list and add each instance to the list in the constructor. Only trouble was, this didn’t work…

1

Silverlight 2 Beta 2 ClientAccessPolicy.xml

Thanks to Simon Middlemiss, you need a new ClientAccessPolicy.xml file with Silverlight 2 Beta 2 if you are going to access web services. Also your URL MUST not contain underscores (eg MyApp_Web was the default for Beta 1). Just rename your website in your project file. <?xml version=”1.0″ encoding=”utf-8″?><access-policy>    <cross-domain-access>        <policy>            <allow-from http-request-headers=”*”>                <domain uri=”*”/>           …

2

XBox 360 How to tell 65 nanometer (falcon) from older boxes

I just bought a new XBox 360 Premium yesterday (15-March-2008) and when I got it home I thought I’d make sure I had the newer Falcon 65 nanometer technology unit. I found an article which said shine a flashlight into the bottom and if you can see a copper heat pipe you have the old…

1

Parrot Bluetooth Sound System Speakers

I recently bought a Parrot Bluetooth Sound System which is a pair of speakers with their own amplifiers, connected to the PC with Bluetooth.  http://www.parrot.com/usa/products/parrotsoundsystem There don’t seem to be many reviews about this product on the net so I thought I’d blog about it. They are pretty pricey in my opinion – £249, but I…

1

Silverlight production site T5M goes live!

Our team has been busy building a new website www.t5m.com that went live last week! I think it is pretty cool, using Silverlight 1.0 and about 4000 lines of Javascript plus lots of ASP.NET and Ajax. Its a video magazine that posts interview snippets with celebreties like James Blunt and Natalie Imbruglia. We’ve used Silverlight…

1

This copy of Windows must be activated with Microsoft before you can proceed

There seems to be a bug in Windows Server 2003 R2 that if you try to repair your system after hardware changes you get the error message “This copy of Windows must be activated with Microsoft before you can proceed” when you try and login, but when you try and activate, Windows just logs you off.  This…

3

Ultimate Vista Laptop/Ultimate WPF Laptop

Hi! Only 6 months between blog posts! Sorry, I’ve been pretty maxxed. I’ve been hunting around for the utlimate laptop to run WPF applications on Vista. We have produced some pretty heavy WPF demos in the UK that make a lot of use of WPF 3D, for example the British Library application being used in the…

2

Microsoft Da Vinci Code

Recently had this very funny Microsoft take on the Da Vinci code forwarded to me. It is quite long but very funny. http://www.proudlyserving.com/archives/2006/06/the_microsoft_c_6.html No I don’t know anything about 8/2110! Cheers, Paul  

1

Insufficient System Resources to complete the requested API

If you get this error when you try and hibernate your laptop, chances are you have 2GB of RAM or more and you’ve hit a Windows bug. Try searching for the following hotfix and installing it. WindowsXP-KB909095-x86-ENU.exe

1

Printing in WPF (XPS)

I wanted to print a visual out to an XPS file on a recent project, and couldn’t find the code to do it. Anyway I eventually found it so I thought I’d post it. You need references to ReachFramework and System.Printing.using System.Windows.Xps.Packaging;using System.Windows.Xps;Package pckg = Package.Open(@”c:\x.xps”, FileMode.Create); XpsDocument xpsDoc = new XpsDocument(pckg);XpsDocumentWriter xpsWriter = XpsDocument.CreateXpsDocumentWriter(xpsDoc);xpsWriter.Write(visual);xpsDoc.Close();pckg.Close();

2