nature0276's Q&A profile
Visual Studio Team System Changing a work item from one to another
I have a tester that has entered many bugs as issues. Is it possible to easily (key word) switch the issues to Bugs, or from any work item to another It would help me a lot. There's nothing built-in for this (since different work item types may not have anything in common), but from within the UI (while a bug is opened in the form), you can right-click and "Create copy of work item" to create a "Bug" version of each of the issues (then close the issues). Also, there are a couple tools out there to help "move" work items - in your case, it'll be the same team project and the work item type will be what's different. One example is: http://blogs.msdn.com/ericlee/archive ...Show All
Software Development for Windows Vista How do you host WWF 3.0 as a webservice (instead of using ASP.NET as a host)?
Tom/Vihang/All WWF Gurus, Can someone please provide an example of how to host WWF 3.0 workflows as a webservice, instead of using IIS (ASP.NET) to call and host XOML only workflows Tom has provided examples of ASP.NET hosting and calling XOML only workflows (using tracking and persistence). I need to do the same with a centralized web service. The labs provided with WWF 3.0 are very similar to WWF 2.0 labs. I cannot find any examples that offer samples on how to host workflow runtime services via a webservice that can be consumed by one or more websites (on one or more webservers). MS suggests using a centralized webservice to host workflow runtime services, instead of using IIS. Unfortunately I did not find any code examples (I ...Show All
Visual C# Windows Vista Bug? (Process.Start() with tif image)
Hi to all, i have a problem with Process under windows Vista. My product working fine under windows 2000 & XP. Is this a Windows Vista Bug Process.Start always return null. This is code: ProcessStartInfo Processo = new ProcessStartInfo(nomefile); Processo.WindowStyle = ProcessWindowStyle.Maximized; Processo.UseShellExecute = true; try { X = Process.Start(Processo); X.WaitForExit(); File.Delete(nomefile); } catch (Exception ex) { MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error); } in the exampe --> nomefile = @"c:\test.tif"; Tnx Luca Oook, this is true. If i have default association Tif files on windows vista to " ...Show All
Visual C++ Compiler related?
here're sample codes: int fun(int n) { if(++n==5) return n++; return n*fun(n++); } void main() { int i=1; int sum=fun(i); cout<<sum<<endl; } (first, I knew the codes above applied bad coding style. here pls ignore it, i wanna know some other behaviors of C++/compiler) I used VS2005 to compile and execute it, i got a sum = 300 as the reslult, while on TC and gcc the result was sum = 120 . i looked into the assembly and found the difference happened because of different implementation of the statement n*fun(n++) . my question is - Did i get the expected result Is the result/behavior truely compiler dependent and subsequently, i got 300 and 120 in VS2005, when i chan ...Show All
Visual Studio Controlling what is installed using Tools.InstallCommunityControls
I have been struggling with the VS toolbox now for quite some time whitout really finding any solution. This is what I want to do: Create two tabs in the toolbox Add selected controls to the tabs Exclude controls that are base classes. I know how to create tabs and got it working using the ToolboxTabs.Add api. But then I have found that adding individual managed controls using the ToolboxTab.Add(string, data, format) api has been deprecated in favour of the InstallCommunityControls command. With the InstallCommunityControls, I can not find any support for specifying what classes in an assembly should appear in the toolbox and on which tab. Is it possible to control this at all using this command Plan B is to have a ...Show All
Windows Live Developer Forums custom dashboard with bird's eye view
I have a custom dashboard that I would like to have a similiar tile navigation for bird's eye view. Is there a way to request the tiles for a location and how would i request the next tile ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Detect mouse click on a sprite
Anybody know how to detect a mouse click on a sprite I would guess you'd start off reading something like mouse.x and mouse.y and then iterating through all the coordinates of the sprite to see if the point clicked is in the sprites non-transparent pixels (slow) or.. Is there a way to hit test the sprites region Since this is specifly a game dev kit, I would assume there would be a method in the sprite class part of the engine to handle this like I would in vb.net for a polygon region(InRegion), and not have to iterate through each non-transparent pixel. Is that in the sprite class for hit testing If not, why ...that's a standard thing for a game(hit testing/collision detection). Guess thats for a MS XNA developer to answer ...Show All
Windows Forms first row in datagridview for filtering
Anyone ever play with inserting a row in a databound datagrid that can be used for filtering the dgv I would want this row to allow you to enter search criteria in any or all columns, and have the dgv be filtered. I could put textboxes above each column (outside the dgv) on my form, but I would also like to be able allow the user to resize columns, which means I would have to resize the texboxes also. I though maybe someone had an idea to put this type of filter inline. ...Show All
SQL Server Error during browsing the cube
Hi, I have migrated the anaysis service 2000 cubes to 2005. In the database i have two cubes say A and B and one virtual cube say C.While migrating the virtual cube C got migrated as a real cube with two linked measure groups for the cubes A and B. I have not processed the cube B.But i have processed the cube A.It succeded and i could browse it once .But when i tried browsing the virual cube C (which migrated as real cube with linked measure group) is not available for browsing .This is because i didnt process the cube B whose measure is also present in C. But the problem is when i tried to browse cube A which i could browse earlier is giving me error when i try to browse it again. The error which i found is somethinf like thi ...Show All
.NET Development C# and Access 2003 Database
Okay, not sure if this is the proper place to post this, but I have been searching all over and don’t know where else to post this, so here it goes. 1) I created a simple database in Access 2003 with 3 rows: - Last Name (text) - Age (number) - Sex (text) 2) I created a connection to the database in Visual Studio Pro 2005 with C# 3) I opened the “Data Sources” tab and dragged the 3 controls (last name, age, sex) over onto my windows form and all 3 showed up as text boxes. 4) Built and test ran my application (in “Debug” mode) and it worked wonderfully (stored data in the database and retrieved it). 5) PROBLEM – at that time I realized I had forgot to a ...Show All
Visual C++ XML
Hello folks, I am currently working on a program that scans values (temperature, fan speed) for boat engines. Now, I want the program to save the scanned values in a xml file, and i already have this to work. But, it should add new values to the same file once every minute, so i would want to append the existing xml file in some way.. How do i do this This is the code thus far for the xml output: std::ofstream xml( "xmlvalues.xml" ); xml << "<INSTALLATION>" << endl << "<INFO>" << endl << "<NAME>" << " </NAME>" << endl << "</INFO>" << endl << "<TECH ...Show All
Visual C# Exporting database on to the client machine
HI Is there any possibility of exporting an database on to the client machine. I have developed a product using C# and backend is sqlexpress 2005. I am packaging it using setup and deployment project of visual studio 2005. I don't know how to export database on to another machine using the setup. Hope i am clear with my problem. For connecting to mdf file using SQL express you need to set AttachDbFilename property of connection string to location where that file is stored. You need to determine that path using mdf location and also your app location. Before you create the setup you need to start using SQL express database file in order to test what connection string will be and then create the setup, and again test. If ...Show All
Game Technologies: DirectX, XNA, XACT, etc. multi-GPUs program
I'm interested in the programs using multi-GPUs. But this is not connected to SLI or CrossFire. I have two GeForce7950GT videocards, and I'm using these cards without SLI. Each videocard are connected to different one display. In this environment, GetAdapterCount function returns 2. Then, I use CreateDevice two times and executed same shader program in each device. As a result, 2nd device obtained lower performance than 1st device. Shader program is a simple filter program (but, executes loop calculation for enlarge computational effort), so CPU's loading is not high. So, I don't think CPU is bottleneck of this experiment. On the other hand, I created 2 devices and made 2nd device to execute shader program, the performance was lower than 1 ...Show All
Visual Studio Team System Changing dropdown list values
Hi I am having a bit problem with the ‘Priority’ dropdown list. Actually I want to edit the list into more meaningful priorities such as Stopper, Error, Shortfall, and Wish. Could some one please explain me the whole process in steps of changing the values in the dropdown list for the followings - Status dropdown list - Reason dropdown list - Triage dropdown list - Priority dropdown list I would be very grateful. Thanks in advance Thanks a lot Paul This is very useful. But does this mean that I have to repeat the process whenever I add new bugs Is there a way to make chang ...Show All
Silverlight (formerly WPF/E) WPF/E (TextBlock) is not rendering Unicode correctly
I have downloaded the WPF/E CTP & SDK, I played with them and have noticed that WPF/E does not fully support Unicode, as I use a TextBlock to test the display of Arabic text, WPF/E was rendering the text incorrectly as if it is rendering the text from left to right while it should render the text from right to left. This same behavior is true for Hebrew too which is also a right-to-left language. Hello Fayez, I tried also that and it did not work. I would expect full language support from MS soon hopefully. it is a must if they want it to pick up fully. I am interested in communicating with you to talk about common topics regarding WPF/E feel free to email me arabdad@hotmail.com ...Show All
