naila's Q&A profile
Visual Studio Team System Can the test cases in the test project be merged into one document?
Hi, I have a test project with test cases in VSTS. Is there any way or work around to put them together and have one document to contain all of the test cases I want Thanks, Leon 1.You can add a Query to selcet all test cases what you want put them into one doncument from your Team Project. 2.Then select all and click "View -> Open Selection in Microsoft Excel". After step 2 you will get an excel file and you can save it. ...Show All
SQL Server Keep all servers registered and connected
I have 5 servers in my Server Mgmt Studio divided into 4 groups, Local Production Test Development In Sql 2000 Enterprise Manager would put the little green arrow next to your db if it was connected, I noticed that Sql 2005 does do that but it wont allow me to keep all 5 servers connected and I need them all to stay connected. If I look under Registered Servers it shows all 5 servers there but again only 2 show as connected even if I connect the other ones they dont stay connected. I have deleted the registerd ones and re added them and still no difference. How can I keep all servers registered and conne ...Show All
Visual Studio Team System Error 32000 during Team Server install
I installed the prerequisites: Sharepoint services, SQL Server 2005 CTP April on a new install of Windows 2003 Server Standard SP1. Around 99% through the install I got a 32000 error. I am using the Virtual CD tool to access the ISO image downloaded from MSDN. The image is set as drive z I am logged in a TFSSetup user who is an administrator on the current box I assigned TFSService user as the service user (Both users are domain accounts and administrators on the current box, but NOT on the domain) Steps to replicate Install Windows 2003 Standard Server Setup ASP.NET on the current server Install Windows 2003 SP1 (off web ...Show All
SQL Server Online Data Transform
Dear All, I am new to SSIS, and just watched some of the webcasts and take a look at SSIS Hands on Lab on the MSDN site. I want to handle an online data transformation scenario which has some data mappings between. I want the SSIS to add each new record in source table, insert in the destination tables online. If this is possible, please let me know where can I find a sample package and configurations. Happy new year, Sassan Sassan, just to add a little thing... I just wrote something about the updates on the whislist maintained by Kirk in this forum... So I thought about how to implement tha ...Show All
.NET Development Jscript runns out of order
Below is code that is executed when a page loads to 'refresh' a tree menu <script type="text/javascript"> function syncNode(id) { //debugger; parent.frames("menu").Location.Reload(true); parent.frames("menu").TreeView1.CollapseAll(); parent.frames("menu").TreeView1.SelectNodeById(id); parent.frames("menu").TreeView1.Render(); return true; } </script> However, it seems the lines the deal with the object "TreeView1" are executed before the reload statement. ie, it does the highlighting first and then does the frame reload I need this to occur in the oder of: reload sync (ie collapse tree, select node ...Show All
Visual Studio Crystal Reports Deleloper > Into > VS 2005 Standard Ed.
Hi, I was going to ask this in the " Visual Studio 2005 Standard vs Professional " post, but it is locked. Has anyone tryed to intergrate Crystal Reports into the Standard Edition. Instead of upgrading the the Pro Edition. Just wondering I might try it myself, and maybe answer my own question. Thanks for any help Steve I did ask this question at a Microsoft demo of VS2005 and I was told that you will need VS2005 Pro. If you do not own Crystal Reports XI you will have to purchase it or use the version that comes with VS2005 Pro which is X. Just to install release 2 requires that you have a valid key for XI. Here is the link ...Show All
Visual C# Unique item in List<>
Hi, I need to find all unique items in a collection, please see code below //==Code copied from Using Predicate example from a post by the compilator class Person { string name; int age; } List<Person> list = new List<Person>(); list.Add( new Person("Chris", "30")); list.Add( new Person("Jimmy", "25")); Person chris = list.Find("Chris"); What i would like to do is find all the people with a unique age. How can i do this.. Do i need to do a binary search or use ItemComparer. What i would ike to do is minimise the time spent iterating through the collection as ...Show All
Visual Studio export each page on different pdf file
Hi! I have a dataset containing two related tables. The parent table contains many rows. Each of them normally creates a page in my report. Is it possible to export each of these pages into separate pdf files The most simple thing to do would be to loop through each row, copy it to a new dataset, copy also the child rows and then perform the export to the new dataset. Can you think of a more elegant way to do that Thanks Dimitris Thanks Mark, I think this will do the job for me. I was wondering though: When does the actual rendering of the report takes place I hope that if I execute the Export method several t ...Show All
Visual Studio Express Editions Problems installing Visual C++: install hangs & 100% cpu
I meet or exceed the system requirements: WinXP SP2 Over 3GHz Processor Pentium 4 w/HT (not sure if you need to know this or not) 1GB RAM 50GB available hard drive space I already had the .NET framework installed, so I uninstalled it as directed, and rebooted my computer. I then tried to run the install. It tells me that it's loading up and gets to the " This may take a moment or two" message. The load bar gets to about 3/4 of the way across, then stops. The processor usages shoots to 100%. Trying to kill the process closes the little install window with that last message, but the program continutes to run. After several tries I give up an ...Show All
.NET Development How to compare 2 xml files?
Hi, How can I compare 2 xml files using c#.net Thanks in Advance, Hitesh What differences do you want to detect If you just want to tell if they are different you can use File.ReadAllText() to load the files into two String variables then use String.Compare() to see if they are the same (String.Compare() returns 0 if they are the same). ...Show All
Visual C# Unloading an Assembly
Hello, I read in one of the Blogs that an Assembly cannot be unloaded. It has to be loaded into a AppDomain and then unloaded. I have tried that. Take a look at the following code. AppDomain newDomain = AppDomain.CreateDomain("NewDomain"); Assembly myAssembly = newDomain.Load(AssemblyName.GetAssemblyName(assemblyPath); After doing Reflection on myAssembly, I used AppDomain.Unload(newDomain); There are a some other statements in the CurrentDomain. While executing, Iam getting the following exception: 'System.Runtime.Seri ...Show All
Visual Studio 2008 (Pre-release) Pressing arrow keys doesnt trigger the KeyDown event in a text box
Hi, I have a custom text box and I want to implement custom navigation for it. When the user presses arrow keys (Left, Right, Up, Down) or Tab key or Enter key, I want to capture the key down event and select another control in the window. But pressing arrow keys does'nt trigger the KeyDown event when the cursor is inside the textbox. How can I achieve that Thanks Gokul. ...Show All
Visual Studio Team System In Web Tests, How to Validate the values on a grid ?
I want to validate the values that are shown on a grid , based on the values that are selected on a Combo.(Herein internally, the grid gets filled, when the combo box value is changed.) I would also like to know the selected row from the grid, so as to try it... or else Manual testing has always been there at our help You can do this with a validation rule. If the value in the combo is displayed on the same page as the grid, then you could do it with one valistion rule. If the value of the combo is on the previous page, then you would need to use an extraction rule to pull out t ...Show All
Software Development for Windows Vista Cleaner designer-generated code
I have some usability suggestions for the designer-generated code: Drop the "Attribute" text from attributes when they are applied. I know this is minor, but the attributes can run nearly off the screen. Please add a facility in the designer for adding the DefaultValueAttribute. When calling base.GetValue(...) in property accessors, don't use the fully-qualified namespace to the static DependencyProperty. Group all static DependencyProperty defenitions at the top or of the class. Sort attributes alphabetically when you apply them. I know this one is nit-picking, but it's easier to read when searching through a long list of attributes. ...Show All
SQL Server getting more information while using audit trace files .trc files
Hello All, I am trying to create a trace for user error messages using audit user error messages event class.I could create .trc file. But , unfortunately I am unable to get sql query which caused the error . I cannot use profiler to create and see the trace files as it is against our requirement. This is how I created the trace file 1) DECLARE @TraceIdOut int Exec sp_trace_create @traceid= @TraceIdOut OUTPUT ,@options = 2 ,@tracefile =N'c:\Parseerrors' PRINT @TraceIdOut 2) Set the trace event to monitor Parse error messages Exec sp_trace_setevent @traceid = 2,@eventid = 162,@columnid =1, @on = @On 3) Set the trace event status to s ...Show All
