HennieE's Q&A profile
Visual Studio Team System How can I customize workitem window
Hi I need to customize the window for adding workitems like bug. I have to add some fields there but for querying the fields I have to add some reference name in currituck/typedefinitions/bug.xml. How can I add a new reference name. e.g. for title we have ref name system.title likewise I need any ref name for my custom field so how can I add the name regards, You can start by exporting an existing work item ty ...Show All
Windows Forms bind to indexer
Hi, It's possible to bind to a indexer (ex: a["name"]) in VS 2005 beta2 (specially for datagridview) OK - you may be looking for something like the sample below - it takes virtual properties from a "model" and presents them to the DataGridView as "real" properties. It involves implementing ICustomTypeDescriptor - and although a bit complex this is extremely powerful (and how ADO.NET do ...Show All
SQL Server VS 2005 + sdf + foreign key
Hi How do you add foreign keys in VS 2005 to a sdf file I'm using the server explorer, where I can add primary keys but no foreign keys. What's the best free tool for editing sdf files I can't use publication, because I'm using SQL Express. Primework's DataPort Component/Wizard don't seem to work for me. Thanks! Rudi You can't add a foreign key to a SQL Mobile database from within VS2005 ...Show All
Visual C++ System.InvalidOperationException in System.Windows.Forms.dll
Hi!!! I posted some days ago with a problem: I had this: I had a large C++ unmanaged application which I compiled and ran perfectly using Visual Studio 2003. Now, I want to compile and run it using Visual Studio 2005. When I compiled it in release mode everything worked fine, but I got about a thousand comiler errors when trying to compile it in debug mode. All of these compiler errors appear in files that belong to Visual Studio 2005 such ...Show All
Visual Studio Team System MS Project Mapping Problem
I'm getting an error if I try to add a custom field to the MS Project mapping. The mapping loads up just fine with TFSFieldMapping.exe, but when I try to choose a Team Project from within MS Project Professional, I get a TF82025 error saying the field name in the mapping is not supported and must be renamed. This is the entry in the FieldMapping.xml field that seems to offend. < Mapping WorkItemTrackingFieldReferenceName = " MyCo ...Show All
Visual Studio Express Editions Error Message
Hello, Whenever I try to build an application and compile and run it, I always get the same error message. "The application failed to initialize correctly. (0xc0000005)" This also occurs on other Visual Studio 2005 Express Editions. I re-installed windows and that did not fix the problem. Does anyone have any ideas that could help Thank you. Hi! This thing happens even on new Windows A ...Show All
Visual C# What benefits do XML documentation comments offer?
I am developing a couple of small apps for a client, and I am considering ways to document the code. If I use XML comments, I understand that a 3rd party utility is necessary to view the raw XML in a pleasing style. Unfortunately, I'm not using such a utility while developing these apps. It may be that I'm getting crotchety as I age (oh, I hope not), but I find raw XML comments harder to read than the well-formatted C++ comments to which I am ...Show All
Windows Forms Send text to another form
Or, get text from a textbox or label from parent form under conditions. Ok, declared this on parent form... public bool isFoward = false ; And, in the button click event.... isFoward = true ; compose newMsg = new compose(); newMsg.Show(); So, when I read isFoward from the parent form in the load event from compose form..... if (frmMail.isFoward) this .txtMessage.Text = "test"; But, isFow ...Show All
.NET Development Getting process running when user is not administrator
Hello, I have created a VB.NET application. I want only one instance of application to be running on one machine at a time. It worked with Process.getCurrentProcess and checking FilePrivatePart of Module\FileVersion\ For accessing the process class User on that machine needs to be an administrator. But my application is runned even though user is not administrator. Could any let me know how to solve this ...Show All
Visual C++ using ATL macro to change LPSTR to LPCWSTR
Hello, I'm making a 3D game and realized I would have to face many problems and maybe trying to "reinvent the wheel" on my own, if I wanted to implement SETTINGS -(for graphics mode) in my game. So I am going for DXUT framework or engine by Dx team or what it is called to simplify my life. But I am facing some problems, because it is using UNICODE and I need to change LPSTR to LPCWSTR so I use macro A2W(lpstr) and inc ...Show All
SQL Server SQL92 syntax - Why is SQL2005 different
This arose from trying to solve an item in Experts Exchange http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21627719.html See the item: SELECT X.* FROM ( SELECT A.*,B.Col1 B_Col1, B.Col2 B_Col2 FROM A,B WHERE A.col1 *= B.col1 ) X ---> Correct SELECT X.* FROM ( SELECT A.*,B.Col1 B_Col1, B.Col2 B_Col2 FROM A,B WHERE A.col1 *= B.col1 ) X WHERE X.B_col1 IS NULL ---> Broken (Returns 2 rows) ... My question(s) are: Why are the ...Show All
Windows Forms resizing constituent controls within an instance of a userCtrl
hiya I have a userCtrl that contains: 1) a label 2) a combobox I want to be able to resize the label, making it a different size on different forms. So, I: 1) drag an instance of the userCtrl onto my form 2) make the userCtrl modif ...Show All
SQL Server problems with report
Hello, I have a report in Matrix form. Now i need a report in a way that when i click on any item in my column ,another report should be generated with all the data related to it. For example below is a matrix report A B C X x1 x2 x3 Y y1 y2 y3 Z z1 z2 z3 Now when i click on 'X' i need a report with data x1 ...Show All
Visual Basic problem with visual studio 2005 and thread
hi all i have this project http://www.occasioneimmobileroma.it/THREAD.zip with visual studio 2005 i want modify the scrollbar with 2 sub, and 2 thread, how i can modify this project , for modify the scrollbar from 2 sub , and with the same thread and how i can determine when the first thread has finisced for start a second thread thanks ...Show All
.NET Development How to force kill created Threads
I have a Windows Form which is the main form for my application that creates many threads, and in normal operation i just let the thread to exit automatically. But as I go on with it, when I close my main form, the generated threads that are still running does not abort... what I want is to force all this generated threads to be killed or aborted when my form is closed.... How can i do it Because my problem is the application process is still ru ...Show All
