Visual Studio WPF Designer ForumHow to use Windows Presentation Foundation (WPF) productively to create visually appealing and differentiating applications and to improve user experience.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 03:36:20 Z2626f485-00df-49a0-8e07-99571fdebaf4http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/12faac29-e720-4b67-8acc-6258a6ca48c1http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/12faac29-e720-4b67-8acc-6258a6ca48c1sesbiosfvhttp://social.msdn.microsoft.com/Profile/en-US/?user=sesbiosfvGUI problem: WPF controls in the toolbox of VisStudio08 are grayed-outHello,<br/> <br/> I'm creating the GUI for one of my projects in Visual Studio 2008 (using visual C++) and controls from the WPF family are all grayed out in the toolbox, when working on the form.<br/> <br/> The components that I want to use are checked in the &quot;Choose toolbox items&quot; area, so I see them in the toolbox but cant use them. the slider control (that I replaced with a trackbar) was the first but now Grid (not DataGridView that wants SQL commands...) is grayed out too. <br/> <br/> I want to display a 2dim table of values calculated at runtime, in Excel style. Grid supposedly allows this easy with the possibility of extra formating of cells depending on the content (ex:  if tmp == &quot;3&quot;, cell green, elseif tmp == &quot;4&quot;, cell blue, if tmp == &quot;Bc&quot;, cell red...).<br/> <br/> I have a standard installation of Visual Studio 2008 and .NET framework, my problem is with the WPF.<br/> <br/> My question is then the following: How to use the grayed out WPF controls in the form and/or another method to do a Excel style Grid (without having, for example, to use an ActiveX to load Excel itself...)<br/> <br/> -SébasWed, 25 Nov 2009 03:36:19 Z2009-11-25T03:36:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/3328de88-cc9f-472c-a6db-a8db6699b0edhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/3328de88-cc9f-472c-a6db-a8db6699b0edjfhugheshttp://social.msdn.microsoft.com/Profile/en-US/?user=jfhughes How to set forground text color for static text object in VS 2008I asked this question in <span style="font-family:'Verdana','sans-serif';color:#333333;font-size:10pt">the <a href="http://social.msdn.microsoft.com/Forums/en-US/vsclassdesigner/threads/"><span style="color:#800080">Visual Studio Class Designer</span></a> Forum and was directed here.  <br/></span><br/>This seems like it should be simple to do, but I have not been able to figure it out on my own.  I have an application that puts up a fairly simple window to control it.  The dialog that it displays has several buttons, radio controls, etc., and all seems to work fine.  I have some static text that is displayed above one of the buttons, that is intended to help the user understand what the button does.  I would like to change the color of this text, so it stands out from the other text being displayed.  I thought I should just be able to click on the static text in VS and set a property, but this doesn't seem to be the way it is done.  I hope someone will have compassion on me and explain in detail how this should be done.  I will accept any suggestions you care to throw my way, including RTFM, if you can point me at the right manual.  I had a hard time figuring out which was the right forum for this question, so please forgive me if I put it in the wrong place.  Suggestions about the correct place to ask this type of question would be appreciated.<br/><br/>thanks,<br/><br/>jfhTue, 24 Nov 2009 13:33:02 Z2009-11-24T13:33:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/15a7322d-8817-4d37-aabd-3c104e70db82http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/15a7322d-8817-4d37-aabd-3c104e70db82Yong Wen Yuanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Yong%20Wen%20YuanWPF designer with VS 2005 and coding requestHow do i code the control box if the close button ( beside the maximize box ) pop out the message box to given information before closing the form?<br/> <br/> <br/>Tue, 24 Nov 2009 13:29:41 Z2009-11-24T13:29:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/13a6098c-72be-4de1-98a0-73fa1ea82955http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/13a6098c-72be-4de1-98a0-73fa1ea82955A.Afonsohttp://social.msdn.microsoft.com/Profile/en-US/?user=A.AfonsoVS 2008 extremely slow opening xaml filesHi All,<br/><br/>I'm experiencing a big problem designing in xaml files. Once I open any xaml file in VS 2008, the IDE becomes extremely slow (more than 5 minutes to open a file). If I open any other file (i.e. cs files), I've no problems at all. This problem happens since an undefined moment. Before this moment everything went Ok. I'm using the IDE in two different computers (a notebook and standard PC) and I've the same problem in both of them. My colleges are working in the same projects, not experiencing this problem anyway. But they use Windows XP. I've tried cheking the &quot;Open alwys documents in full xaml view&quot;. Same results.<br/><br/>Currently I have VS 2008 Versión 9.0.30729.1 SP on Windows Vista Bussines SP2 (on both computers).<br/><br/>I suspect that undefined moment was a Windows Update or another similar kind of installation (maybe SP2).<br/><br/>I'm desperate because it's unaffordable to me to do my job actually.<br/><br/><br/>All comments will be appreciated.<br/><br/>Thanks in advance,<br/><br/>A.Afonso<br/><br/><br/><br/><br/>Tue, 24 Nov 2009 12:04:59 Z2009-11-24T12:04:59Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/49469381-b395-4cfa-b642-7de338cd0b4fhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/49469381-b395-4cfa-b642-7de338cd0b4fCzYaZnMaNhttp://social.msdn.microsoft.com/Profile/en-US/?user=CzYaZnMaNHow do you swtich controls between different canvas?Hi, <div><br/></div> <div>I am new to C# and WPF programming. </div> <div><br/></div> <div>I created two canvas. The second canvas is a child of the first canvas. I have two mediaelement as a child of the second canvas. My question is if I move the mediaelement from the second canvas to the first canvas, How do I switch the control? Because when I run the program, it shows that the parent of the mediaelement is still the second canvas even though its on the first canvas. </div> <div><br/></div> <div>I'm trying to make it so that if the user moves the video away from the second canvas, the video will start playing and if the user brings it back to the second canvas, it will pause. </div> <div><br/></div> <div>Please help! thanks!</div>Mon, 23 Nov 2009 16:08:26 Z2009-11-23T16:08:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/e9cc1fb6-4f0e-41b1-8ba1-a4ddd762dd2chttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/e9cc1fb6-4f0e-41b1-8ba1-a4ddd762dd2cAnuj Sadanihttp://social.msdn.microsoft.com/Profile/en-US/?user=Anuj%20SadaniCan Gridview have sort and filter property same like in excel...?<p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Hello,</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">I’m having a gridview with data in it.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Now I want to make a gridview with the same “Sort and filter” property like one in excel, which adds a dropdown list at the header field having all the distinct value for that column with a checkbox control.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small"><span style="font-family:Calibri">I have seen a post regarding that--&gt; <strong style="">Building a Drop-Down Filter List for a DataGridView Column Header Cell.</strong></span></span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><a href="http://msdn.microsoft.com/en-us/library/aa480727.aspx"><span style="font-size:small;color:#800080;font-family:Calibri">http://msdn.microsoft.com/en-us/library/aa480727.aspx</span></a></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">But that was tough to grasp.</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><strong style=""><span style="font-size:small"><span style="font-family:Calibri">Is there any different ways (Simpler) to do the same..?</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Thanks</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"><span style="font-size:small;font-family:Calibri">Anuj</span></p> <p class=MsoNormal style="margin:0in 0in 10pt"> </p>Mon, 23 Nov 2009 07:51:00 Z2009-11-23T07:51:02Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/61d5fd2e-c38c-4a7f-bdb9-4d1093c52537http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/61d5fd2e-c38c-4a7f-bdb9-4d1093c52537dtheesehttp://social.msdn.microsoft.com/Profile/en-US/?user=dtheeseCode Builds, Designer Has Problem LoadingHello All,<br/><br/>I occasionally run into a situation where, in VS 2008, a build succeeds but the designer fails saying &quot;Problem Loading; The document contains errors that must be fixed before the designer can be loaded. Reload the designer after you have fixed the errors.&quot;<br/><br/>What's going on when I see this?<br/><br/>Thanks,<br/>Dave<br/>Fri, 20 Nov 2009 23:18:36 Z2009-11-20T23:18:36Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/68a894ae-9c0c-4e37-8f4e-5346a29f74achttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/68a894ae-9c0c-4e37-8f4e-5346a29f74acbutarohttp://social.msdn.microsoft.com/Profile/en-US/?user=butarowpf data binding questionI am trying to learn data binding, so i started with a very simple test code, but it doesnt work. Can anyone help me to find the reason:<br/> <br/> <br/> <pre lang=x-xml>&lt;Window x:Class=&quot;BindingTest1.Window1&quot;<br/> xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;<br/> xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;<br/> Title=&quot;Window1&quot; Height=&quot;300&quot; Width=&quot;300&quot; Loaded=&quot;Window_Loaded&quot;&gt;<br/> &lt;Grid x:Name=&quot;myGrid&quot;&gt;<br/> &lt;TextBox Height=&quot;25&quot; Margin=&quot;52,0,130,89&quot; Name=&quot;textBox1&quot; VerticalAlignment=&quot;Bottom&quot; Text=&quot;{Binding Path=testProperty}&quot;/&gt;<br/> &lt;Button Height=&quot;34&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;38,40,0,0&quot; Name=&quot;buttonAdd10&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;62&quot; Click=&quot;buttonAdd10_Click&quot;&gt;+10&lt;/Button&gt;<br/> &lt;Button Height=&quot;51&quot; HorizontalAlignment=&quot;Right&quot; Margin=&quot;0,40,54,0&quot; Name=&quot;buttonSubtract15&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;75&quot; Click=&quot;buttonSubtract15_Click&quot;&gt;-15&lt;/Button&gt;<br/> &lt;/Grid&gt;<br/> &lt;/Window&gt;<br/> <br/> </pre> <pre lang="x-c#">using System;<br/> using System.Collections.Generic;<br/> using System.Linq;<br/> using System.Text;<br/> <br/> namespace BindingTest1<br/> {<br/> class TestClass1<br/> {<br/> public TestClass1()<br/> {<br/> testProperty = 10;<br/> }<br/> public int testProperty;<br/> }<br/> }<br/> <br/> <br/> <br/> </pre> <pre lang="x-c#">using System;<br/> using System.Collections.Generic;<br/> using System.Linq;<br/> using System.Text;<br/> using System.Windows;<br/> using System.Windows.Controls;<br/> using System.Windows.Data;<br/> using System.Windows.Documents;<br/> using System.Windows.Input;<br/> using System.Windows.Media;<br/> using System.Windows.Media.Imaging;<br/> using System.Windows.Navigation;<br/> using System.Windows.Shapes;<br/> <br/> <br/> namespace BindingTest1<br/> {<br/> /// &lt;summary&gt;<br/> /// Interaction logic for Window1.xaml<br/> /// &lt;/summary&gt;<br/> public partial class Window1 : Window<br/> {<br/> <br/> TestClass1 testInstance = new TestClass1();<br/> <br/> public Window1()<br/> {<br/> InitializeComponent();<br/> }<br/> <br/> private void Window_Loaded(object sender, RoutedEventArgs e)<br/> {<br/> myGrid.DataContext = testInstance;<br/> }<br/> <br/> private void buttonAdd10_Click(object sender, RoutedEventArgs e)<br/> {<br/> testInstance.testProperty += 10;<br/> <br/> }<br/> <br/> private void buttonSubtract15_Click(object sender, RoutedEventArgs e)<br/> {<br/> testInstance.testProperty -= 15;<br/> <br/> <br/> }<br/> }<br/> }<br/> </pre>Fri, 20 Nov 2009 13:11:46 Z2009-11-20T19:05:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/fc6e2e2b-7c35-45ef-b2a4-14ef210c48a1http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/fc6e2e2b-7c35-45ef-b2a4-14ef210c48a1DannyAsherhttp://social.msdn.microsoft.com/Profile/en-US/?user=DannyAsherIs is possible to disable the WPF Designer Toolbox?Hi,<br><br>Whenever I open up the first instance of a xaml file in Visual Studio the application 'hourglasses' for about a minute while 'Initializing Toolbox...'. This happens many many times a day. <br><br>Is there any way to disable the toolbox?<br><br>regards,<br><br>Danny<br> Wed, 18 Feb 2009 18:59:42 Z2009-11-20T12:51:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/b89af21b-9345-4964-9f5a-1db10fe96944http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/b89af21b-9345-4964-9f5a-1db10fe96944Baburajpvhttp://social.msdn.microsoft.com/Profile/en-US/?user=BaburajpvAccess the Resource in WPFHi,<br/><br/>I have created a WPF project, and I need to add a &quot;CreateReport.dot&quot; file as resource in the Project. I have added the dot file as Resoure. But I am not able to access it via, code. It is showing the following Error.<br/><br/>Error 106 'CreateReport' is not a member of 'System.Windows.ResourceDictionary'<br/><br/>But I could add the same resource to a Windows Application project and I could access it properly with<br/><br/>Resources.CreateReport<br/><br/><br/>Kindly help.<br/><br/>Best Regards,<br/>Baburaj P VFri, 20 Nov 2009 05:04:03 Z2009-11-20T05:04:04Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2714e1d0-7724-4bb7-a471-f34a1fb78dbdhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2714e1d0-7724-4bb7-a471-f34a1fb78dbdpekkathhttp://social.msdn.microsoft.com/Profile/en-US/?user=pekkathVS 2010 Beta 2 : How to add AttachedProperty to an ModelItem?I have a ModelItem of MyButton type in a PrimarySelectionContextMenuProvider. I want to add a attached property my:SomeClass.MyAttachedProperty to this class when context menu action is selected. <br/> <br/> I have the menu running and the model item of the button. <br/> <br/> How do I add the attached property to that ModelItem? I have tried looking for clues but so far the extensibility mechanism are very poorly documented or marked as internal. <br/> <br/> Another problem is that I tried adding that PrimarySelectionContextMenuProvider to the base WPF button class using <br/> <br/> var builder = new AttributeTableBuilder();<br/>                  <br/> builder.AddCustomAttributes(<br/>          typeof(Button),<br/>          new FeatureAttribute(typeof(MyMenuProvider)));<br/> <br/> that does not work. I have tried debugging it but the feature does not activate when its set to the Button. I have to inherit my own MyButton class from Button so that the feature works when I change the above code to use typeof(MyButton). Why I can't add my own menu to the Button designer?<br/> <br/> Another problem with ContextMenuProviders are context menu provider attached to xaml elements which dont have a visible element in the designer. I tried using the document outline by right clicking the element in it but no context menu is shown. <br/> <br/> I wish I at least got a answer to the first question about how to attach a attached property to a ModelItem.Tue, 17 Nov 2009 20:04:19 Z2009-11-17T20:04:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/d70da4a7-d6b4-4717-b7c3-62ed12bb3543http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/d70da4a7-d6b4-4717-b7c3-62ed12bb3543Your project type is not supported...http://social.msdn.microsoft.com/Profile/en-US/?user=Your%20project%20type%20is%20not%20supported...Your (XNA) project type is not supported by this installation? Hi,<br/><br/>       I'm on Windows 7 and i've been attempting to use Visual C# 2008 Express and XNA (3.1) libraries. <div><br/></div> <div>I've installed both programs and registered the project, .net framework 3.5 is installed, and everything is fully updated and im not using compatibility mode..<br/><br/>However, when i try to open a (working) XNA project, or even create a brand new XNA i get the error &quot;This project type is not supported by this installation.&quot;.</div> <div><br/></div> <div>This is a fresh install, and i can't understand why this wont work? i can view source files from existing projects, and that's about it.<br/><br/>Any ideas on this one would be much appreciated as i don't enjoy using the crappy university computers to study this topic :)</div> <div><br/></div> <div>Regards,<br/>Jd</div>Tue, 17 Nov 2009 17:18:42 Z2009-11-17T17:18:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/9e75a920-58ce-4643-acd6-e45f5232b90bhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/9e75a920-58ce-4643-acd6-e45f5232b90bThe Cowboy Coderhttp://social.msdn.microsoft.com/Profile/en-US/?user=The%20Cowboy%20CoderDesign window hangs in WPF, devenv.exe starts looping CPU around 50%<p>I attempt to create a new WPF project but the design window never populates and appears to hang.  CPU usage for devenv.exe starts looping around 50% usage.  I can close the project with no problems.  I disconnect the USB VGA adapter and the WPF project will load and save with no issues.  Re-connect the adapter and problem returns with any new or current project that was just working.  I've had this same problem on a different model laptop, Dell 630 I believe, as well with a physically different adapter but same model.<br/><br/>I've been experiencing this problem for about a year and have since gone to a different laptop and new adapter drivers and the issue persists after a fresh install of the O/S, VS2008 with SP1. Any recommendations besides not using the adapter, it's pretty integral to other job duties that I have to perform and the issue precludes me from being able to develop in the WPF environment.<br/><br/>Currently using a laptop DELL Latitude E6400 4 Gig memory with 2 external monitors in which one connects to the VGA port and the other connects to a USB VGA adapter (Tritton SEE2 UV100) and have installed their latest drivers.<br/><br/>O/S :  Windows Vista Enterprise SP2 (32-bit) <br/><br/>Visual Studio 2008 SP1 <br/><br/>Microsoft Visual Studio 2008<br/>Version 9.0.30729.1 SP<br/>Microsoft .NET Framework<br/>Version 3.5 SP1<br/><br/>Installed Edition: Standard</p> <p>Microsoft Visual Basic 2008<br/>Microsoft Visual Web Developer 2008<br/><br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB944899)   KB944899<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB945282)   KB945282<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946040)   KB946040<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946308)   KB946308<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946344)   KB946344<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB946581)   KB946581<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947173)   KB947173<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947540)   KB947540<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB947789)   KB947789<br/>Hotfix for Microsoft Visual Studio 2008 Standard Edition - ENU (KB948127)   KB948127<br/>Microsoft Visual Studio 2008 Standard Edition - ENU Service Pack 1 (KB945140)   KB945140<br/><br/><br/>When I open another session of VS2008 and attach to the running devenv.exe process to create a dump file, the following 2 messages constantly loop at the bottom:<br/><br/>     Loading symbols for C:\Windows\system32\igdumdx32.dll<br/>     Loading symbols for Windows\system32\d3d9.dll<br/><br/>When I break debugging it gives the following warning, and does not appear to create a dump file:<br/>     &quot;No Symbols are loaded for any call stack frame.  The source code cannot be displayed.&quot;<br/><br/><br/><br/>Review of the files in Windows\system32:<br/><br/>     igdumdx32.dll<br/>          File Descip:  LDDM User Mode Driver for Intel(R) Graphics Technology<br/>          File Version: 7.15.10.1591<br/>          Product name:  Intel Graphics Accelerator Drivers for Windows Vista(R)<br/>          Product Version: 7.15.10.1591<br/>          Size: 524 KB<br/>          Date Modified: 10/28/2008 8:25AM<br/><br/>     d3d9.dll<br/>          File Descip:  Microsoft Direct3D<br/>          File Version: 6.0.6002.18005<br/>          Product name:  Microsoft Windows Operating System<br/>          Product Version:  6.0.6002.18005<br/>          Size: 1.70 MB<br/>          Date Modified: 4/11/2009 7:15AM<br/><br/><br/>Video Driver<br/>     Mobile Intel(R) 4 Series Express Chipset Family<br/>     Provider Intel Corporation<br/>     Driver Date: 10/2/2008<br/>     Driver Version: 7.15.10.1591<br/>     Digital Signer: Microsoft Windows Hardware Compatibility Publisher</p>Tue, 17 Nov 2009 09:25:25 Z2009-11-17T11:32:16Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/1aaf8a88-a297-429e-b46f-7b02896f26dfhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/1aaf8a88-a297-429e-b46f-7b02896f26dfSuHlainghttp://social.msdn.microsoft.com/Profile/en-US/?user=SuHlaingPlease Help! How to useEnter key to shift the focus from one control to the next control?Hi All,<br/> In my project, I am using WPF. <br/> I want to use the Enter Key to move the cursor focus to the next control instead of Tab key.<br/> How can I capture Enter key press event in WPF?Tue, 17 Nov 2009 02:09:17 Z2009-11-17T02:09:18Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/93d17a56-c78e-4e86-8447-b1686782af0dhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/93d17a56-c78e-4e86-8447-b1686782af0dCleverCoderhttp://social.msdn.microsoft.com/Profile/en-US/?user=CleverCoderLooking for ideas on ways to maintain a database session during design timeHi there! I've just started digging into the new design time support for WPF. Looks good! I have a scenario that I'm trying to work through, and looking for ideas. I want to be able to establish a &quot;session&quot; with a backend system for reading live data at design time. I've read up on feature providers, and connectors, as well as the EditingContext. I'm thinking that the EditingContext would be a good place to store some of the session information for the current design session (started the first time a control that depends on it is loaded or the some other initialization occurs).<br/> <br/> Has anyone dealt with live data sessions at design time?? Would any of the new design time framework help?<br/> <br/> Best regards,<br/> -SeanThu, 12 Nov 2009 20:48:17 Z2009-11-16T23:35:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/ef5a3c3f-29a2-4004-babc-8214ebe45deahttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/ef5a3c3f-29a2-4004-babc-8214ebe45deaOkshilato1http://social.msdn.microsoft.com/Profile/en-US/?user=Okshilato1Visual Studio 2008 crashes on SSIS Data Flow Task openingHi, <br/><br/>Visual Studio 2008 crashes on SSIS Data Flow Task opening.<br/>This is a random behavior on random SSIS packages on Data Flow Task opening on packages that I’ve finished developing last week. The packages does not executes with error.<br/><br/>Error Description from Event Viewer:<br/>Faulting application devenv.exe, version 9.0.30729.1, stamp 488f2b50, faulting module msdds.dll, version 9.0.30729.1, stamp 488f2e31, debug? 0, fault address 0x00012b6a.<br/><br/>I'm runnig SSIS development against SQL SERVER 2008 ENT 64<br/><br/>My environment description:<br/>Microsoft Visual Studio 2008<br/>Version 9.0.30729.1 SP<br/>Microsoft .NET Framework<br/>Version 3.5 SP1<br/>Installed Edition: Professional<br/><br/>Microsoft Visual Basic 2008 91605-270-4167253-60984<br/>Microsoft Visual Basic 2008<br/>Microsoft Visual C# 2008 91605-270-4167253-60984<br/>Microsoft Visual C# 2008<br/>Microsoft Visual Studio 2008 Tools for Office 91605-270-4167253-60984<br/>Microsoft Visual Studio 2008 Tools for Office<br/>Microsoft Visual Web Developer 2008 91605-270-4167253-60984<br/>Microsoft Visual Web Developer 2008<br/>Crystal Reports    AAJ60-G0MSA4K-68000CF<br/>Crystal Reports Basic for Visual Studio 2008<br/>+<br/>KB944899, KB945282, KB946040, KB946308, KB946344, KB946581, KB947171, KB947173, KB947180, KB947180, KB947180, KB947540, KB947789, KB948127, KB953256, KB971091, KB973674, KB972222<br/>SQL Server Analysis Services <br/>Microsoft SQL Server Analysis Services Designer <br/>Version 10.0.1600.22<br/><br/>SQL Server Integration Services <br/>Microsoft SQL Server Integration Services Designer<br/>Version 10.0.1600.22 ((SQL_PreRelease).080709-1414 )<br/><br/>SQL Server Reporting Services <br/>Microsoft SQL Server Reporting Services Designers <br/>Version 10.0.1600.22Mon, 16 Nov 2009 23:21:18 Z2009-11-16T23:21:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0f5937c7-b218-4374-9209-4b9782c5bc95http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0f5937c7-b218-4374-9209-4b9782c5bc95Nyi Nyi Thannhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nyi%20Nyi%20ThannVS 2010 Beta 2 WPF designer problemHi, <div><br/></div> <div>I've played around with  VS 2010 Beta 2 and found that XAML editor is always blank when WPF designer is open.</div> <div>I am using Win Server 2008 32 bit version.</div><hr class="sig">Happy programming .netWed, 21 Oct 2009 16:33:41 Z2009-11-16T20:46:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/f31f4111-5251-4aa1-9dab-d4866f7b1523http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/f31f4111-5251-4aa1-9dab-d4866f7b1523koraykazganhttp://social.msdn.microsoft.com/Profile/en-US/?user=koraykazganApply style at design timeHi everyone,<br/><br/>I am using WPF to create a Windows client application. I am using styles in a resourceDictionary, to give my controls a better look and feel. When I set the style on my app.xaml and run my application, the styles are applied to the controls. But when working in the designer and developing my controls, I can't see the styles applied. Sure I can bind the styles on every view, but I would like to set them on one place, so that I am able to change the style by changing one line of code (or Xaml).<br/><br/>Is there any way to say WPF, &quot;I want to use this styles everywhere&quot;, without having to set them on each individual view? I also tried to create a class, derive it from UserControl and then derive all usercontrols from my custom class. Then I could set the style in my class and every userControl would get it, but then I have to derive all my usercontrols from a specific class.<br/><br/>I need a way to say, &quot;these are the generic styles, everyone uses them&quot;.<br/><br/>Hope that somebody can help,<br/>Regards...<hr class="sig">F/\nt/\sy PRODUCTIONSWed, 11 Nov 2009 09:37:34 Z2009-11-16T20:36:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/62d3ab35-8536-4a96-91fa-3e81c66186a9http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/62d3ab35-8536-4a96-91fa-3e81c66186a9Yaakov.Davishttp://social.msdn.microsoft.com/Profile/en-US/?user=Yaakov.DavisVisual Studio 2008 SP1 crash on Vista SP1When making changes in WPF designer and compiling, VS sometimes crashes.<br><br>Looking in Event Viewer, I see the following events:<br><br>1. Event 1023, .Net Runtime<br><br><span> <p> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>System</b></td></tr></tbody></table></p> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Provider</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>Name</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">.NET Runtime</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventID</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">1023</td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>Qualifiers</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Level</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">2</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Task</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Keywords</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0x80000000000000</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>TimeCreated</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>SystemTime</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">2008-12-04T07:03:33.000Z</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventRecordID</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">21742</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Channel</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">Application</td></tr></tbody></table></td></tr></tbody></table></div> <p> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventData</b></td></tr></tbody></table></p> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (6ABD0F92) (0)</td></tr></tbody></table></div><br><br><br>2. Event 1001, Windows Error Reporting<br><br> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>System</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Provider</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>Name</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">Windows Error Reporting</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventID</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">1001</td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>Qualifiers</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Level</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">4</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Task</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Keywords</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0x80000000000000</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>TimeCreated</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td width=12 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=105 nowrap>[ <b>SystemTime</b>] </td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">2008-12-04T07:11:22.000Z</td></tr></tbody></table></div></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventRecordID</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">21743</td></tr></tbody></table></td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top"> <table> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>Channel</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">Application</td></tr></tbody></table></td></tr></tbody></table></div> <table style="cursor:hand"> <tbody> <tr> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=15 nowrap><b>-</b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b>EventData</b></td></tr></tbody></table> <div> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">366416294</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">5</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">CLR20r3</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">None</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">0</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">devenv.exe</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">9.0.30729.1</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">488f2b50</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">mscorlib</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">2.0.0.0</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">4889dc80</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">1237</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">e</td></tr></tbody></table> <table border=0 cellspacing=0> <tbody> <tr> <td width=15 nowrap></td> <td width=15 nowrap></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top" width=130 nowrap><b></b></td> <td style="font-family:'Segoe UI';font-size:11px;vertical-align:top">Exception</td></tr></tbody></table></div></span><br><br>Please help.Thu, 04 Dec 2008 08:37:35 Z2009-11-12T16:57:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6e985efd-b863-4f9f-9170-b2b7710dfc87http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6e985efd-b863-4f9f-9170-b2b7710dfc87smisrasingaporehttp://social.msdn.microsoft.com/Profile/en-US/?user=smisrasingaporecsproj project type is not supported by this installation<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">I had VS 2008 team system with VS 2008 SPI installed. Everything was working fine. Recently I started working on WPF projects. I created several  components and windows. Worked fine.<br/><br/>While developing one of WPF application, VS crashed (it happens when I reload my xaml page). Later when I opened the one of my csproject having WPF <br/>component, I having <span style=""> </span><strong style=""> &quot;csproj project type is not supported by this installation&quot;. <span style=""> </span></strong></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><br/><span style="font-size:small"><span style="font-family:Calibri">I have tried couple of options as follows, nothing works<br/><br/>Run devenv.exe /resetskippkgs<br/>devenv /setup<br/>regsvr32.exe &quot;%vs80comntools%\..\IDE\projectaggregator.dll&quot;<br/><br/>I uninstalled complete team system and related components. Again reinstalled VS 2008.<span style="">  </span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Calibri"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Calibri">Now, when I try simple WPF application from new project options, I still get same error.<span style="">  </span>It would be great if someone can help me.</span></span></p>Sun, 09 Aug 2009 02:03:13 Z2009-11-12T03:25:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/7d5de52f-c8f2-4c2f-8669-d0358efe3e4ehttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/7d5de52f-c8f2-4c2f-8669-d0358efe3e4eGastonhttp://social.msdn.microsoft.com/Profile/en-US/?user=GastonHosting Cider Designer in my ApplicationI read that today I can't host the cider designer in my own application, it will be possible in the future to hosting the Cider designer in my application outside visual studio?<br><br>Regards,<br>Gaston<br>Thu, 28 Sep 2006 04:48:26 Z2009-11-11T15:49:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/88bc758f-e190-440a-a244-709ca646bc77http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/88bc758f-e190-440a-a244-709ca646bc77Brett Kilty [MSFT]http://social.msdn.microsoft.com/Profile/en-US/?user=Brett%20Kilty%20%5bMSFT%5dSolution: Intellisense broken in all WPF Projects after installing SDK/MSDN<font face=Arial size=2> <p>There have been several reports where intellisense has completely stopped working for all projects after installing a version of the Windows SDK or MSDN.  We have been able to track down the source of this problem.  This seems to only affect installs of the SDK/MSDN post the installation of Visual Studio.  One registry value has been incorrectly reset after these installs causing this failure.  This issue has been handed off to setup team for a future fix.  </p> <p> </p> <p>In the meantime, if you encounter this issue, it can be fixed using regedit.  First, determine if you are seeing this same issue by opening regedit and looking at the key: </p> <blockquote dir=ltr style="margin-right:0px"> <p align=left><font size=1>HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32</p></blockquote></font> <p align=left><font face=Arial size=2>If (Default) is empty you are hitting this issue.  To correct the problem, change the value of (Default) to point to the location of TextMgrP.dll on your system (C:\Program Files\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll in my case with a C: OS drive and accepting all the defaults).  Restart Visual Studio and intellisense should be working again.  Thanks to everyone who submitted reports of this issue and gave us the additional details needed to track it down quickly.</font></p> <p align=left> </p> <p align=left>Update: If you are running a 64-bit version of Windows, you will need to make sure you are running the correct regedit version (<span class=userInput>%systemroot%\syswow64\regedit - see <a title="http://support.microsoft.com/kb/305097" href="http://support.microsoft.com/kb/305097">http://support.microsoft.com/kb/305097</a>) and you will need to locate the correct path to TextMgrP.dll (such as C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\TextMgrP.dll)</span></font></p>Wed, 13 Feb 2008 21:57:55 Z2009-11-10T01:00:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/e2f700c1-03d7-4340-96fe-255e709fcc4chttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/e2f700c1-03d7-4340-96fe-255e709fcc4cVengenceBothttp://social.msdn.microsoft.com/Profile/en-US/?user=VengenceBotUsing Resources , applying to source ()I am having trouble and will continue to look here. <div><br/></div> <div>What I want to do is have files not copied, so it would be embedded in my EXE.. (thinking of making a dll, not sure how this would work either) Ive done some reading in the Library and tried my best to understand how to recall my &quot;data&quot; from the projectname.properties.resource.data , i tried this way and also using another extension of .resx</div> <div>From what I understand every resource file i create eventually ends up under the properties.resources... though Ive tried it using my own syntax ex.  project.file.data /resx .. still i cannot seem to get it to work..  This is so fustration.. finally I just used the method of a normal file which works.. and then used the option of binding to resource! which happily gave me some x:class Uri stuff and it didnt work..!</div> <div>Not sure if the compiling is the problem..  If someone could understand this or just tell me how to make files embedded so they wont be installed and how to recall them in my XAML</div><hr class="sig">#1 Microsoft FanSat, 07 Nov 2009 00:56:39 Z2009-11-07T00:56:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/94eceff4-2ef0-4311-a076-faf5a0f6c9cehttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/94eceff4-2ef0-4311-a076-faf5a0f6c9ceUncleMeathttp://social.msdn.microsoft.com/Profile/en-US/?user=UncleMeatCollection Object Binding in WPF for a ListBoxThis began as an easy query which I thought would yield a solution. After 3 days of browsing this site and the web in general I've encountered at least 50 different ways to bind a collection object to a listbox in WPF and none of them are the same. How is this possible? There are so many pieces to some of these so-called solutions that I'd actually save time by coding for the actual events to update the listbox and/or the object. <br/> <br/> If there is someone out there who can understand my frustration in learning this and would be able to tell me clearly and concisely what components are needed, I would greatly appreciate it.Tue, 03 Nov 2009 21:10:33 Z2009-11-06T02:25:35Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6a50b175-50cb-4caa-87d4-acbf3537dad6http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/6a50b175-50cb-4caa-87d4-acbf3537dad6Ilya2http://social.msdn.microsoft.com/Profile/en-US/?user=Ilya2Can not have more than 1 column in VS 2005 Web Control:ListBoxCan not have more than 1 column in VS 2005 Web Control:ListBoxFri, 06 Nov 2009 01:56:57 Z2009-11-06T02:16:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/4134e299-31c3-41c7-9dde-380f4e0a171bhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/4134e299-31c3-41c7-9dde-380f4e0a171btobi1449http://social.msdn.microsoft.com/Profile/en-US/?user=tobi1449VS 2010 Beta 2 always crashesHi<br/> my VisualStudio 2010 Beta 2 always crashes when I open a Xaml-File (it's just 1 but always the same one).<br/> Unfortunately, VS opens this file as the active one when I open my project, so as soon as I open my project, VS freezes.<br/> I can upload the xaml-file and the stacktrace if requested, but atm I need to know how to change the active file on opening a solution, so <br/> I can continue to work on my project.<br/> <br/> TobiasTue, 03 Nov 2009 15:54:14 Z2009-11-06T02:15:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/476749c9-b8f7-4d42-8061-bc1aa1186334http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/476749c9-b8f7-4d42-8061-bc1aa1186334Brian2p98http://social.msdn.microsoft.com/Profile/en-US/?user=Brian2p98WPF excruciatingly slow in Visual Studio 2008And apparently single threaded, as only one core is maxing out.  Are there any performance tricks to speed this up?  When I'm editing the xaml, I'm sometimes waiting in excess of a minute to get cursor control back.  This seems to be particularly bad when using a wpf control library.  Any help?  Anyone else having the same issue?Wed, 10 Sep 2008 21:21:26 Z2009-11-05T07:54:11Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/69cf4da9-c882-4cf5-806e-5dcbe5798906http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/69cf4da9-c882-4cf5-806e-5dcbe5798906ZenkeiRichhttp://social.msdn.microsoft.com/Profile/en-US/?user=ZenkeiRichVisual Studio 2008: WPF Xaml Designer Cripplingly SlowHey all, I'm using Visual Studio 2008 to work on an XBAP. While using the Xaml Designer to edit the XML of various things the designer is very, very, VERY slow. When I click on something like a text box or label it pauses for 5-10 seconds before selecting it. If I choose something else the same thing happens. I don't know how much more descriptive I can be besides I click, I wait, and wait... and wait some more, and then what I've selected becomes highlighted. None of the other members of my team are experiencing this.<br/> <br/> Are there any settings I should check or uncheck to speed things up? A hotfix maybe? Anything? Thanks a lot!<br/> <strong><br/> System<br/> </strong> Microsoft Windows XP Professional<br/> Veresion 202<br/> Service Pack 3<br/> <br/> <strong>Computer</strong> <br/> MacBook Pro<br/> Intel(R) Core(TM)2 CPU<br/> T7400 @2.16GHz<br/> 2.16GHz, 2.96GB of RAM<br/> <br/> <strong>Microsoft Visual Studio 2008</strong> <br/> Version 9.0.30729.1 SP<br/> Microsoft .NET Framework<br/> Version 3.5 SP1<br/> <br/> Installed Edition: Standard<br/> <br/> Microsoft Visual Basic 2008   91179-136-2274445-60787<br/> Microsoft Visual C# 2008   91179-136-2274445-60787<br/> Microsoft Visual C++ 2008   91179-136-2274445-60787<br/> Microsoft Visual Web Developer 2008   91179-136-2274445-60787<br/> <br/> Enterprise Library Configuration Editor   4.0<br/> Microsoft patterns &amp; practices Enterprise Library Configuration Editor <br/> Microsoft XNA Game Studio 3.0<br/> Build 3.0.11010.0Wed, 22 Jul 2009 07:56:42 Z2009-11-04T20:37:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/4ee23ad9-095b-4ce1-a7e8-ba0364a979f0http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/4ee23ad9-095b-4ce1-a7e8-ba0364a979f0dean2dhttp://social.msdn.microsoft.com/Profile/en-US/?user=dean2dHow to achieve 2 decimal places I have a point of sale calculator and i'm trying to achieve 2 decimal places in the results when the last digit is a zero.<br/> I'm not sure which part of the code you might need either because i'm a student and i'm not very good with this kind of work, i'm just trying to learn.  So here is everything I have as far as code.<br/> <br/><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>Option</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Explicit</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">On<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>Public</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Class</span></span><span style="font-size:x-small"> Form1<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Dim</span></span><span style="font-size:x-small"> Tax = 0.06<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Dim</span></span><span style="font-size:x-small"> ItemN(5) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">String</span></span><span style="font-size:x-small">, i </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">String</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Dim</span></span><span style="font-size:x-small"> Quant(5) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Integer</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Dim</span></span><span style="font-size:x-small"> Price(5) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Decimal</span></span><span style="font-size:x-small">, SubT </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Decimal</span></span><span style="font-size:x-small">, Total </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Decimal</span></span><span style="font-size:x-small">, PriceTotal(5) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Decimal</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Private</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Function</span></span><span style="font-size:x-small"> Check()<font size=2> <p>Check =</p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">True</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span><span style="font-size:x-small"> IsNumeric(txtItemN.Text) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Then</span></span></p> <span style="font-size:x-small"><font size=2> <p>MsgBox(</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;Invalid input text only&quot;</span></span><span style="font-size:x-small">, MsgBoxStyle.OkOnly, MsgBoxStyle.Information)<font size=2> <p>Check =</p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">False</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Not</span></span><span style="font-size:x-small"> IsNumeric(txtQuant.Text) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Then</span></span></p> <span style="font-size:x-small"><font size=2> <p>MsgBox(</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;Invalid input Numeric only&quot;</span></span><span style="font-size:x-small">, MsgBoxStyle.OkOnly, MsgBoxStyle.Information)<font size=2> <p>Check =</p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">False</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Not</span></span><span style="font-size:x-small"> IsNumeric(txtPrice.Text) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Then</span></span></p> <span style="font-size:x-small"><font size=2> <p>MsgBox(</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;Invalid input Numeric only&quot;</span></span><span style="font-size:x-small">, MsgBoxStyle.OkOnly, MsgBoxStyle.Information)<font size=2> <p>Check =</p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">False</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If <p> </p> </span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Function</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Private</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> btnAdd_Click(</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> sender </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.Object, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> e </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.EventArgs) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Handles</span></span><span style="font-size:x-small"> btnAdd.Click<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span><span style="font-size:x-small"> Check() </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Then</span></span></p> <span style="font-size:x-small"><font size=2> <p>Quant(i) =</p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">CInt</span></span><span style="font-size:x-small">(txtQuant.Text)<font size=2> <p>Price(i) =</p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">CDec</span></span><span style="font-size:x-small">(txtPrice.Text) <p>PriceTotal(i) = Price(i) * Quant(i)</p> <p>SubT = SubT + PriceTotal(i)</p> <p>Tax = Tax * SubT</p> <p>Total = SubT + Tax</p> <font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If <p> </p> </span></span></p> <span style="font-size:x-small"><font size=2> <p>ReceiptJournal.Items.Add((ItemN(i)) &amp;</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot; &quot;</span></span><span style="font-size:x-small"> &amp; </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">CStr</span></span><span style="font-size:x-small">(Quant(i)) &amp; </span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot; &quot;</span></span><span style="font-size:x-small"> &amp; </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">CStr</span></span><span style="font-size:x-small">(Price(i)) &amp; </span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot; &quot;</span></span><span style="font-size:x-small"> &amp; </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">CStr</span></span><span style="font-size:x-small">(PriceTotal(i))) <p>lblSubT.Text = FormatCurrency(SubT)</p> <p>lblTax.Text = FormatCurrency(Tax)</p> <p>lblTotal.Text = FormatCurrency(Total)</p> <font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Call</span></span><span style="font-size:x-small"> ClearInputsOutputs() <p>i = i + 1</p> <p> </p> <font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span><span style="font-size:x-small"> i &gt; 5 </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Then</span></span></p> <span style="font-size:x-small"><font size=2> <p>MsgBox(</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;Cannot exceed 5 Item purchase&quot;</span></span><span style="font-size:x-small">, MsgBoxStyle.OkOnly + MsgBoxStyle.Information)<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Else</span></span></p> <span style="font-size:x-small"> <p>txtItemN.Text = ItemN(i)</p> <font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">If</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Public</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> ClearInputsOutputs()<font size=2> <p>txtItemN.Text =</p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>txtQuant.Text =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>txtPrice.Text =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Private</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> PointOfSale_Load(</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> sender </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.Object, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> e </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.EventArgs) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Handles</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">MyBase</span></span><span style="font-size:x-small">.Load <p>i = 1</p> <font size=2> <p>ItemN(1) =</p> </font></span></p> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;FirstItem&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>ItemN(2) =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;SecondItem&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>ItemN(3) =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;ThirdItem&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>ItemN(4) =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;FourthItem&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p>ItemN(5) =</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;FifthItem&quot;</span></span></p> <span style="font-size:x-small"> <p>txtItemN.Text = ItemN(i)</p> <font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Call</span></span><span style="font-size:x-small"> ClearInputsOutputs()<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Private</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> ReceiptJournal_SelectedIndexChanged(</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> sender </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.Object, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> e </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.EventArgs) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Handles</span></span><span style="font-size:x-small"> ReceiptJournal.SelectedIndexChanged<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Private</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> txtItemN_TextChanged(</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> sender </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.Object, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> e </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> System.EventArgs) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Handles</span></span><span style="font-size:x-small"> txtItemN.TextChanged<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">End</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>End</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Class</span></span></p>Wed, 04 Nov 2009 16:39:23 Z2009-11-04T16:39:23Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0ecb50c0-d126-44ee-8757-cc1ee292b76ehttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0ecb50c0-d126-44ee-8757-cc1ee292b76erhombushttp://social.msdn.microsoft.com/Profile/en-US/?user=rhombuspossible bug<font face=Arial size=2><font color="#a31515" size=2> <p>I encountered a design time error on the EventSetter line below. The thing is, Selected is an event for ListViewItem. Also, the handler gets fired nomally. I haven't reported this yet because I'd prefer to get confirmation first.</font></p> <p align=left><font color="#0000ff" size=2></font> </p> <p align=left><font color="#0000ff" size=2>&lt;</font><font color="#a31515" size=2>Style</font><font color="#ff0000" size=2> TargetType</font><font color="#0000ff" size=2>=&quot;ListViewItem&quot;&gt;</p></font><font color="#a31515" size=2> <blockquote dir=ltr style="margin-right:0px"> <p></font><font color="#0000ff" size=2>&lt;</font><font color="#a31515" size=2>EventSetter</font><font color="#ff0000" size=2> Event</font><font color="#0000ff" size=2>=&quot;Selected&quot;</font><font color="#ff0000" size=2> Handler</font><font color="#0000ff" size=2>=&quot;ListViewItem_Selected&quot;/&gt;</p></blockquote></font><font color="#a31515" size=2> <p></font><font color="#0000ff" size=2>&lt;/</font><font color="#a31515" size=2>Style</font><font color="#0000ff" size=2>&gt;</p> <p></font></font><font color="#a31515" size=2></font> </p> <p align=left><font color="#a31515" size=2>Error 18 Value 'Selected' cannot be assigned to property 'Event'. Invalid event name. <br></p></font>Tue, 25 Mar 2008 20:10:02 Z2009-11-03T19:44:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/d8b35bb5-7652-4fe4-9f26-77f0d356fd56http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/d8b35bb5-7652-4fe4-9f26-77f0d356fd56Maximilian Haru Radityahttp://social.msdn.microsoft.com/Profile/en-US/?user=Maximilian%20Haru%20RadityaSome Experiences Using WPF Designer on Visual Studio 2010 BETA 2<p>In general, I notice great improvements in terms of performance and stability in VS2010 B2. Thanks to Rico Mariani and team for this, and of course for the WPF team as well! The WPF team has done a great job of fixing the text blurriness for BETA 2.</p> <p>Specific to WPF Designer, I also notice great improvements. It's noticeably faster (compared to VS2008 SP1) and has some great new features. Thanks to Mark Wilson-Thomas and team for this!</p> <p>Some improvements I notice:</p> <ul> <li>Faster loading of the designer. Though it's still a bit slow for the first time loading, but the subsequent loading is fast. (I still wonder why it's almost instant in Blend... Someone give me a hint?)</li> <li>Nice exception detail in the designer (instead of showing a blank designer with useless message!). I've requested this before since it really helps debugging the problem with the XAML and code behind. It's great to see this in VS (it exists in Blend).</li> <li>The Property Browser also has improved discoverability and readability. It shows common category properties and hide others. The advanced properties is also great, like one in Blend.</li> <li>The Toolbox shows user control defined in the projects across the solution.</li> </ul> <p>And well of course, there're some issues with it as well:</p> <ul> <li>The designer ignores (dependency) property value change in the control's static constructor. For example, when I define the height and width property in static constructor, it has no effect in the designer. It works well in VS2008SP1. <pre lang="x-c#"> public partial class MainWindow : Window { private static Type _typeOfThis; static MainWindow() { _typeOfThis = typeof(MainWindow); HeightProperty.OverrideMetadata(_typeOfThis, new FrameworkPropertyMetadata(480.0D)); WidthProperty.OverrideMetadata(_typeOfThis, new FrameworkPropertyMetadata(640.0D)); } public MainWindow() { InitializeComponent(); } } </pre> <pre lang=x-xml>&lt;Window x:Class=&quot;WpfApplication.MainWindow&quot; xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot; xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; Title=&quot;MainWindow&quot; WindowStartupLocation=&quot;CenterScreen&quot; xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:my=&quot;clr-namespace:WpfApplication&quot;&gt; &lt;Grid&gt; &lt;/Grid&gt; &lt;/Window&gt; </pre> <br/>Note that I've removed the width and height in XAML and move it to static constructor. </li> <li>Sometimes, the property browser becomes blank temporarily when building project. I notice this in my project as well as in your latest video in Channel 9. Though I think this should be minor.</li> </ul> <p>I think that's all for now, more feedback later on. I hope the quality is getting better in the future release. Thanks again!</p><hr class="sig">Maximilian Haru RadityaSat, 24 Oct 2009 11:09:51 Z2009-11-02T18:42:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/18e508b9-f4f8-43f6-9e1f-a03cce9f4b6chttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/18e508b9-f4f8-43f6-9e1f-a03cce9f4b6cMuhammad Rizwan Saddalhttp://social.msdn.microsoft.com/Profile/en-US/?user=Muhammad%20Rizwan%20SaddalSilverlight Live Videos StreamingHey,<br/> I am working on a live session telecast system, were viewers enroll to watch a live session, conducted by the presenter, There is a facility to the presenter to push videos and presentations during the live session, when the presenter does that, our silverlight control doesn't work appropriatly, all other viewers report, sliced vidoes and too much time in buffering, if there is any suggestion from anyone of u kindly share with me, It will be highly appreciated.<br/>Thanx in advance<br/>SaddalMon, 02 Nov 2009 08:16:53 Z2009-11-02T08:16:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0e5aa4aa-3ea0-403f-abc8-90eb70bbd261http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/0e5aa4aa-3ea0-403f-abc8-90eb70bbd261sam4semhttp://social.msdn.microsoft.com/Profile/en-US/?user=sam4semVisual Studio and expression blend error I am working on a WPF project ...the project work fine in both visual studio and expression blend. Now I have change the project structure by moving the projects in folders. Now application working fine visual studio but when I open application in expression blend and If in expression blend I do not make any change the project works fine but If I make any change in project using expression blend I gives error .......Some send report or Do not send  to microsoft..... Mon, 02 Nov 2009 07:35:36 Z2009-11-02T07:35:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2ec8f252-4172-4cbb-b0dd-47155867162fhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2ec8f252-4172-4cbb-b0dd-47155867162fJane Chttp://social.msdn.microsoft.com/Profile/en-US/?user=Jane%20CCancel from DialogPropertyEditor causes Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.Hello, I've created a <span style="font-size:xx-small;color:#2b91af">DialogPropertyValueEditor </span>that I've attached to a Items collection property. This editor works fine, I can add, insert, delete and move items in the collection. The problem occurs when user Cancels the dialog. In this case, I get: <br/><br/><span style="font-size:xx-small;color:#2b91af">Element already has a logical parent. It must be detached from the old parent before it is attached to a new one. at MS.Internal.DocumentTreeManagers.ItemUpdater.ApplyDelta(INodeHost nodeHost, DeltaItemCollection delta, ModifiableDocumentTree root, DocumentNodeDictionary oldTable, Boolean updateTable, DocumentNodeDictionary deletedItems, Comparison`1 compare) at Microsoft.Windows.Design.Documents.Trees.DocumentTreeManager.ApplyDelta(Delta delta, Comparison`1 compare) at Microsoft.Windows.Design.Documents.Trees.ModelDocumentTreeManager.ApplyEditingScopeDelta(Delta delta, Boolean resetDamage) at Microsoft.Windows.Design.Documents.Trees.ModelDocumentTreeManager.OnEditingScopeAborted(ModelEditingScopeImpl scope) at Microsoft.Windows.Design.Documents.Trees.ModelDocumentTreeManager.ModelEditingScopeImpl.OnRevert(Boolean finalizing) at Microsoft.Windows.Design.Model.ModelEditingScope.Revert()</span> <br/><br/>I assume this occurs because I have modified items in the collection by removing and re-adding them, and then the Revert encounters a remove and tries to re-add the item. If I don't remove and re-add items in the collection, then the changes aren't propagated to the XAML. <br/><br/>Let me know if you need more info. Thanks, JaneThu, 29 Oct 2009 19:19:15 Z2009-11-02T07:08:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/dda1ec58-d21b-44db-9307-b3c61e52a391http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/dda1ec58-d21b-44db-9307-b3c61e52a391techker2http://social.msdn.microsoft.com/Profile/en-US/?user=techker2button codeHey guys i got the project working all is set up but i just can't figure out how to maque a a button event?<br/><br/>i made a tool box with 5 buttons.and a tab container.<br/><br/>i need to make an event to go from for to form...<br/><br/>can anybody help me?Sun, 01 Nov 2009 19:02:13 Z2009-11-01T19:02:13Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/8b0b5e02-fad0-4556-9bc9-810880d9901ahttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/8b0b5e02-fad0-4556-9bc9-810880d9901aEHMMhttp://social.msdn.microsoft.com/Profile/en-US/?user=EHMMsource saveI need code to help me retrive imge from SQL Server database and browse it in Picture box by C#.Sat, 31 Oct 2009 06:11:04 Z2009-10-31T06:11:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/06cf7bca-982c-44cf-aec9-99cf399b3000http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/06cf7bca-982c-44cf-aec9-99cf399b3000ReneeChttp://social.msdn.microsoft.com/Profile/en-US/?user=ReneeCThe project type is not supported by this installation?<p> </p> <p>VS2005 Team Suite RTM with SP1 Beta - XP SP2 - latest patches</p> <p>Hi,</p> <p>I have been learning XAML at the intro level. I had an old version of dotnetfx3 and wpf templates and I could create a project and run it.</p> <p>Yesterday I removed the old templates and the old framework with a removal tool and installed the RTM framework and new templates.</p> <p>However now I cannot open create a new project.</p> <p>The error message I am receiving is:</p> <p>&quot;The project file c:\documents and settings\renee\localsettings\temp\4t4baj4.dyv\temp\WindowsApplication1 cannot be opened.&quot; The project type is not supported by this installation.</p> <p>I have not installed the extensions. I never have. I don't have enough disk space on the current system.</p> <p>What's missing?</p> <p> </p> <p>Renee</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p>Thu, 16 Nov 2006 19:33:14 Z2009-10-30T10:34:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/f8e4f04d-5b16-46b9-a6a0-43ccf81cb342http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/f8e4f04d-5b16-46b9-a6a0-43ccf81cb342skwilliams99http://social.msdn.microsoft.com/Profile/en-US/?user=skwilliams99Use week selection on calendar control to query data within that time period.<p>I have a asp.net page with a calendar control and the selection mode set to DayWeekMonth.  I have a datalist which displays data from an MS Access database based on the criteria from the calendar.  <br/><br/>When I select any day the data displays properly, but when I select a week or month no data displays.</p>Thu, 29 Oct 2009 15:27:45 Z2009-10-29T22:27:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/5787db6b-6354-49ca-99c5-149693c5a149http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/5787db6b-6354-49ca-99c5-149693c5a149etinmorehttp://social.msdn.microsoft.com/Profile/en-US/?user=etinmoreSITEMAP NAVIGATIONI am try to create a sitemap for web navigation, but I always get an error message which is  <br/> <h2><em>Configuration Error</em></h2> <span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><strong><span style="font-family:Verdana">Description: </span></strong>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. <br/><br/><strong><span style="font-family:Verdana">Parser Error Message: </span></strong>The XML sitemap config file web.sitemap could not be loaded.  The 'siteMap' start tag on line 2 does not match the end tag of 'siteMapNode'. Line 36, position 4.<br/><br/><strong><span style="font-family:Verdana">Source Error:</span></strong> <br/><br/> <table border=0 width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>Line 34: &lt;siteMapNode url=&quot;Product_lifecycle_Management.aspx&quot; title=&quot;Product lifecycle Management&quot; descripion=&quot;Product lifecycle management&quot; /&gt; Line 35: &lt;siteMapNode url=&quot;Plant_Management.aspx&quot; title=&quot;Plant Management&quot; description=&quot;Plant Management&quot; /&gt; <span style="color:red">Line 36: &lt;/siteMapNode&gt; </span>Line 37: &lt;siteMapNode url=&quot;Application_Services.aspx&quot; title=&quot;Application Services&quot; description=&quot;Application Services&quot; /&gt; Line 38: &lt;siteMapNode url=&quot;SAP_Services.aspx&quot; title=&quot;SAP Services&quot; description=&quot;SAP Services page&quot; /&gt;</pre> </code></td> </tr> </tbody> </table> AAn example of my sitemap navigation files is<br/><br/>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;<br/>&lt;siteMap xmlns=&quot;<a href="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">http://schemas.microsoft.com/AspNet/SiteMap-File-1.0</a>&quot; &gt;<br/> &lt;siteMapNode url=&quot;Company.aspx&quot; title=&quot;Company&quot;  description=&quot;Our Company page&quot;&gt;<br/>  &lt;siteMapNode url=&quot;About_us.aspx&quot; title=&quot;About us&quot;  description=&quot;About us page&quot; /&gt;<br/>  &lt;siteMapNode url=&quot;management_team.aspx&quot; title=&quot;management team&quot;  description=&quot;&quot; /&gt;<br/> &lt;/siteMapNode&gt;<br/> &lt;siteMapNode url=&quot;Services.aspx&quot; title=&quot;Services&quot;  description=&quot;our Services&quot; /&gt;<br/>  &lt;siteMapNode url=&quot;IT_services.aspx&quot; title=&quot;IT SERVICES&quot;  description=&quot;IT Services page&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Testing.aspx&quot; title=&quot;Testing&quot;  description=&quot;Testing page&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Performance_Engineering.aspx&quot; title=&quot;Performance Engineering&quot;  description=&quot;Performance Engineering page&quot; /&gt;<br/><br/>I get this error at this a point in the sitemap files<br/>&lt;siteMapNode url=&quot;Industrial_and_Engineering_Services.aspx&quot; title=&quot;Industrial and Engineering Services&quot;  description=&quot;Industrial and Engineering Services page&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Product_Development_Solutions.aspx&quot; title=&quot;Product Development Solutions&quot;  description=&quot;Product Development Solutions&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Industries_Specific_Solutions.aspx&quot; title=&quot;Industries Specific Solutions&quot;  description=&quot;Industries Specific Solutions&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Product_lifecycle_Management.aspx&quot; title=&quot;Product lifecycle Management&quot;  descripion=&quot;Product lifecycle management&quot; /&gt;<br/>   &lt;siteMapNode url=&quot;Plant_Management.aspx&quot; title=&quot;Plant Management&quot;  description=&quot;Plant Management&quot; /&gt;<br/><span style="text-decoration:underline"> &lt;/siteMapNode&gt;<br/><br/><br/></span></span>Thu, 29 Oct 2009 00:51:49 Z2009-10-29T22:25:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/15c1f8a2-fa37-4e1d-931e-56d05e90ad7ahttp://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/15c1f8a2-fa37-4e1d-931e-56d05e90ad7aWillie007http://social.msdn.microsoft.com/Profile/en-US/?user=Willie007How to activate a combobox inside a usercontrol at designtimeHi,<br/><br/>I am searching for a solution where I am able to click on a combobox that will open and allow to select an item (this is inside a self written usercontrol).<br/><br/><strong>But this must be done at designtime</strong>, not runtime. It this possible using dependency's?<br/>It looks like the combobox is dead until runtime. Tue, 20 Oct 2009 08:25:36 Z2009-10-30T13:04:29Z