prayami's Q&A profile
Visual Studio Team System Error 32000 when upgrading Team Foundation Server from beta to RC version
I am in the process of upgrading my Team Foundation Server from Beta to RC version. I faced a couple of issues such as: 1.TFSUpgradeAT.exe failed : this was resolved by manually renaming the databeses etc. 2. Windows Sharepoint Services is not using the required the Team Foundation Server configuration database (STS_Config_TFS) : this error was resolved by reinstalling Windows Sharepoint services as directed by the error message. 3. Error 32000: The commandline “C:\Program files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadmin.exe” –o setconfigdb –database server “<TFSName>” –databasename “STS_Config_TFS” returned a non zero value: -1 I tried all possible solutions that were mentioned in the ...Show All
.NET Development Data Refresh
I have two form , one (summary) is a datagrid filled, one (detail ) is a detail, when I click the current record in summary, will go to form detail , I may update information here when I close the detail and back to the summary. I need to Fill again to get the latest data, but the row position is not my original current , is there any suggestion a caouple fo suggestions: either use the same bindingsource navigator for both the summary and detail information OR after you fill with the latest data manually set the record pointer to its last position ...Show All
Windows Forms Making big toolstrip
Hi, I'm back. And I've got another question; How can you make a toolstrip larger than normal Like 50 pixels high. I need to have larger buttons, because they will be the most important butttons of the applictation, plus they need to look good. I have tried making a progress bar big, which makes the tooolstrip big, but not the size of the buttons. Could someone please help me Thanks in advance, Buddy_15 Create some Image Say 40,40 and Put it on the ToolStrip Button you address not See properties of that button and Set ImageScaling property to None , It'll Automatically Size ToolStrip according to the size of that Bitmap! Best Regards , ...Show All
Visual Studio Express Editions Can i exclude certain files from being scanned for xml document generation?
My problem is this: When designing a class, i create the .h header file like so: // foo.h ///<summary> /// This is foo ///</summary> class Foo { public: ///<summary> /// Default constructor ///</summary> Foo(); }; Then when i create the .cpp file i copy the comments into that also so i can read what the function does (at a later date) from any of the 2 files like: // foo.cpp ///<summary> /// Default constructor ///</summary> Foo::Foo() { //do something }; Now when the .xml documentation is generated, for each member it lists the summary twice ie: < xml version="1.0" > < doc > < assembly > "F00" </ assembly > < members > < mem ...Show All
Windows Forms [vc++ express] ListBox with multicolumns
hi i am using a listBox and i got a difficulty to use columns cause when i made the proprety multicolumn to true the ListBox narrowed and can't be resized. can you help me to add some column to the ListBox I'm not sure of what's your concern. Do you want a "list box" like windows file explorer of a detailed view Actually, it is a LIST VIEW control. If it is exactly what you want, you can add a list view in VS2005 by drag and drop a list view from tool box to the form you want to place it. And then you change the View properity as Detailed and add some columns by edit the Column properity of the list view. Thus, you will see you have a multi column list view ...Show All
SQL Server The problems puzzled me a lot
HI, i'm new to SSIS,i got some problems puzzled me a lot, when i drag a OLEDB destination in the data flow task, i select a table or view as the destination or write a sql like "select * from destination_table", my purpose is only to get the fields to map for, why SSIS retrive all data from the destination table,the consequence of that is the great consumption of RAM,if the number of records of the target table exceed 1.000.000,SSIS always terminated with a 'out of memory' info,my laptop has 2GB ram,i have already solve the problem by writing the sql like "select * from destination_table where 1=0" in oledb destination,but i still want to know the cause why SSIS doing that And the other problem i encountered is the ...Show All
Visual Studio 2008 (Pre-release) WPF Validation
Paul Stovell has post a good article Validation in Windows Presentation Foundation about Validation in WPF. But, when I test the demo, I find a limitation to validate data in that way. Suppose I have 10 TextBoxes and many other UIElements on a WPF form. For the first time, I binding these elements to null-value data object, so all the TextBoxes are empty. The simple validation is to make sure all the TextBoxes are not empty. Then I click on a Button "submit" directly. Since the TextBoxes are never focused, and the Text in them never be modified, UpdateSourceTrigger.LostFocus and UpdateSourceTrigger.PropertyChanged can not be used. But if I use Explicit, does that mean I should write tens of codes to vaidate the Bindin ...Show All
Community Chat Javascript to format C# in HTML pages?
The C# code formatter of Manoli is a pretty nice tool since it let you format your .Net code (several language supported into HTML with the proper colors). Yet, it would be even nicer, if this task could be done with a JavaScript (in order to get clean the HTML source). Does anyone an idea on the subject Thanks in advance, Joannes www.lokad.com , time series forecasting that would be one heck of a script. identifying parts of syntax without a database or XML lookup would be challenging, to say the least. ...Show All
Visual Studio Team System MS Project -- task versus duration
I am creating a new project and am attempting to assign 50% of two resources to a given task. The task duration is 8 hours. I would expect the work effort "work" to be 8 hours. But the system thinks that each resource must put in 67% of their time to create an 8 hour duration in an 8 hour day. Why is this Why will 50%X2 of an 8 hour day not calculate to an 8 hour duration. Help me out here. ...Show All
Visual Studio Team System Test List group of tests are not executing in the correct order
I have created 1 manual test called "GER-Setup W2KSP4" I have created 1 ordered test called "W2K SP4 TYPE B+ DD" I then created a test list which contains both this manual and ordered test. I want "GER-Setup W2KSP4" to run first...however when I run this test list it starts with the first test. Any ideas NOTE: that the manual test "GER-Setup W2KSP4" is listed first in my test list. Is there a way to set a priority to tests within a test list Thanks Newbie I must admit that I am a bit confused then about the purpose of the Test Lists. I have a Team Project to which I have created 2 solutions. I then created multiple projects for each solution...but let's just look at ...Show All
SQL Server Black server reports after installing SP2
After installing SQL Server 2005 SP2 all of our server reports are being rendered with a black background and white text, which needless to say is reversed of how they were being drawn before installing SP2. This only happens when the report viewer is displaying the report in “Print Layout” mode. Normal mode shows the report as expected. Has anyone else had this problem or suggest a solution Thanks in advance. Hello, This issue was indeed introduced in Yukon SP2. It only affects Report Designer preview, it doesn't matter what video card you have, the workaround is to specify background = white in the RDL, and we're working on a QFE. Regards. Mike ...Show All
Visual Studio Express Editions Populate ListView with data from text/csv file
Does anybody have a reference on this I have a code sample that reads a csv file. I want to populate a list view based on the data in a csv file. Here is the code to read the CSV Using MyReader As New Microsoft.VisualBasic.FileIO.TextFieldParser( "tm.CSV" ) MyReader.TextFieldType = FileIO.FieldType.Delimited MyReader.SetDelimiters( "," ) Dim currentRow As String () While Not MyReader.EndOfData Try currentRow = MyReader.ReadFields() Catch ex As Microsoft.VisualBasic.FileIO.MalformedLineException MsgBox( "Line " & ex.Message & "is not valid and will be skipped." ) End Try End While End Using ...Show All
SQL Server Line Break formatting
I have a report with a narrow column. The column contains a comma delimited number list. If the length of the string exceeds the width of the column then the line breaks. No problem with this, except that there are breaks between the numbers. Example: 123,124,125,126 can be formatted as 123,12 4, 125,1 26 I'd like to force a break at a position within the string if its on the comma. Any thoughts on doing this in the Expressions window TIA By assuming that all your number list of three digits than we can adjust the column width such that it fixes the numbers. if numbers are not fixed length digits than i wont think we can do . ...Show All
Visual Studio 2008 (Pre-release) NAT and WCF issues
Hi, I have a WCF service sitting behind a firewall. The IP of the machine is not exposed externally so the firewall does a network address translation. When an external client web browses to the service using the external IP the initial Service page is displayed correctly. Unfortunatly the link to the WSDL describing the service contains the internal name of the machine not the external one so the link wont work. Is there any way to control the value of this link in WCF. Thanks, Brian If the service is IIS hosted, see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1095396&SiteID=1 and see if that helps. If self-hosted, you can just pass in the external name as the base address when you new u ...Show All
Software Development for Windows Vista DirectX and DirectShow in the same VC++ windows application
Ok, i am not sure if this is where i am supposed to post this as its not particularly gaming, more a technical issue. I am writing an application to demonstrate stereo vision, i have two webcams that capture from a live stream, to keep the explanation simple - these captures are processed, an object that has been detected is converted into a point list and loaded into a vertex buffer and shown on the Direct3D device. Problem number 1: Due to the amount of processing that is needed i only want to use a reference device thereby reducing the lag in the live video stream (i have a dialog to allow the choice of this) however when choosing the reference device i am told that nothing was rendered as i do not have the full reference devic ...Show All
