Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4
This is the forum to discuss the Wrox book WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4 by ; ISBN: 9780470477229
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 1st, 2012, 08:22 AM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy Xaml Error Code in documentviewer section (page 79-80)

hi i got error xaml code in this section when i open the project of this section (means UseDocumentViewer project) in chapter 5 (page 79-80)
http://uploadtak.com/images/v7439_1212012_44714_PM.jpg

see this picture:
http://img4up.com/up2/32961519533076384630.jpg

the project file is here:
http://sdrv.ms/TzAhvo

My system info:
Window 8 64bit
Blend 4
.Net 3.5 and 4
Reply With Quote
  #2 (permalink)  
Old December 1st, 2012, 09:34 AM
Rod Stephens's Avatar
Wrox Author
Points: 3,141, Level: 23
Points: 3,141, Level: 23 Points: 3,141, Level: 23 Points: 3,141, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 640
Thanks: 2
Thanked 96 Times in 95 Posts
Default

There's something wrong with some of Microsoft's document controls and some versions of the XAML editor so they give this sort of error. I asked them about it and they didn't seem too concerned by it all. I don't think the believe many people will be using these document objects and controls. (I also think some of the other document controls work better, although I can't remember which were the ones that worked and which gave problems right now.)

You may get a better result by using Blend.

Can you execute the program? I think I recall that sometimes the program wouldn't load in the XAML editor but would run just fine.

In cases like those, you have a couple choices:
  • Get the interface all set up without the control, add it at the end, and then not edit the interface in the designer after that.
  • Edit the interface in XAML and not use the editor.
  • Get the interface all set up without the control and create the control at run time.

Sorry this isn't a great answer. I don't think Microsoft is going to help much with this issue so it's more a question of working around the problem rather than fixing it.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote
The Following User Says Thank You to Rod Stephens For This Useful Post:
minttux (December 2nd, 2012)
  #3 (permalink)  
Old December 1st, 2012, 11:45 AM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks dude

yes it compiled and works fine.
so that is the software problem

ok . no matter
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Figure 3-7, page 80 errata kbriggs BOOK: Professional Android 2 Application Development 1 January 16th, 2011 08:18 PM
Problem on Chapter 3.Page no.79. try it out black_era BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 November 27th, 2010 05:31 PM
Ch. 2: Viewing Page.xaml in Expression Blend JeffCren BOOK: Professional Microsoft SharePoint 2007 Development Using Microsoft Silverlight 2 ISBN: 978-0-4 1 June 27th, 2009 06:15 PM
An error occurred while validating. HRESULT = '80 Medes Excel VBA 0 May 10th, 2006 02:01 AM
Example on page 80 RWDelPorto BOOK: Beginning VB.NET Databases 5 March 15th, 2005 05:16 AM



All times are GMT -4. The time now is 04:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.