Answer Questions
Roman Benko Dec CTP Woes
Getting various errors after I moved to the Dec CTP. When I try to compile the SampleViewerLite sample, I get the following error: Unknown build error, 'Known type value 236='GridView' is not a valid known type. Line 6 Position 34.' \SampleViewerLite\CSharp\Scene1.xaml 6 34 SdkXamlBrowser How's that for a cryptic error "Known type value is not a valid type" There have been ...Show All
jwyckoff BUG: Changing the name of a project item causes data loss
I have a project where an add-in is creating a new solution, form, renaming the form and then adding a label. It does this all in quick succession using the DTE in Visual Studio 2005 June CTP. I have noticed that when I do this, the label gets added, and then lost. I'm not sure if this is a VS bug or a side-effect of how its implemented and something I'm just going to have to live with. You can recreate this by starting with the ToolWindow sampl ...Show All
Stathread01 Excel - Clear contents for a sheet
What is the best way to clear a sheet of all values off of an Excel sheet Either using the WorkSheet or WorkBook class My system is throwing an exception and am wondering if I am doing it wrong. advTHANKSance Hi, Sorry, as you've deduced, there is no method that allows you to do a clear at the Worksheet or Workbook level. However, the Cells property of Worksheet returns a Range that consists of all of the cells on the sheet.&nbs ...Show All
minsim Qs on .PNG & .TIF encoderparameters (quality/compression)
Does anyone happen to know, offhand, if there is a way to specify the quality encoder parameter type for .PNG files that actually causes some effect on the degree of compression I have seen 3rd party imaging software that allows settings for this, usually with a compression level from 1-10, which really works and really can produce good reductions in file size, but my impression is that GDI+ doesn't not support this kind of specification for a ...Show All
CodeHaxor "unable to attach to the process" when debugging in VS.2003
Hello, I have both Visual Studio 2003 and Visual Studio 2005 installed on my workstation. I have some big projects that are not transitioned from 2003 to 2005 yet and I have to debug thier code now. But after I installed VS.2005 "Attach to a process" feature stopped working in VS.2003. When I try to attach to a process that has .Net 1.1 assemby running it always gives me an error "unable to attach to the process" with n ...Show All
CLM10270 Is the pseudo SQL syntax necessary?
Current LINQ syntax is like this: var upperLowerWords = from w in words select new {Upper = w.ToUpper(), Lower = w.ToLower()} where w.StartsWith("a"); But I think that this is unnecessary breeding of C# with SQL. I believe that combination of methods with lambda calculus would be better: string[] words = { "aPPLE", "B ...Show All
Mathias Verboven NotifyCollectionChanged
I have a control which is bound to a class which inherits from ObservableCollection<mytype>, using objectdatasource <ObjectDataProvider x:Name="myCollectionDS" x:Key="MyCollectionDS".../> <TabControl ItemsSource="{Binding}" .../> I am overriding OnCollectionChanged protected override void OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedAction action, object oldIte ...Show All
Heikki Drag and Drop Treeview Items between 2 Treeviews
Hello I am trying to drag treeview items from 1 treeview to but no luck. I am unable to find the event ItemDrag like in the control found in VS.Net 2003. On the second treeview there is to events I have: 1. DragOver 2. Drop When I add a break point in the DragOver event and actaully drag an item from the first to the second treeview, and step the code once the break point in the DragOver e ...Show All
Saeedsad MSDN
We are Microsoft Certified partner.The MSDN subscription CDs are shipped to us,monthly. But this month, i noticed one particular CD,Visual Studeio 2005 Team suite trial edition, is missing from the package,after comparing the "MSDN shipment contents" website online. we don't know who to contact with.we checked MSDN website,but we are so lost. Help i already called them(it took me a while to fin ...Show All
Stefan de Vogelaere Dynamic or not Dynamic Help, Help!
Hi. I have an application and am developing help for it. My application has 3 levels of user: General Staff, Unit Managers and Administrators. I would like to create just 1 help file rather than 3 as this would take time duplicating effort. I would like to be able to (From visual basic) open the help file and display only help that the level of user is allowed to see. Because a Unit Manager has a greater position and can ...Show All
psylencio How to get previous (referer) scene/page?
Hello, I'm working with WPF and have encountered a problem: I want to execute different methods on a page's onLoaded event depending on the previous page. All navigation is done by the Navigate("page.xaml" ) method. How can I do it My idea is something like this: <C# code> if (referer = "Page1.xaml") { 'do something } else { 'do something else } How do I get the 'referer' above ...Show All
Steve4527 Msosec policy will have negative impact on performance for all managed code
Hi, I have installed Microsoft CRM 3.0 Snap! and about to do what is suggested in he article "How to: Grant Permissions to Documents and Worksbooks in Shared Locations" However, in the Note section, it says: If you use Msosec in your policy, it will have a negative impact on performance for all managed code on the computer. It is recommended that you not add Msosec to servers or other computers where it is not required. Can anyo ...Show All
hmad Can I Generate Code with CodeDom in the target language project?
hello. when i publish my target language developed with DSL , i see i can generate code with templates for model, but i will generate code in codedom how can i do with DSL. thanks I'm finding it easier to put my code-generation in a separate class, and reference it in the text template: <#=CSharpCodeGenerationHelper.GenerateLibrary(this.ClassLibrary)#> From there, you can use CodeDom, stringbuilder, ...Show All
Amir_E can't use the Http test page about the indigo(Feb,2006 CTP)
When i have built the Server successfully in the Feb,2006 CTP. I use the http protocol,but when i type the :http://localhost:3721/HelloWorld/ IE,it will show error message ,doesn't show the indigo test page: HTTP 500,internal server error I have closed the firewall. Below is the source code and config file. why thanks a lot~ Waiting~~~ ----------------------------------------------------------------------------------- ...Show All
Carolann Dynamic SQL Generation is not supported against multiple base tables.
Hi, I receive this error message when attempting to modify the instructions for a walkthrough titled "Working with Offline SQL Server Data in Excel". This was an excellent walkthrough, but I wanted to be able to load data from more than the one table used in the walkthrough on to an Excel spreadsheet. I am using VSTO 2003 and Office 2003. I do not yet have VSTO 2005. I would appreciate it if anyone could tell me if it is possible to us ...Show All
