Use WPF and inline XAML in your Fox, Excel or VB6 applications

My prior post showed how to create XAML WPF and put it on your Winform App. We can go one step further: add XAML to a UserControl, which could then be made into an ActiveX control, which could be hosted by Fox, VB6, or Excel.     Start Visual Studio 2008 (as admin on Vista!!:…

4

How to Create dynamic XAML to display arbitrary XML

Here’s a sample of creating dynamic XAML to display arbitrary XML   You can use the XML DataProvider to supply XML data to XAML, a web service, or you can use a Query.  Each way, you can generate XAML dynamically to display the XML. (echoes of XSLT)   I took the prior sample (Create your…

5

Create your own media browser: Display your pictures, music, movies in a XAML tooltip

In my prior post, I showed how to use XAML and XAMLReader to create inline XAML to display the results of a query.   Today, let’s take it a step further: let’s create a query of all the media (pictures, movies, music) in your “My Documents” folder and display the names and sizes in a…

6

Use the DispatcherTimer, Popup and even a movie to enhance your data presentation

We can subclass the prior Windows Presentation Foundation (WPF) class called Browse that displays the results of a query. This subclass will add a WPF Popup to it.   The popup can easily be added to either a ListView or the ListBox sample I posted earlier (Use LINQ with WPF : Styles and DataTemplates in…

4

Use DataTemplates and WPF in code to create a general purpose LINQ Query results display

In my last post, Use LINQ with WPF : Styles and DataTemplates in code, I showed how to use DataTemplates in code to show the results of a query in a ListBox.   Let’s make a reusable class called Browse which creates WPF content as a ListView from a LINQ query and generates columns and…

4

Use LINQ with WPF : Styles and DataTemplates in code

Using Windows Presentation Foundation (WPF) and LINQ is easy in code. We’ll create a query and display it in a WPF ListBox   Using XAML is harder: the ObjectDataProvider class works with non-anonymous types.   Start Visual Studio 2008 (or 2005 with Visual Studio 2005 extensions for .NET Framework 3.0. Linq is only in 2008)…

12

Customer site visit: 3-D printer company

I spent a few hours at a local company called 2Bot (http://www.2bot.com/) which makes a 3-D printer that you can attach to your computer via USB port. Yep, I said 3 dimensional: you can feed it an architectural drawing of a building or landscape, and it actually can carve it out of a block of…

5