WPF Simple Application Walkthrough

Free

Hands-on lab to create a WPF application by using the Visual Studio Designer

(18) Review
Visual Studio
2010
Download (31,776)
11/19/2010
1.0
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (18)
Q and A (5)
Sign in to write a review
Sort by:

by bartaholmberg | July 09 2014

It fails in VS12. Here is the installer log.

Microsoft VSIX Installer:
Initializing Install...
Extension Details...
Identifier : WPFSimpleAppLab
Name : WPF Simple Application Walkthrough
Author : Microsoft
Version : 1.0
Description : Hands-on lab to create a WPF application by using the Visual Studio Designer
Locale : en-US
MoreInfoURL :
InstalledByMSI : False
SupportedFrameworkVersionRange : [4.0]
Supported Products :
Microsoft.VisualStudio.Ultimate
Version : [10.0]
Microsoft.VisualStudio.Premium
Version : [10.0]
Microsoft.VisualStudio.Pro
Version : [10.0]

References:
Identifier : FeatureExtensionRuntime
Name : Feature Extension Runtime
Version : [1.0]
MoreInfoURL : http://channel9.msdn.com/tags/FeatureBuilder
Nested : Yes
Searching for applicable products...
Found installed product - Microsoft Visual Studio Ultimate 2012
Found installed product - Microsoft Visual Studio Premium 2012
Found installed product - Microsoft Visual Studio Professional 2012

by FerretallicA | March 19 2014

A project template is not a walkthrough.

by dmathisen | August 26 2013

In Windows 7, I and many others get an error regarding access denied to c:/user/username/documents/my music or something similar.
A solution is:
In Folder.cs, change this:
public Folder()
{
this.FullPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
}
to
public Folder()
{
this.FullPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
}

by Clocktower | January 24 2013

The log states that this is only compatible with VS 10 ultimate, premium and pro. Why would you restrict educational material?

by learnsillystudio | December 18 2012

this doesn't work. It won't install - keeps saying "This extension is not installable on any currently installed products." - I've installed both desktop and web (free) versions of studio. Your tutorials are scarce and far between, I was really hoping this would work.

by Breezy181949 | December 16 2012

I would have liked to be able to use the walkthrough to learn how to program using WPF but because of restrictions placed on VS Express Editions I am unable to install this walkthrough.
I was directed to this walkthrough from the MS Help Viewer page "Getting Started with WPF. Learn how to create WPF applications:" Not much help!!!

Is there another version of this walkthrough available for VS Epress editions?
Also because my OS is Vista I am unable to install VS 2012 Express.

by pete2387 | October 24 2012

Really well-written and easy to understand. I really enjoyed having the tutorial inside the VS UI; especially as I'm working on a 13" laptop!

The only issue I had was an exception when trying to access My Music and My Pictures; I suppose this is a Windows 7 issue, it might be worth warning users who aren't used to dealing with exceptions.

by Young55 | June 12 2012

This was not written for rookies or newbies. For example, I had difficulties understanding what "Placing the Mouse Above the Grid" means - partially due to the lack of clarity (the Grid means the single-line rectangle inside the Main Window frame in the Design View pane) and partially due to the lack of adequate illustrations (putting the Design View pane up and showing the cross hairs.) This is not a typical Walk-through I would have expected, especially from MS. Please try better and have it reviewed before posting next time.

by hkiefus | April 02 2012

Best walkthrough EVER. Coming from 'classic' Windows forms development, this more than anything else is what got me engaged.

Thank you so much.

by swandrakir | March 22 2012

I love the walkthrough format integrating with Visual Studio. I thought it was clear and concise.

If you drag the Guidance Browser window outside of the main VS window, you can size it to display more of the content while a modal dialog is up (but you still can't scroll it).

by scorpiotek | February 15 2012

I liked the walkthrough, very nice and easy to install.

My only gripe is that the lab does little to explain what you are doing. Databinding sections turns into click here, paste this, change that; but seldom explains what is accomplished by all this (yes, I know you can see it in the app, but an explanation would be nice every now and then).

To be honest, I'm a complete WPF rookie, and found I learned very little after going through this.

by harsha1988 | December 23 2011

Very good and intresting example. Thank you Carole Snyder.

by AdminSoft CMW | August 12 2011

Nice, little example :)

by hpweiss | July 21 2011

I liked the Visual Studio Integration

However, when I used the Guidance Browser from within Visual Studio I found that I could not type into the fields in dialog boxes AND scroll the guidance browser. This was true during when I wanted to select the ItemsSource in the step "Bind the Treeview to the Data Source"

by Sreejith Nair | January 22 2011

Exceptionally great !!! for beginners. Meantime, I anticipate there could be few possible runtime exceptions in this app.

1. Security related - I.e. If you don't have enough permission to the folder that authors refers then boom!!!

Solution: Try some different folder which has few subfolders in it.
Eg:
public Folder()
{
this.FullPath =Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
}

2. Property accessor: I.e. the Name property in this walkthrough is read-only and make it read-write.

Solution:

public String Name
{
get { return this.foler.Name; }
set { this.foler = new DirectoryInfo(value); }
}

3. Data binding issue:

Solution: Just double check you have following binding

<TreeView Name="YourTreeviewName" Grid.RowSpan="2" Padding="1" BorderBrush="Green" Background="Beige" BorderThickness="2">
<TreeViewItem Header="Folders" ItemsSource="{Binding Source={StaticResource RootFolderDataProvider}, Path=SubFolders}" />
</TreeView>

by mruzinda | January 16 2011

I end up with an exception and i have no idea why.
Lacks some explanations about individual steps.

by steveszat | January 12 2011

OK, in the end I got some ugly error messages to the effect:
System.UnauthorizedAccessException was unhandled by user code
probably because I was fool enough to let the clowns at (some well known computer retailer) install Windows for me (hey, it was free and I'm lazy). Anyway, very cool walkthrough. THANK YOU so much for doing it in C#. When will Microsoft abandon that bastard stepchild - Visual Basic? Well, that's my axe to grind. You demonstrated some very useful WPF techniques. Nice job.

by Ross S. King | November 10 2010

Doesn't work when GAX 2010 is installed as it places its gpState file in the folder too early, but worked fine after I uninstalled that.

Nice walk through, displaying how easy things can be with WPF.

One problem is that when you have a modal dialog in VS2010 open, you therefore can't scroll the Guidance window, but I wouldn't think there's much you could do about that...

Sign in to start a discussion


  • How to use WPF Simple Application Walkthrough with Visual Studio 2012?
    2 Posts | Last post November 11, 2013
    • Is there a way to use WPF Simple Application Walkthrough with Visual Studio 2012?
    • I have the same question ?
      
      Thanks ! Hope the walkthrough be in 2012 soon !
  • Accessed Denied Error
    1 Posts | Last post August 26, 2013
    • In Windows 7, I and many others get an error regarding access denied to c:/user/username/documents/my music or something similar.
      A solution is:
      In Folder.cs, change this:
      public Folder()
      {
          this.FullPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); 
          }
      to
      public Folder()
      {
          this.FullPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); 
      }
  • Trouble creating the data source
    1 Posts | Last post April 10, 2013
    • Hi,
      
      New to WPF and C#, trying this out as a learning tool.  When I try to create the data source the xmlns namespace doesn't match the project.  I tried changing it to match the project namespace but it didn't help.
      
      I also get an error on the my:Folder, says it isn't found.  Possibly related to the first issue I suppose.
      
      At any rate, I'm stuck, not sure what to try next.  Somehow I doubt this is being monitored but if it is and anyone has a suggestion I'm all ears.
      
      In the mean time I'll start looking for a book on WPF.
      
      Thanks in advance!
  • This is a wonderful guidance for me
    1 Posts | Last post September 28, 2012
    • I'm a layman about WPF, I find it to be helpful.
  • Hey
    1 Posts | Last post May 14, 2011
    • This WPF Aplication looks greate, i think i shall start with right now, can somebody help me get confortable enought with this program please ? please subscribe or send me a message on my mail adress
       zuzu.maldezu@gmail.com . Have a nice day