baseballfanty's Q&A profile
Visual Studio File xxx does not retain old versions of itself
We are using Visual Studio 2005 Deveoper edition and VSS 6.0d. A few months ago we migrated our web application from ASP.Net 1.1 to 2.0. we are having a couple of issues with source control once we started using VS2005. I'll list them in order of priority: 1. Certain newly added files do not maintai their earlier versions. When I look at the history I can see who checked in and when but when I click on Diff, I get the message : "file <filename> does not retain old versions of itself", I checked properties of the file and the 'store only latest version ' box is unchecked. What is even more frustating is that, this does not happen with all files. 2. Editing a file without checking out seems to check that file out. Earlier VS ...Show All
Windows Forms access application settings from code
Hi , i stored my connection in application settings i.e. project > properties> settings tab. Now i need to access the connection string from code any help is appreciated, red Hi,red60man Assume you have a variable named "MyConn" in the settings, then access it in code by: Properties. Settings .Default.myConn; For more information, see This . Hope it helps. Best Regards. Ye ...Show All
Visual Studio Lets talk about rendering performance
Hello. Our company distributes a vertical market accounting app which we've migrated from Crystal Reports to the WinForms ReportViewer. Our installed base is around 6,000 end users. We've found the viewer to be a solid product and we're pleased with the functionality and stability. That said, we may be forced to abandon reporting services for some applications due to performance issues. As an example, we have a report that processes 10,000 rows and perhaps 20 columns. On a 3 GHz machine with 2GB RAM, it takes 40 seconds to render the report (not counting query time). In addition, ReportViewer consumes approx 400MB of memory for this process (after garbage collection). These results won't cut it when a user is waiting for real-time outpu ...Show All
.NET Development Custom SoapFilter for WSE 3
Hello I'm developing custom SoapFilter for WSE 3.0. Is there a way to find out the type of exception occurred during the execution of WebMethod. The SoapEnvelope parameter of ProcessMessage method has a Fault property, but this fault property always contains SoapException, not the original type of the exception. How to find out the original type of the exception Best regards Stephan Zahariev Hi Stephan, I have bad news for you, it is not possible to get the original exception from a WSE filter. I had the same problem when I was trying to implement an exception shielding solution for the Patterns & Practices team. (Web Service Security Patterns). Regards, Pablo. ...Show All
Visual C# How do I rename the administrator on a given machine via c#(System.Management?)
I've found a few bread crumbs, but i have not as of yet figured this out.. here's what i know. You're supposed to be able to do it using WMI via win32_useraccount.Rename, You can call WMI stuff in c# via System.Management. What I need is how to tie those two pieces of information togther to allow me to make the changes. Can anyone help Give me a few more breadcrumbs to follow Thanks, Eric- I figured out how to do this using renuser.exe... it's pretty simple the hardest part is finding a copy of renuser.exe. I found it on the Korean verison of the english site that everyone links to. http://www.ntfaq.co.kr/download/renuser.zip Eric- ...Show All
Visual Studio Express Editions A strange error? Help!
I installed Visual C++ 2005 Expression in my computer on driver E: and I also registered, later received a thanks reply, but I can't creat a new project,when I try to creat one,just jump out a window warning:" Automation 服 器不能 建 象!"(Translated like the following:Automation can't creat an object!). This morning I installed it ,and reinstall it on driver C:, I also registed with the same hotmail address then receive another thanks reply,When I opened the start page, I select "Help->Register Product" but the Visual C++ 2005 Expression window tells me "The product has already been registered!". And when I try to creat a object,the same thing happen again . What's wrong with it Can someone tell me I just ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rectangle collision detection help
Hi, I'm learning how to use collision detection in sprites, and I've decided to use Rectangles. Basically, I program the game to make a rectangle around each of the 2 sprites and, when I move the sprites via keyboard input, it moves the box with them.( Now, I'm doing this to test collision detection. Heres the bit of code that doesn't work: if(Sprite1box.Right == Sprite2box.Left) { Sprite1pos.X += 5; Sprite1box.X += 5; } (Where Sprite1box = The rectangle aroudn the first sprite, Sprite2box = the rectangle around the 2nd sprite, and Sprite1pos is the vector of the 1st sprite) This doesn't work - the sprite just moves right through the second sprite. Now, I figured I must've done something wrong ...Show All
Visual Studio VSS6.0 and VSS 2005 Questions
Our office currently has VSS 6.0c installed on most clients and on the Server side. We have some developers that use 2005 but connect to the VSS 6.0 files on our SS server. We are wanting to convert/move/install the 2005 server so both the clients and servers are on the same version. anyone know what steps I need to do inorder to get the server upgraded from 6.0 to 2005 is it as simple as just uninstalling the 6.0 on the server and installing the 2005 then pointing to the srcsafe.ini or is there a conversion that needs to happen pls help were needing to do this upgrade soon. thanks. There were no changes to the database from VSS6.0 to VSS2005. There are no server componets to ...Show All
SQL Server update problem
In this project I m using SQL Server 2005 express edtion.I can run select queries but I couldnt run update query like this : UPDATE tblBorc Set bKalan=@kalan,bOdenen=@odenen where tblBorc.bID=@borcid and sending some data like this : borcekle1.borcguncelle(10000, 250000,1); Is there any mistakes thanks. There is no error or like that.Seems like everythings ok but I go to the database, there was no changing. I m sure it is the right database. I m using Sql server 2005 express edition and Queris are in the TableAdapter. I want to ask a question. For example there is a data table like this: name nvarchar(50) lastname nvarchar(50) mID smallint(3) I want to update only name ...Show All
Visual Studio 2008 (Pre-release) Writing about performance?
Hello! How is it now, we may not write about performance issues here, but should write about such things to the Microsoft Connect forum, or may we write about performance aspects here as well Best regards, Henrik Dahl Hello Atul! Don't you have some interesting news on the matter above to tell Best regards, Henrik Dahl ...Show All
Visual C# foreach Page.Constrols
i have some controls in page(textbox,dropdownlist) and i some of this controls Visible Property=false, i want to this when the Page_Load event run this codes Thank You Andrej thanks yes,yes,yes it happened ...Show All
Windows Live Developer Forums WLM - Problems contacts and contact lists
People who I've had on my contact lists for years are messaging me and I cannot message them back. Message at the top of the window saying this person is not on my contact list WHEN CLEARLY THEY ARE. Have uninstalled WLM and reinstalled, deleted and readded contact but to no avail .... Can someone PLEASE help. Unfortunately I can't help, but I do want to confirm to have the same problems. For me a Sign Out and a Sign In again solves the problem for a while (some days). For me it can be related to the installation of software for running a IM bot. Good luck, Ruud ...Show All
Visual Studio Sandcastle Aug CTP: <seealso> tag not working
With documentation comments like: /// <summary> /// Here is the summary of the class. /// <seealso cref="OtherClass" /> /// </summary> The generated text in my CHM file looks like Here is the summary of the class. OtherClass If I put the <seealso> tag outside of the <summary> element, the seealso text doesn't show up at all. The last time I checked, according to the MSDN Library, the <seealso> tag is supposed to go inside the <summary> element, so my example above should be correct. Is Sandcastle not properly generating a See Also section in the CHM documentation — Eric — I have to agree and I will log an issue for a fix by R ...Show All
SQL Server Help on one colum
Hi, I have a column in SQL that needs to be created. This column needs to start with 10 zero's. If I add a number, say 135 the column needs to read : 0000000135. Is this possible If it is how do I need to go about to do this. If I need to create a view or something like that I do not mind. I am open to all suggestions and appreciate the help. This one should remove the dot and pad the necessary 0s in front. SELECT RIGHT('0000000000' + REPLACE(CONVERT(VARCHAR(10),col1),'.', '') , 10) FROM yourTable ...Show All
Visual C# Invalid Resx file. A strongly-named assembly is required.
I've been randomly getting this error on a few of my forms in one of my projects for about a week now. Its always the same forms each time and its always in the same place (its the closing tag of a <data> element with the same base-64 encoded resource each time). It seems arbitrary whether or not I get this and usually restarting visual studio will get rid of it, but sometimes i have to restart it several time. The really weird thing is that no one else on my team has gotten this and we're all working off of the same codebase. I've tried blowing away my local copy of the source and getting a completely fresh copy form source control and that seems to help it for a bit, but it always comes back. Has anyone ever seen this or anyone ha ...Show All
