DagKo's Q&A profile
Visual Studio Team System Space in rule URL causes link problem in FxCop problem properties panel
In my custom rule configuration I have spaces in the URL: < Url > http://somewhere.net/space%20program/super%20rules/ </ Url > When this rule is triggered, the problem properties pane shows the link as this: http://somewhere.net/space program/super rules/ And the link does not work because it tries to go to the URL upto the first space. Is there a workaround to make the URL work Thanks. - alex This is jus ...Show All
Visual Studio Express Editions what a mess
Trying to install Visual C#, says to uninstall beta versions of other Visual software. Well, that breaks midstream, now I have an incomplete 'uninstall', so 'change or remove programs' doesn't work. How do I uninstall VBasic MANUALLY Now C# get's to end of install, and throws a huge error. WTF !! Like I have time for this Some help please I am experiencing a similar problem with VB 2005 express. The uni ...Show All
Visual C# Date Validation on a Databound Textbox
Friends, I am curious if anyone knows a way to pop a validation messagebox based on what is already taking place in a date bound textbox in Visual Studio 2005. What I mean is this...... Yes, I can write a routine to run through the characters and check if it is a valid date but the textbox (and/or bound dataset ) seems to be doing its own validation. If I do not type in a valid date using a /, ., or -, the form simply will not let me advan ...Show All
Visual C++ error lnk2028: unresolved token
I'm using VSNET 2005 June CTP. When I create a MFC ActiveX Control and specify common language runtime support, old syntax, I get several error lnk2028: unresolved token messages. I have tried the "Remove the Entry Point of the Managed DLL" solution from http://support.microsoft.com/ id=814472 I really though this has already been fixed before. I am suprised it is still in recent builds. I am going to inv ...Show All
Visual Studio 2008 (Pre-release) What's a good way to Render to a bitmap that is a different size to the Visual?
I've got a fancy looking chart control I've written, and people will use it to generate plots for Powerpoint presentations, so I need to be able to copy the plots to some fixed size like say 1024x768. Say I have a button "Copy Plot To Bitmap". Ok my code will look like this: private BitmapSource RenderToBitmap( double width, double height) { double baseHeight = this .ActualHeight; double baseWidth = this .Ac ...Show All
Software Development for Windows Vista TypeProvider.RemoveAssembly
Does TypeProvider.RemoveAssembly somehow actually unload the assembly from the app domain (I didn't that's possible) The real issue is if we have a running implementation where someone decides to change the logic in a code activity. Can we load the revised assembly without shutting down the workflow engine Thanks, - Erik Erik - this just removes the assembly from the TypeProvider instance - not from the AppDomain. To load the sa ...Show All
Visual J# How do I get the separator + a more general question
I have a textbox in which I enter numbers. I extract the individual strings and I would like to know how I can extract the specific separators. Also a more general question. If the processing of this text data would get more complicated how should I proceed So far as seen in the code example it's no problem doing everything inside the textbox change event function. For the moment the indata is supposed to be integers that are added up. But I wou ...Show All
Visual Basic Menu Color
I want to set the background of my form to the be color of the very right hand side of the menu control. This color does not seem to be stored in the system colors. Is there a way to figure this color out Hi Grant, If you are refering to the menu strip control in VS 2005, I dont think you can get a standard system name for the color on the right hand side. The rendering of the menu strip control is managed b ...Show All
Visual Studio SourceSafe detects different character encodings on different versions of the same project file (.csproj)
Using Visual Studio 2005 with Visual SourceSafe 2005 (Version 8.0.50727.42). We have a Visual Studio project file (.proj) that has been changed 21 times, resulting in 21 SourceSafe versions. I personally checked in version 20. Now using the history and compare functions on any version (including version 21 checked in by another programmer) as compared to version 20 results in the message: "The character encodings on these files are diffe ...Show All
Visual Studio Express Editions Setting the start Action when debugging a DLL
In VS 2002 I was able to set the Start Action to start an external application. I can't seem to figure out how to set this up in VB.Net 2005 Express. I tried to follow the help but when I went to Tools>Options there was no topic for debugging, and when editing the debug properties of the project or solution I don't see this option. TIA Thanks. That is a lot of help. I didn't have an existing user.vbproj fi ...Show All
Windows Forms Best Book for Control Development
I am looking for a book that will act as part tutorial and part reference. I having been working with .NET for a while but mainly in the land of the middle tier. I am moving to the thick client and specifically user controls and windo ...Show All
Visual Studio Problem - VSS version numbers
I have noticed that VSS increments version numbers without file change. Yes, this happens when a version label is applied, VSS increments the version number. However, this is not reflected in the $Revision: $ inside the file. This is not noticed until the next time the file is checked out, updated and checked back in, and a skip in version number is noticed inside file "show history". Does anyone know why this happens Is t ...Show All
Visual C# Retrieve System Up Time Err:(input string was not in correct format)
I have a windows service program that checks the system up time. It works for most users that use it but a small few are getting this error: Exception: Input string was not in a correct format. Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Int32.P ...Show All
.NET Development FTP to IP address
I need to send a text file on the local machine to a unix server. I know the IP address, username & password to connect. I have tried using the following line of code: My .Computer.Network.UploadFile( "c:\test.txt" , "10.2.2.10" , "username" , "password" ) This gives me the following error: '10.2.2.10' is not a valid remote file address. A valid address should include a protocol, a path a ...Show All
SQL Server Database is read-only.
Hi I have been learning on how to use the new features of the .NET 2.0, and Well I using VS2005 and everything is pretty straight foward. I did a Membership webform where you log in and create users and roles etc. I installed the SQL Server 2005 express as my Data provider and thats where my Tables are. I used the aspnetsql_reg comand to integrate the server to this application. Anyway my problem started when i decided to copy my project to my ...Show All
