Brian Welcker - MS's Q&A profile
Windows Forms Change the checked and unchecked value of a DataGridViewCheckBoxColumn
Hi, What I'm trying to do is quite simple..... 1. I've created a empty DataGridView 2. I add a DataGridViewCheckBoxColumn using the following code- colToBeAdded = New DataGridViewCheckBoxColumn colToBeAdded.FalseValue = 2 colToBeAdded.TrueValue = 1 colToBeAdded.ThreeState = False colToBeAdded.valuetype = GetType ( Integer ) colToBeAdded.HeaderText = headerText colToBeAdded.Name = colName colToBeAdded.DataPrope ...Show All
SQL Server Lookup transform not finding blank match
I am having problems with a lookup transformation. I have a row in my lookup table for blank ('') source data. If I test the join using SQL the match is made, but the Lookup transform doesn't consider it a match and sends it to error output. Is there a property that I don't have set correctly or something else I am forgetting Check out http://blogs.conchango.com/kristianwedberg/archive/2006/02/22/2955.aspx ...Show All
Visual Studio Team System WorkItem API problem: Cannot update Field Completed Work programatically
As a part of my project to log time worked on each workitem per week I have this code: private static void SetWorkItemFieldValues( WorkItem workItem, double hoursWorked) { workItem.SyncToLatest(); if (workItem.Fields.Contains( "Completed Work" )) { Field field = workItem.Fields[ "Completed Work" ]; double completedHours = Convert .ToDouble(field.Value) + hoursWorked; field.Value = complet ...Show All
Windows Forms Date Time Picker
Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Hi, Sorry, please allow me to ask more, can you guide me more details on how to traverse the list view items and create the loop Thanks. ...Show All
Smart Device Development cannot add HardwareButton to Class Library
I am unable to add an object of type HardwareButton to a class library, due to the following error: Error 1 Reference required to assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes' containing the base class 'System.ComponentModel.Component'. Add one to your project. I have tried adding references to: System System.ComponentModel.Component Microsoft.WindowsCE.Forms System.Windows.Forms I have ...Show All
SQL Server Copy Database Wizard (MS SQL 2005)
When I use the "Copy Database Wizard" everything works fine, but the "Identity Specification" is changed in the new database. Source database (original): Column Name = HTML_ID Data Type = int Identity Specification = Yes Is Identity = Yes Identity Increment = 1 Identity Seed = 1 Destination database (copy): Column Name = HTML_ID Data Type = int Identity Specification = No Is Identity = No Identity Increment = Identity S ...Show All
Visual Studio How to make VS.NET 2003 open .cpp with my custom editor
Hello, I have reviewed the whole forum, but had no luck in finding an answer. I have a custom editor that I developed, which hosts the core editor and extends it. It is associated with the "*" extension, so it works great with all text files. I can configure the editor as the "default editor", and when I open a file or double-click it on the solution, the environment launches my editor. Great! The problem areas are debugging and going to erro ...Show All
Windows Forms error in AddEventHandler
I am loading an assembly which rises event "Signal" - in my form I am trying to register for handling that event but I keep on getting erorr "An unhandled exception of type 'System.Reflection.TargetException' occurred in mscorlib.dll Additional informati ...Show All
Windows Forms ListBox is really slow on adding about 64000 items
so, this is a problem - adding about 64000 into ListBox takes about 2-3 seconds.. my code: Can the virtual list control be used on a web page or is it for windows apps only ...Show All
Visual Studio Express Editions Can VC++Express & VS.Net Team Suite, both 2005/Beta 2, live side-by-side?
Can these two IDEs, their MSDN and everything else that come with a full installation of each one of them live side-by-side on the same computer (Win 2K+SP4): Thanks, David David - Yes. There should be no problem with installing an Express product and a full-VS product of the same version side-by-side. We do test and support this situation. If you do run into any problems when working with thi ...Show All
SQL Server How Can I generate a rdl file from a mdx query in C#.net?
Is there some methods to generate the rdl file or reporting html page from a given mdx query language For instance, I have a mdx query: select dim1.a on rows, dim2.b on columns from cub1 How can I generate the corresponding rdl file to generate report html page with C#.net I know that one can use xmltextwriter to write the rdl file but it is a difficult work.Is there some internal class in C#.net have some methods to genera ...Show All
SQL Server Suppress Text Wrap
Is there a way to keep text from wrapping to the next line if it hits the width of the containing item Yes, the property "CanGrow" will determine whether or not something will automatically resize. Simply set this value to false and the value will not wrap to the next line. ...Show All
Visual Studio IVsHiColorItem caching
I've implemented an editor line marker that implements IVsHiColorItem to allow the full color range. This part works. Now the trick is when I change that color, I've found that the GetColorData member is only called seemingly once per-marker-per-editor-class, so color changes don't take effect until a VS restart. I've tried clearing the font and color cache with IVsFontAndColorCacheMangager.ClearAllCaches, and this didn't have any affect ...Show All
.NET Development Assembly and Assembly file version numbers
Hi everyone. Here's an email I recently posted to a respected guy at MS named Vincem ( http://blogs.msdn.com/vincem/ ). I'd like to post this same mail here to see what other people are doing with regard to .Net assembly version attributes. I'm doing a spot of research in an attempt to make an informed decision regarding versioning of .Net assemblies. I've read (and re-read) the blog entries you kindly posted ( http://blogs.msdn.com/vincem/arch ...Show All
Visual Studio Team System WebTests - "Test aborted"; however, no errors displayed
I've got a webtest that fails every time after 5 iterations--at some point during the 5th run of the test. There are no errors generated. As per previous posts along this subject, I made sure that both my results from previous runs were deleted. I also made sure that the testrunconfig testtimeout properties were okay and not the issue. What could be causing this It's not a very long test....around 10 gets and 10 posts. I pass in unique ...Show All
