StephenWalker's Q&A profile
Windows Forms Populating controls from a ListView
I have a ListView control that is populated with values from a DataSet. I want to (upon selecting a row in the ListView control) populate a series of controls on the same form (text boxes, combo boxes, etc.). In VB6, I would use the ItemData property to snag the ID and use that as a key to find the corresponding record. I don't see a way to associate an ID with each row in the ListView. If I can do this, I can then get the ID and get the corresp ...Show All
Visual Studio Team System How to distribute the load among the agents
Hi , I need to execute my scripts from different clients. I installed Agents on the remote clients and now i need to distribute the load on to this machines. I was able to configute the agents to a ring but i don't know where to set the load distribution. So, can any one help me in this. Thanks Niranjan Arikela Niranjan Arikela wrote: Hi , I need to execute my scripts from different clients. I installed Agents on the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question on ID3DXEffect::SetArrayRange
Hi, I'm currently adding shader instancing to our engine. After I changed the single world matrix in the effect file to a matrix array, I noticed a heavy performance drop. The fps went down by almost 30%. After some investigation I found that the fps changes with the size of the matrix array, so the effect framework seems to always copy all elements of the array, not only those that were actually set. I then wanted to optimize this using the ID3 ...Show All
Visual Studio Tools for Office CustomUI / Ribbon Schema
Where can I get a copy of the ribbon schema http://schemas.microsoft.com/office/2006/01/customui , I cannot seem to find it anywhere. Thanks. You can find the current version of schema on my website: RibbonX XML Schema ...Show All
Visual Studio Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid
I have installed a RC version of VS Team Suite along with full MSDN installation. After completing installation, I'v got " Microsoft Document Explorer cannot be shown because the specified help collection 'ms-help://MS.MSDNQTR.v80.en' is invalid " error when I have tried to access it by doing "Start" -> "All Programs" -> "Microsoft Developer Network" -> "MSDN Library for Visual Studio 2005" When I accessed it from VS ...Show All
Visual Studio Team System Can't access to the documents
Hi, I can't access the documents tree. There is no permissions problem (I can view the sharepoint site via browser, but not in team explorer). Thanks, Michael The URL used to access the SharePoint site is stored as an absolute URL (i.e., with protocol, port number and machine name) in TFS Registration data. The first thing to check is that the URL that is specified in the registration data actually works from the client machine ...Show All
Visual Studio Team System Implement tests in a base class for reuse
While trying to move my NUnit unit tests over to VSTS it seems that base test classes are not supported. Here is an example: public abstract class BaseTestCase { [TestMethod] public void SimpleTest() { Assert.Fail(); } } [TestClass] public class MyTestCase : BaseTestCase { } In NUnit the MyTestCase would have all the tests in the bas ...Show All
.NET Development WebClient.OpenWrite()
hi, i'm learning network programming i use my localhost to do this, i got exception "(401) unauthorized ", is this a problem in my code or IIS , i had changed the access permission for this folder "ecommerce" to read and write but i still get this exceptin. is there any suggestion to avoid this here its my code private void WriteToServer_Click( object sender, EventArgs e) { try { //new client WebClient client ...Show All
Visual C# MSB3331 Warning After Project Rename
I recently renamed an existing project and thought I got all the references but I get the following warning when I do a build. Any ideas Thanks. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3331: Unable to apply publish properties for item "dna.radworkflow.worklist.workitems.pdb". Me, too. How can I let them disappear Regards, y.m ...Show All
.NET Development Use .net serialization or a custon soultion?
Hi, Basically, I need to clone objects to remote processes. Now it's not that simple... I want to decide per remote client which members are to be serialized. Some of the data must remain hidden for security reasons, and the extent of the data hiding is dynamically computed at runtime and may change per object per client over time. In some cases only a part of a class might have changed. I'd want to serialize only the affected ...Show All
.NET Development Old style BarBreak?
Anyone know of a way to implement the old style BarBreak menu item property I have been searching for a while and I'm pretty sure its right in front of my eyes. I hope. In case noone knows what I mean: The BarBreak property makes the menu appear on a new line, or column in the current dropdown. Try setting the the BarBreak property of the MenuItem instances you are dealing with in order to acomplish this. ...Show All
.NET Development Create a Non-Serialized Event in 2.0
I am having trouble creating an event that is non-serializable in 2.0. In 1.1, I would have just put the [field:NonSerialized] Attribute on the event as this is the MS-endorsed hack for making it non-serializable. What I'm trying to do is the following: public delegate void Notification(object notificationObject); public interface INotification { [field: NonSerialized ] event Notification NotificationEvent ; } ...Show All
Visual Studio Tools for Office TrackRevisions method not available error
Hi, We are working on word customization using VSTO 2005. In our code for some functionality we need to enable and disable trackchanges. for that we are doing something like this, if (this.TrackRevisions == true) { isTrackChangesOn = true ; this.TrackRevisions = false ; } // Some functionality if (isTrackChangesOn == true) this.TrackRevisions = true; The above said is working fine. But when i use Find.. ...Show All
Visual Studio Team System FxCop support in VSTS
Managed Code Analysis feature in Visual Studio Team System - 1. Is library support present for writing cusom rules 2. How are custom rules applied on target projects 3. Are all the features in FxCop like reporting supported Hariharan, Yes. See FAQ: How do I integrate custom rules with Visual Studio The same as normal rules, rule selections are scoped per project, custom rules are enabled by d ...Show All
Visual Basic LinearGradientBrush, too many arguments to public Sub New().
Hello I am using this LinearGradientBrush to chnage the gradient color of my ToolStripButton which is on ToolStrip control. I've the follwoing code Dim x As Integer = 20 Dim y As Integer = 20 Dim h As Integer = 100 Dim w As Integer = 200 Dim myRect As New Rectangle(x, y, w, h) Dim myLGBrush As New LinearGradientBrush(myRect, Color.Blue, Color.Aquamarine, 45.0F, True ) But I'm getting too man ...Show All
