KristerS's Q&A profile
Visual Studio Team System Field name issue after B3R to RC upgrade
When I upgraded the server from B3R to RC, I met following error: found field name in custom methodlogies that will clash with new CMMI methodlogy. So I renamed the field name of "Microsoft.VSTS.Common.Severity" from "Severity" to "Exposure". After upgrade, I wanted to import customized work item "bug.xml" to one project. In this xml, the field "Microsoft.VSTS.Common.Severity" has the name "Severity". Then error TF26177 happened: the field "Microsoft.VSTS.Common.Severity" can not be renamed from "Exposure" to "Severity". I am a little confused. In ...Show All
.NET Development MultiStream files
Hi all. I have a "small" problem: I have noticed that if I am using FileStream to open a file that contains multiple streams, I am getting only the main stream of that file. Do you know if there is any possibility to read the whole file Thanks. Mircea I honestly don't know. I am not part of the product team (or Microsoft), but based on the information on MSDN Product Feedback (see my original reply), they are currently deciding if it is in the Visual Studio "Orcas" release or not. ...Show All
Windows Forms how to setfocus in VS .NET?
how to setfocus in VS .NET I did not find out setfocus method in VS.NET ...Show All
SQL Server Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
This was originally posted in the SSIS Forum , but a member of the IS team suggested it be moved here. " Most recently I got this error (Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager " I'm having the same issue, and here's our scenario: Installed SQL Server 2005 Developer Edition on a machine with WinXP SP2 and enabled remote connections over TCP/IP Installed SQL Server 2005 Standard Edition on a machine with Win2003 SP1 (remote connections ove ...Show All
Visual C# how to get the nonclient rectangle of the form?
as in subject: how can i get the nonclient rectangle of my form You can use the Form.Bounds (inhireds from Control ) property to the the size and location of the form including its nonclient elemements. ...Show All
Visual Basic How to add items in the listbox?
Hello All Forum Members, I have a access database contains tables I want to add thoes tables in listbox as the items .. How can I do that in VB.net 2003 I am very greatfull to you people for answering me this question and resolve my issue ... thank you very much ... Fatir Siddiqui Hi! Do you want to create list of tables from database or you want to add values from some table to your list Common scenario is to fill dataset and bind it to the list or grid controls. ...Show All
Visual Studio Team System Workspaces are broken
I created a team project, created a distributed app in that project and checked it in. I then created another team project, created a native C++ app in that project and checked it in. Doing the above broke Team Build since both projects were associated with a single source control workspace. So I created a second workspace for the second project, and created a mapping in that workspace between the source control branch and working folder for that project. Team build is now happy, but the project itself is broken. Opening the source control explorer for the second project shows no mapping for any of the files, nor can I find any ...Show All
Visual Basic StreamReader
Hello, I’m trying to create a program will supply information for variables from a text file, so that as the possibilities change, a simple text file will need to be amended, rather than rewriting the original code. I am reading about FileStream and StreamReader, which seem like just the ticket. For instance, if I wanted to populate a TextBox with items I wrote in a text file, such as: Tom Mike Jim Jean I threw together a sub like this: ------------------------------ Private Sub Button6_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim objF ...Show All
Windows Forms is it possible to restrict qty of app instances that client can open
hiya, I have my EXE on the server, and the clients are using it via a shortcut which points to the exe. Is it possible to restrict the app so that machineA cannot open a MULTIPLE consecutive instances of the app many thanks, yogi thanks folks, It worked a treat :-) yogi ...Show All
Visual Basic Intellisense Problem
I have a problem with the autocomplete feature of Visual Studio 2005. When I use VS2005 for an extended period of time the code editor starts to behave very strange. When I'm writing code it starts to autocomplete my code when it should not. Example, if I want to write: Dim sName as String it can ends in: d(ims) nameas String Dim s(name) as string Dim sn(ameas) string etc. As it was loosing focus and it autocompletes while I'm writing (I write very fast and it is the same). It is very messy and I end up writing the code in notepad and copy/pasting in VS. I have win2003 and VS RTM 050727-4200 Any one have this problem ...Show All
SQL Server How to truncate the log file
How do I truncate the log file using TSQL My client's log file is 44 gig and there isn't enough HD space. Thanks The log will truncate if 1) simple recovery mode is set and 2) checkpoint is issued or the log is backed up. Otherwise, you need to truncate it every now and then manually. Try this: DBCC SHRINKFILE('mastlog'); The preceding truncates the master DB log file. 'mastlog' referes to the logical name of the master DB's log file. ...Show All
Visual C++ passing arguments to a System(something.exe) function
Background : I have an MFC application and a c++ program (separate entities). I did a build on the c++ program, and copy pasted the resultant 'exe' formed in its debug folder into the MFC application's folder. Now in the MFC, I am calling the function "System(mt.exe)", which is a call to the exe that I had copy pasted. Question : This exe (ie the c++ program) uses a variable 'counter' at some point in its execution. Is it possible for me to pass an 'int' as an argument to the exe when its called from the MFC, so that the 'counter' within the exe takes that passed integer as its value So effectively, first time the exe is executed, ...Show All
Visual Studio Team System Moving code from one team project to another
In Beta 2 I tried to move code from one team project to another, but nothing happens. I don't get an error and the file stubbornly refuses to move. (I am able to sucessfully move a file to another location within its current team project structure.) Sounds like something you're doing is throwing an exception that's getting silently eaten - yucky. Can you give us some more specific repro steps and I'll see if I can repro the problem Are you using the Source Control Explorer or something else ...Show All
SQL Server Using SSMS to Manage SSIS
(Also posted on the beta newsgroups...) I'm having problems using SSMS on a workstation to manage SSIS on a server. I cannot connect to SSIS on the server. The SSIS service and the RPC service are both running on the server, but I get an "RPC server is unavailable" error message. I have CTP 15 running on the workstation but CTP 14 running on the server. Probably not a great idea, I know. Anyone know if that is definitely the problem Or could it be something else Thanks, Dave Fackler I have the same problem. I'm using windows xp and visual studio 2005. When I ask Visual S ...Show All
Visual C# C# .NET Performace / Porting?
Hi, I've just been to the Reuters Developer's conference in London May 06. I work in the Financial Services sector and have a bit of an interest in Financial data providers. One thing that stuck me was they offer no native .NET support. Their APIs are designed for use with C++ & Java (Reuters Foundation API). I asked them whether they intended to provide a native .NET API They said not in the foreseeable future it would be too costly to port. I think they have misjudged the market as I've seem has been a big shift in Financial institutions to the sweet spot of .NET C# for develo ...Show All
