Peder's Q&A profile
Visual Studio Team System Design Documentation - Where is the best place to store them
When working on Bugs / Tasks we create design docuemnts (I heard somewhere that these are useful... still trying find who said that :D ). Anyways, where would be the best place to store these Say if there were 5 bugs in our system that could be fixed with 1 code change, we'd only create one document for that (5 bugs still). So, attaching the same document to all those bugs is very bad in my mind. We could also upload it to our portal site and ...Show All
Windows Forms how to see recently openfiles in file menubar
i developed a "File" menu there is a "Recent File" menu item where i want to show the recently open files list .pl help me regarding this topic. This is called as Most Recently Used (MRU). If you hit search in codeproject, you can get hand full of classes that discussing MRU, here are few examples: http://www.codeproject.com/csharp/mrumenu.asp http://www.thecodeproject.com/csharp/mrumenu.asp Regards, -chris ...Show All
SQL Server This SMO transfer script doesnt transfer ?
Hello, this takes a lot of time but when I got to sql server management studio there are no objects there!! What am I missing private void button1_Click( object sender, EventArgs e) { Server sv = new Server ( "ESTACION15" ); Database db = sv.Databases[ "GescomDllo" ] ; Database db2 = new Database (sv, "PRUEBA" ); // db2.Create(); Transfer xfr; xfr = new Transfer (db); xfr.CopyAllObjects= true ; xfr.C ...Show All
Windows Forms Master-Detail Binding Support for Custom Object Datasources??? (for DataGridView’s)
Hi, Can VS2005 Beta 2 support having 2 DataGridView’s in a Master-Detail arrangement, but when the underlying data which the DataGridView’s are bound to (albeit via a bindingsource) are custom Lists (e.g. BindingList<T>), where the master list of A objects, each A object contains another list of item B objects. An example of potential A, B classes are shown below (where class Person has a list of Detail objects in it). If t ...Show All
Visual Studio Team System Erroneous "Avoid unused private fields"
I get an erroneous "Avoid unused private fields" problem with the following: class Application { private const Decimal conversionRatio = 0.621371m; [STAThread] static void Main( string [] args) { if (args.Length > 0) { Decimal newValue = Decimal.Parse(args[0], System.Globalization.CultureInfo.InvariantCulture); newValue *= conversionRatio; } } } Consts don't get converted to ...Show All
Visual Studio Crystal Reports XI and Visual Studios 2005 Questions?
OK I have read a lot of post here that lead me to believe CRXI is not compatible with Visual Studio 2005. Or should I say not till CRXI r2 comes out in which case it will support VS2005 .net Framework 2.0. On a Project that is updated to VS2005 from VS2003 and CRXI for the most part went very smooth. Except and for me this is major CR Version is 10.2.3600.0 in VS2005 where as it was VS2003 it is Version 11.0.3300.0 for me. Ok fr ...Show All
.NET Development Public Variables that can be seen by Web Forms
Is there a way to set Public Variables that can be seen by Web Forms. Yes, but not all *.aspx items, just the aspx item I'm working on. Sorry about the terminology. I new to visual web development. ...Show All
.NET Development setspn and delegation
I am having problems getting delegation up and running using a service account running IIS 6.0. My test scenario calls from a XP client through to a webservice on server iis1, through to another web service on iis2, both web servers runing win2003 SP1. The Domain is at a functional level of win2003. Both web services have windows auth and impersonation set, ping methods to the individual webservices do work ok. I have setup 2 ser ...Show All
Visual Basic Z-Index in VB.NET
How do you assign a Z-Index to an object in VB.NET I can't find a property for it. Does anyone know, or is it impossible There is no longer a ZOrder method for formr or controls in Visual Basic .NET, but you can use the BringToFront and SendToBack functions to achieve the same affect. - the V-Bee ...Show All
Visual Studio Express Editions Thank you for the video series!
I have to say a big thank you to whomever made the decision to post the learning videos to http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx These videos are excellent and have helped me learn the VC# IDE very quickly! If they weren't there I would have had one heck of a time transitioning from a non-gui environment programming console in C++ (on Linux) to the windows programming. I have sat the past few days trying ...Show All
SQL Server Disable a container at runtime via ScriptTask
Does anyone have sample code for me to look at to do this I see the container object, and the diable property, but how do you set the container object to the container instance you want to disable thanks in advance. Gary Cabana wrote: Ahh, nice! Sucks that you can't access the expression builder from within the constraint expression editor though. thanks! I couldn't agree more. You can't get at ...Show All
SQL Server Deploying Upgraded Custom Components
Hi, let's take this scenario as an example. I develop a version 1.0 of a custom transformation component and go through the process of having it available on the SSIS Transforamtion palette. A developer creates a package which uses this custom component. Later, I update my custom component to a version 2.0 and go through the process of putting on the palette. Now, of course, I don't want both versions on the palette at the same time. So I insta ...Show All
Visual C# C# Build Events for VS .NET (2002) Where are they?
Are there no build events for C# in VS .NET (2002) I want to copy some .dll-files pre- and post-build. ...Show All
Visual C# Xml Read
How can i get the full text from the XML Like: Guilherme 16 years 14/02/1985 xxx@xxx.com This command is working but i it's listing like: Guilherme16years... I know it can be done with another way, If someone can helps, i'd be appreciate. private void Form1_Load(object sender, EventArgs e) { XmlReader reader = XmlReader.Create("Guilherme Costa Velho Miranda.xml"); reader.Read(); txtInfo.Text = reader.ReadElem ...Show All
SQL Server Bug? No WSDL information fo a WEBMETHOD that points to a table-value function
Hello all, I'm trying to create a web service that merely exposes a table value function. I have a dummy function that looks like this (in a DB called ReportingDB): USE [ReportingDB]; DROP function [dbo].[TestFN]; GO CREATE FUNCTION [dbo].[TestFN] () RETURNS @Table_Var TABLE (c1 int, c2 int) AS BEGIN RETURN END; GO My web service definition looks like this: DROP ENDPOINT sql; go CREATE ENDPOINT sql STATE = STARTED AS HTTP( &nbs ...Show All
