windsamurai's Q&A profile
Visual Studio Team System How to output text message from a test method (a function with [TestMethod] attribute) ?
Hi, I wanted to print some text messages from a unit test function. I tried using System::Console::WriteLine( ) which didn't work probably because the project was not a console application. I would like to know if there is any way to print to the output window Thank you, -me- I want to write text to the same stream that the Assert class uses. This is so my messages end up in the 'ErrorMessage' ...Show All
Windows Forms DebuggerStepThrough related question.
Hi all, I use the <DebuggerStepThrough()> attributed to stop the debugger from stepping through certain procedures in my widows forms application. But I have several projects in my solution and some of them are debugged already. How can I still keep a project in my solution but prevent the debugger from stepping through one or more entire projects In other words: step through project A, but skip project B. Thanks in advance, ...Show All
Visual Studio Team System Scenario in MSF FOR CMMI BetaPG-51125.00
I would like Know, if is a mistake don't found Work item = Scenario in this version of the MSF FOR CMMI. If really don't have scenario Work item in MSF FOR CMMI BetaPG-51125.00, how can i to represent in this process Thanks and Regard Hi, The scenario and quality of service requirement from MSF for Agile Software Development have been combined into a single requirement work item in MSF for CMMI Pro ...Show All
Windows Forms Clickonce not updating all clients
I have a fairly simple application that is being used by about 50 users which I deployed using ClickOnce. The internal users clicked on the "publish" page to install the application and are now starting it by clicking on the icon under Start, All Programs. I have been regularly publishing updates to this application using VS 2005. I wanted to "force" every update on the users (make them mandatory), so I have been incremeti ...Show All
Visual Studio Team System WebTest Validation Rules
I've created a webtest that is using a FindText Validation rule. The test consists of navigating across several pages, and on the last step, looking for a text value, which will not be present. When I run the test from Visual Studio, the results message is 1 test failed and I cannot determine which step failed. In the short amount of time I've been working with this, it looks like I may need to extend the validation rule class and include some l ...Show All
Visual C++ Can C++ develop web-based applications?
Hi, All New to C++ programming. and have put resource in C++ and VC books and time learning it. But now I was told that C++ can not develop web based apllications. Is this true or some extensions of C++ can go around this limit I need develop a web-based database, so the users can input company names, location, phone numbers. etc. and the users can have a full text search on this database. Do I have to learn C# and and SQL to do this ...Show All
Visual Studio Team System Build by Project instead of Solution
Within the Build Type, is it possible to specify the actual projects within a solution to build Currently there is a section in the build type that looks like: < SolutionToBuild Include = " $(SolutionRoot)\Some\Path\Solution1.sln " /> < SolutionToBuild Include = " $(SolutionRoot)\Another\Path\Solution2.sln " /> Instead of building an entire solution, can we specify which project in the solution to build. I see example ...Show All
Visual C# Insert tab character to the Text attribute of the Label
How can I insert a tab into the Text attribute of the Label of Winform For example AB: xin chao DEFGE: rat vui duoc gap ban So in order to display AB : xin chao DEFGE : rat vui duoc gap ban you must fill a tab character in. "AB: xin chao" will be the text attribute of the Label. Any help will be high appreciate. If you use \t it won't work but here is a tip ...Show All
Visual Studio 2008 (Pre-release) DataContracts and COM
I'm having problems trying to see the fields of a data class exposed through an Indigo service (attributed with [DataContract] etc.) from a VB6 client during the client's dev and wondered if anyone can help. The scenario is: I've got a service that I wish to expose to VB6 as a COM client. The service exposes a DataContract type which is used as a parameter to one of the service methods. I generated the client proxy from svcutil and compiled i ...Show All
Visual Studio Tools for Office How to download "Excel 9.0 Object Library"?
Hi, I created a small C# Windows app to read from an Excel file a couple of months back as an R&D for our new project in C#. In that I used Excel 9.0 Object Library. The problem is that now we and our customers have upgraded to Office 2003 and now the 9.0 is being replaced by Excel 11.0 Object Library. I just started the actual development and to my shock found out that my original R&D form won’ ...Show All
Windows Forms Webbrowser : specify new pDisp to NewWindow
I would like to finalize the implementation of NewWindow but I am struggling with sending back the reference to the new browser. With an axWebBrowser, It is pretty straight forward : private void Browsers_NewWindow3( Object sender , AxSHDocVw.DWebBrowserEvents2_NewWindow3Event e) { newbrowser = New AxSHDocVw.AxWebBrowser; e.ppDisp = newbrowser.Application; } I would like to add ...Show All
Visual Studio Express Editions drop down list
hi, i have two drop down list on a form (the only form) and i was wondering is it possible to change the contents of the 2nd drop down depending on what is chosen on the first one In the SelectedIndexChanged event for the first ComboBox add code similar to the following: If ComboBox1.SelectedItem = "Green" Then ComboBox2.SelectedItem = "Yellow" Else ComboBox2.SelectedItem = &q ...Show All
Software Development for Windows Vista Workflow Instances
How many Workflow instances that we can create for an application. we r doing Web Application and server will have wrokflow runtime. thousands of clients requests server. what will be the impact on the server if every client creates an Instance Hi Walter, If you want to get technical the limit of concurrent executing workflow instances is the number of CPU cores that you have in your machine. Anythi ...Show All
Visual Studio 2008 (Pre-release) xmlformatter and other related questions
hello guys. i've just started my study on the WCF platform. It looks like serialization is an important subject. After reading some docs, it looks like everyone is talking about the xmlformatter. i've tried finding this class on the help, but i didnt find anything with that name. the best thing i've found was the DataContractSerializer class. it looks like this is the class that is used when everyone is speaking about the xmlformatter, right ...Show All
Visual Studio Tools for Office Word and XML Schema with an required attribute
Hi I have such a schema attached to word < xs:element name = " content " nillable = " false " > < xs:complexType mixed = " false " > < xs:sequence > < xs:element name = " title " type = " xs:string " /> < xs:element name = " description " type = " xs:string " /> </ xs:sequence > < xs:attribute na ...Show All
