Ganeshkumar S's Q&A profile
Visual Studio Team System Data Generation of Foreign keys -- failing (CTP 7)
I am trying to use the data generation plans to generate some test data. however, it seems that foreign keys columns are a problem. I keep getting an error Error 420 The data type of column <my column> is Int. The selected data generator 'Foreign Key' with the selected output 'Output' does not generate data that can be converted to this type. Select a different data generator. can anyone shed some light on a work around I have fixed the problem in my case. The columns were both of type int but the primary key that I was referencing was "IDENTITY(1,1)", I'm not sure what this syntax means but when I changed it to just "IDENTITY" the data generation worked without any error. ...Show All
Visual Studio Team System Setting default WorkItem field values during creation of New Team Project
Hi, I've created a creation wizard that will gather information from the user when they create a new team project. I'd like to be able to set some fields of work items when they are created to the values that were entered in the wizard during project creationg. For example, during the wizard a user will enter the project category along with name. Each bug entered will also have the project category saved in a field that is also a dimension. I don't want the user to have to enter the project category when entering bugs. Is there any way to get the information from the wizard back into the Team Project XML Or some way to change the Process template tasks lists during project creation to have the custom field default to a certain va ...Show All
Visual Basic Crystal Report help!!!! PLEASE
Okay, I am currently making a mailing letter in Crystal Report that will be auto filled by my database. Here is what I am running into. I have set my database up to collect and store the indivuals first name and last name in seperate fields. What I am trying to do is make it to where I don't have alot of spaces whenever I between my FirstName and LastName in the crystal report. For example: (This is what I want it to look like) Joe Dirt 12345 Summit Drive Test, GA 789456 Dear Joe Dirt, (This is what I DON'T want it to look like) Joe Dirt 12345 Summit Drive Test , GA 789456 Dear Joe Dirt, ** My fields in in Crystal Report have to be so big because I want every name to fit inside them. Is th ...Show All
Visual Basic User Defined Type not defined
hi, I'm having 10 projects in a group. 9 of them are dlls/ocx, when i execute the projects individually they run fine..But when i execute them in the group the message is popped up. "User defined type not defined". Any help appreciated. I also tried to set the compartibility to "No Compartibility", but individually they work fine and do not show where the mismatch is. I cannot set the "No Compartibility" to all the projects in the Group, obivously they'll fail. Request your help. Thanks & Regards, Amit Hi, What i guess from your description is that you are compiling DLLs and then using them in the same solution in another project. To do so, you need to add reference to the projec ...Show All
Visual Studio Team System New Team Foundation Server MSSCCI Provider Available Now!
I am happy to report we have released an updated TFS MSSCCI provider here . We have been able to address a number of requests (keep them coming) in this release including the following: PowerBuilder support Enterprise Architect support Improved Open from SCC experience Work items can now be modified in the checkinwindow Get latest on checkout support Check-in lock is treated as exclusive Setup works on x64 This is an unsupported "powertoy" like tool. There have been some discussions about the possibility of supporting it, but nothing yet. Keep reporting issues and comments to the forum or by e-mail . Great news, it's now supported! http://blogs.msdn.com/bharry/archive/2006/09/07/74499 ...Show All
Visual C# C# Book Recommendations
This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! The C# Programming Language by Hejilsberg and co. It's in the tradition of K&R - the standard reference on the language. Good enough of a tutorial for experienced progra ...Show All
.NET Development Bug in Stack<>(IEnumerable<T> collection) constructor
Consider the following code: Stack<int> stack = new Stack<int>(); stack.Push( 1 ); stack.Push( 2 ); Stack<int> copy = new Stack<int>( stack ); int a = copy.Pop(); int b = copy.Pop(); The result is a == 1 and b == 2, which is incorrect IMHO. The constructor creates a reverse copy of the stack, this might be correct behaviour when creating a copy from for example a List<>, but in this case I asumed it would make a copy of my stack. (compiled&run in VS2005). No, it is not a bug. Documentation for this constructor: "The elements are copied onto the Stack in the same order they are read by the IEnumerator of the ICollection ." The Stack constructor ...Show All
Visual Studio Team System Field-name used in error message
When the Label of a field in the FORM section is different from the name of the field and a rule is not fullfilled at commit-time, the error shows the name of the field and not the name of the label. However the user can not find a field with that name because on the forms only the Label-name is showed. E.g.: if the "Found In" field required and the label for the field on the form has been set to "Build Version" then the error shown when the field is not set becomes: "TF20012: Field "Found In" cannot be empty". There is no field with a such a name on the form. True but that only works in a limited number of cases where the name would be ok. In his example he need ...Show All
Visual Basic surpressing the "Printing page 1 of Document" message
I am using vb.net. and sql server 2005 reporting services. But the report in question uses the local report functionality. I am writing a credit card processor that prints a slip at the end of the transaction. There is an annoying message form that pops up on the screen stating that it is "Printing Page 1 of Document" . It seems to be beyond my reach. Its position is the typical windows auto positioning (ala cascade). I dont want the user to see it. How do i surpress this printing message Is it embedded in the printer driver or spooler services Is it surpressable from the reporting services local report configuration Thanx What about when using the Printer Compatibility Library ...Show All
Visual C# Oledb, number of rows... how?
Hi ! I did this command in oledb: "SELECT * FROM `test_table`;" How can i see the number of rows Thanks Hi, Visit http://www.thescripts.com/forum/thread294042.html this will solve your question ...Show All
.NET Development Client Authentication using X 509 certificates
I am a WSE newbie and am trying to authenticate a client application (written in .NET) to a web service (written in .NET) using WSE 3.0. All I care about is authenticating the client and do not care about encryption or mutual authentication. When I am using the WSE 3.0 wizard to generate the client side policy file, it forces me to enter the name of a server certificate (which does not seem right) along with the client cert (which is right). My understanding is that the server cert (only the public key is needed on the client) is needed to authenticate the server, as in a mutual authentication scenario. Now if my use-case is only to authenticate the client, and not care to authenticate the server, how do I do that in WSE 3.0. If ...Show All
Visual Studio Team System Error when trying to build
Hi, I'm trying to run a Team Build on my local machine, connecting to our lab TFS server. This has been working before. Now I'm getting a TF42056 error (Requested registry access is not allowed). Any suggestions on why and what to do would be greatly appreciated. Regards, Christian Thank you for the answer. RegMon did the trick. Seems like I all the sudden didn't have permissions to parts of my registry even if I'm in the administrators group. Gave my self full control and then all was working. Regards, Christian ...Show All
Visual Basic Add input from textbox?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim TextBox1 As String = "TextBox1.Text" Dim TextBox2 As String = "TextBox2.Text" If Button1.CanSelect Then TextBox3.Text = TextBox3.Text & TextBox1 & vbCrLf TextBox3.Text = TextBox3.Text & TextBox2 & vbCrLf End If End Sub What is supposed to go into the RED parts to take the info(text) from the text boxs and add it to the TextBox3 Wow Thanks A LOT man it worked. I love this forum its about the only one that i get HELPFUL respones, Not ones with there own codes that either take forever to make it work with my own app or arent what I need. Thanks Guys for helping ...Show All
Windows Forms multi column dropdownlist/combolist in VB 2005
HI all, Anybody implemented a auto complete multi column dropdownlist/combolist in VB 2005 i m having a hard time finding some source code example in VB 2005 Alex Is this what you want http://www.codeproject.com/vb/net/multicolumncombo.asp ...Show All
SQL Server Merge Join vs. Lookup vs. Custom Script - which is fastest?
Very often we have 50'000+ rows which you need to pull values from different source (e.g. CityNames from citycode in Excel file). Currently we are using Lookup - but the questions is which of those 3 options is best in performance wise TheViewMaster wrote: Thanks guys for your answers - I will try it out performance testing this weekend on my free time. So far it has seemed to me merge join is slower than lookup, however, lookup seems to take much longer than i like it to - so i was wondering if creating a script transform would be better solution... Just wanted to get an idea - based on you experience which option do you use OK. Well I am loath to give my opinions on performance comparisons but I'd lay alot of money to ...Show All
