Silverlight DataGrid – Populate Dynamic Columns from a Child Collection
Lets face it, any one building LOB (line of business) applications know that their users love Microsoft Excel. If the users had their way, they would do everything in Excel. Due to this known fact, when building Silverlight LOB applications, there is often a need to flatten out an object for editing in a grid. [...]
Text-To-Speech in Silverlight Using WCF
Back in February, I wrote a blog post showing you how to, using Silverlight 4 OOB (out of browser) with elevated trust, access system devices; including how to use the SAPI.SpVoice API through the new Silverlight 4 COM Interop feature to implement text to speech. The biggest problem to that approach is that it will [...]
Creating a Custom Silverlight Pre-Loader
I have been doing Silverlight development since it was released. One question I get asked a lot is how do to create a custom pre-loader for my application. What do I mean by pre-loader? Well, it can be called many things; it could be called a pre-loader, splash screen, or a loading screen. No matter [...]
Silverlight 4 – Accessing System Devices with Com Interop, such as a Scanner.
Yesterday I gave a presentation on some new features in Silverlight 4. During this presentation I mentioned the newly available ability to interoperate with Office applications such as Outlook and Excel though the new ComAutomationFactory that is in Silverlight 4. Someone in the audience asked the question, “Can I access my scanner”, and of course [...]
Don’t install Visual Studio 2010 RC just yet
If you haven’t heard already, Microsoft announced that Visual Studio 2010 Release Candidate was available for MSDN subscribers and would be probably available on 10 February 2010 for the public, which is today. But before you get all excited and start installing the latest and greatest as soon as possible, you might want to slow [...]
NETDUG – Silverlight/WPF Multi-Targeting Presentation Sample Code
If you attended the NETDUG user group meeting last Thursday night and would like to download the sample code for my Silverlight/WPF Multi-Targeting presentation, you can download it here.
Recap:
The Silverlight and WPF platforms are very similar, but they do not have binary compatibility; this means that an assembly compiled for one platform cannot execute on [...]
The Entity Framework and the “The invoked member is not supported in a dynamic assembly” exception.
When you create an entity model, a few mapping files are created for you; namely .cdsl, .ssdl, and .msl. Right about now you may be saying to yourself, I don’t see those files anywhere. That is because they are actually stored as a resource in the assembly you created your entity model. When you create [...]
If (Successful) { throw new Exception(); }
So, I was installing Visual Studio 2010 Ultimate Beta 2 on one of my machines the other day and the funniest thing happened. After it successfully installed, I was prompted to send an error report.
Since when is a successful operation a problem? Now, of course, I am assuming this is intentional and is transmitting information [...]
BSDG – Silverlight/WPF Multi-Targeting Presentation Sample Code
If you attended the BSDG user group meeting last night and would like to download the sample code for my Silverlight/WPF Multi-Targeting presentation, you can download it here.
Recap:
The Silverlight and WPF platforms are very similar, but they do not have binary compatibility; this means that an assembly compiled for one platform cannot execute on [...]
Silverlight 4 Beta – Using Silverlight as Drop Target
Have you ever wanted to give the user the ability to drag a file from you desktop or file explorer onto your Silverlight application? Well, up until now you couldn’t. What’s that sound? It’s a bird… it’s a plane… no, it’s Silverlight 4 Beta. Yes, Silverlight 4 Beta is coming to the rescue and giving [...]
.jpg)