Hemant sethi's Q&A profile
Visual Studio Team System Team Explorer does not auto-create a link from a parent work item to related work items.
When creating a related work item in Team Explorer a link is not created on the parent work item to the child work item. Consider the following example: Create a scenario called 'Test Scenario' - e.g. ID=1. Create a related work item (task) for this new scenario by right mouse-clicking on this scenario from one of the query windows. A new task is created named 'Related to work item 1 - Test Scenario'. - e.g. ID=2 ...Show All
Visual Studio Team System Loading appsettings or custom settings from MSTest.exe
I have a unit test (MyUnitTest.dll) that tests a class in another dll (MyClass.dll). My unit tests verify the code that loads the configuration settings. One test method looks like this, [ TestMethod ] [ DeploymentItem ( "MyUnitTest.dll.config" )] public void ReadFromConfig() { MyConfiguration configuration = MyConfiguration .Configuration; Assert .AreEqual("testvalue", configuration.CustomList[0]); ...Show All
Visual Studio 2008 (Pre-release) Rendering XPS document other than using DocumentViewer Control ?
Now, i came to the problem of how to open XPS file with out using DocumentViewerControl, but draw the document in my way, and handle more events. Is it possible if yes , how can i made it. Thanks. You can use the DocumentPageView Control (in the System.Windows.Controls.Primitives namespace) to display a single page of a document that implements the IDocumentPaginatorSource interface (in t ...Show All
.NET Development .NET Question.
Hi, im new to .NET C++ programming, and have a simple question to ask. When i create a simple application using Windows Form Creator and add a richTextBox to the form, i get the following code(see below). And Ive added a simple function (EditText()) at the end of the file which isnt in the name space. What i want to know is how can i access the richTextBox1(which i created in the namespace) outside of the namespace. Is that possible Because i'd ...Show All
Visual C# Instances
How would I make an instance of a form available from all forms Can someone explain to me, or send me a code snippet Depends on the definition of available One could place code like: Form1 newVersion = new Form1(); newVersion.Show(); in the load of every page besides Form1 (recursive mess) and Form1 would open along with each page. ...Show All
Visual Studio Express Editions Failed to start monitoring changes
i'm not sure if this problem belong to this forum, but it started only after a start to use visual studio express (web developer). when i try to build a website i get the folowing error: "Error 1 An error occurred loading a configuration file: Failed to start monitoring changes to 'Z:\lina\a\pics' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base a ...Show All
Visual C++ A Simple Question to MFC Developer Team
why don't you still add to MFC library a native datagrid class p.s. blabla.ocx and listctrl isn't the answer......... The shortest way to reach the Lib team is to log the issue though the product feedback center at http://lab.msdn.microsoft.com/productfeedback/default.aspx Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Team System GUI Change requires checkout of licenses.licx
We are using a couple of 3rd party components that have information stored in the licenses.licx file. We have noticed that anytime you edit a GUI that has one of these 3rd party components, the IDE requires us to check out the licenses.licx file. The problem is that there is one licenses.licx file per project. If I want to edit GUI-A, I have to check GUI-A and the licenses.licx file out. If another develper wants to work on GUI-B in ...Show All
Windows Search Technologies WDS from a .NET Service or ASP.NET page?
Has anybody yet managed to directly call WDS from within an asp.net page or get it running in a .net service rather than executable I always get the dreaded QueryInterface for interface Microsoft.Windows.DesktopSearch.Query.ISearchDesktop failed. Error. I'm trying to build a service that will query many desktop search engines at once and combine the results and provide them to other front-end applications via a remoting service or soap service b ...Show All
Visual Basic stop watch using vb.net 2005
how can i create a stop watch using vb.net 2005 i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it Thanks I tried your code and it worked fine. Of course I don't know how you declare stopWatch, tmrMain and what CreateReport does; so I just created standard components and commented out CreateReport. It is strange that you did not hit a break point in tmrMain_Tick. Did y ...Show All
Visual C# FileInfo.LastWriteTime issue: some of them is one hour late
Hi all: When I record a folder of files' LastModified time into database using FileInfo.LastWriteTime.I found some of the time is just one hour late than the files' LastModified Time.Does anybody can tell me the reason.Thanks 182960.jpg E:\print\masterprint\jpg 3141542 2004-04-14 01:35:36.000 184682.jpg E:\print\masterprint\jpg 4525606 2004-04-06 23:51:34.000 The second file' lastmodifiedtime is 4/6/2004 10:51pm ...Show All
SQL Server Report Project and Report Designer
When we want to create reports for report server, we create a report project in Visual Studio. However, is it possible to add a report project as a sub-project or a nested project in a Visual Studio solution Does it matter Thanks! Yes, it's an end-user designer. I've seen report builder but that can only be used with data source models, and we're writing our own data extension. Basically we'll have to create a basic RDL file ...Show All
Visual Studio Team System Code coverage broken
I have a solution with a number of projects, some of them unit test projects. I've been running tests without problem, and using code coverage on the tests. Suddenly, code coverage no longer works. Editing the local testrunconfig file, the appropriate assemblies are checked for instrumentation, but after a test run completes, the code coverage window always says "code coverage is not enabled for this test run". Ideas Immediately pri ...Show All
.NET Development Can't call dataadaper.Update method after the dataset.AcceptChanges has been called!!!
I've employeeDataAdapter and nwindDataSet. Bind the grid to nwindDataSet.Employee table. And I add one new row and call nwindDataSet.Employee.AcceptChanges() method. After that I called employeeDataAdapter.Update(nwindDataSet); then I close the application. But the data are not saved in the database although I called Update() method. If I only called Update() method, then the changes are saved in the database. Am I missing some ...Show All
Windows Forms Winforms Datagrid Column Header Alignment
I need to align the Column Header Text to Center (fixed). And the Data content in the datagrid to be left or Center(Fixed Length data) and Right(Amount fields). I am using GridColumnStyle to achieve the Alignment for data content in datagrid. (For  ...Show All
