TStude's Q&A profile
Visual Studio Team System TFS API Help [Urgent]
Hi! I would like to create a team project, work item, resource allocation, etc. from my application using TFS API. But i do not know where to start I found Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Proxy.Portal provides APIs for all the above functionalities. But it is very difficult to me to understand the usages of these APIs. Please do the needful asap. Regards, Sheik Buck has a great example that shows some simple version control operations (create a workspace, pend a change, check in the change and hook up some event listeners). It' ...Show All
Software Development for Windows Vista Custom Control
What's the best way to create a custom control purely by code force (C#) and no XAML I've seen ColorPicker control example, but I'd rather consider it as an axample of usage of XAML. I inherit my control from Control, put all required tags into the host page, but nothing happens. At the same time I can see some graphic output for the control, inherited from Canvas. Could anyone point me the right way tia Dmitry, Your best bet is to re-post this question to the Windows Presentation Framework forum . There you will not only get a faster, more accurate reply, but the answer will also go out to the commu ...Show All
Visual Studio Express Editions New to C
Hello. I was interested in programming in C and of course I bought a book. However the book is a little outdated, so they describe how to use the tools such as the compiler, etc. They teach you how to compile and link everything with Borland and Microsoft Visual C++. This book is C For Dummies, printed in '96. I downloaded Visual C++ and it has WAY more features than the one in the book has. I'm lost. Starting out he teaches you to do the usual "Hello world!" script, I started a new project, created a C file, typed in the code, saved it and... How do I compile I tried the Visual Studio command prompt, placed the C file where they told me ...Show All
Windows Forms how to populate the treeview from an sql database ??
Hi. I made an sql database and on form1 i have treeview1. The database has 1 table with 3 columns ID ParentID FolderName. Hot to populate the treeview1 on form1_load with nodes from foldername columns Any help will be apreciated. Thx try this, http://www.codeproject.com/cs/miscctrl/dbTree.asp ...Show All
Visual C# How uses the recursion arithmetic to find the maximum value and the minimum value from an array ?
How uses the recursion arithmetic to find the maximum value and the minimum value from an array Method that finds maximum value in int array: static int maximum(int[] arr, int length) { int tmp; if (length == 1) return arr[length]; tmp = maximum(arr, length - 1); if (arr[length] > tmp) return arr[length]; return tmp; } Method that finds minimum value in int array: static int minimum(int[] arr, int length) { int tmp; if (length == 1) return arr[length]; tmp = minimum(arr, length - 1); if (arr[length] < tmp) return arr[l ...Show All
Windows Forms Client Area
Why is it that with Windows.Forms controls, we only have access to the Size of the Client Area but not the Top, Left offset I've been trying to subclass a TextBox and add a Button on the Left and Right side of the text, but there it does not work for the left button which is ALWAYS rendered over the displayed text of the TextBox. ...Show All
SQL Server Periodic backup issues..
Just recently I've started getting errors 7694 which states that the backup command was not able to pause the fulltext catalog. How can I address this problem I'm looking into trying to pause the ft service manually during the backup routines, but it seems like I shouldn't have to go to that extreme... Nothings changed, thank you again for the help. I have to bounce the server this evening and then I'll test the backup process. The account was not explicitly listed in the ACL, however the local\Administrators group is listed and the account in question is a local admin. I'll update once I get it b ...Show All
SQL Server connecting to local server failing
Hi, I am trying to connect to my local db server using the machine name. This at one point worked but not it is failing with windows auth. How can i change the SA password as I cannot remember this and it might get me logged in Thanks Jordna Also, normally there is a service for SQL server under Services and I do not see this anymore for 2005. Can somebody point to where this would be Thanks ...Show All
Visual Studio Can we add a footer to a Matrix
I want to sum up all rows of a column in Matrix. Can we add a footer to Matrix to show the sum up information For this, what I did is, I made an exact copy of that particular matrix. placed below to the original one and replaced data section with sum function and row header with simple text. Set visibility to Hidden for all unwanted Coulmn Headings. ...Show All
.NET Development Combobox - ChangeValue status (Possible or NOT)
Hi, was wondering if someone can help me. I'm building a windows-based app. Is it possible to check if the value of a combobox has changed or not Like, I want to update values, but before the actual update, it must first check to see if the combobox's values has changed or not. Self speaking, if the value hasn't changed, it must by value (X), if the value has changed, it must be value (Y) Please. Thanks SJB You can set a boolean flag on the SelectionChangedEvent of the Combox. And when you start your update procedure, you first check the flag. ...Show All
Visual Basic Problem with .Net 2 Framework install
I have a application in development, that runs fine (as far as its completed) on my test machines ( 2 x winxp pro workstations, 1 x 2k3 server) I deployed it to a clients machine (XP Pro SP2) to test some site specific code and it pops an error message. I had a look at my code and the lines generating the error are as follows: (logger.programlog is a custom class for writing log files. it works fine for all other logging instances and on my test machines) Try Logger.ProgramLog( " - Operating System Detected: " & My .Computer.Info.OSFullName & " Version: " & My .Computer.Info.OSVersion) Lo ...Show All
.NET Development Type Fidelity and Web Services
The company I'm a part of recently released a new verison of our distributed information processing system and while designing the thing I was presented with a few challenges that I'm now able to look back on and wonder if I did the right thing. The biggest design issue I had was wether or not it needed to be based on .NET Remoting or take the web servies approach. While I definitely would have liked taking the web services approach in partnership with WSE 2.0, because this system absolutely need a high level of type fidelity and was under the gun in terms of time, I decided to go the .NET remoting route and have a singleton remotable objec ...Show All
SQL Server transfer a sheet from excel in to sql table
I would like to transfer all the cells of an excel sheet to a temp table in such a way that there is no data loss and no rows of columns of data are made to Null or omitted. take a example. Tanks ...Show All
.NET Development Using TransactionScope to share transactions between Methods
Hi, Before we start: This is all taking place on a single database. And I really don't want the overhead of Distributed Transactions. If I want to have lots of separate data access routines that do work on the database. Sometimes I want these routines to take part in a larger transaction. Sometimes they will just be running in their own transaction. I looked at TransactionScope and I thought this would do the trick. I now realise I would need to pass an open connection object in to each routine. TransactionScope takes care of sharing my transaction but it doesn't help me with sharing connections. Becuase... If I have 2 connection ...Show All
.NET Development How to write back changed datarow automatically to the database ?
I display a SQL Server database table in a datagridview. Whenever a row in the grid gets changed, it should be updated automatically in the database table. I tried to do this in several events, so far with no luck: 1) DataGridView (this would be the natural choice) Has no usefull event 2) BindingSource_CurrentItemChanged I tried it like this: private void userTableBindingSource_CurrentItemChanged( object sender, EventArgs e) { DataRow ThisDataRow = (( DataRowView )(( BindingSource )sender).Current).Row; if (ThisDataRow.RowState== DataRowState .Modified) { userTableTableAdapter.Update(ThisDataRow); ...Show All
