alien-'s Q&A profile
Visual Studio Team System Problem with Areas and Iterations not being updated in work items
After creating a new area or iteration, the new item does not appear in the area drop down used when creating a new work item in Visual Studio. I verified this behavior (create an area, but it is not visible at the work item level) is reproducible from Visual Studio, Excel and MS Project. I deleted my local cache (C:\Documents and Settings\<userid>\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache), re-started Visual Studio, but no dice. When I expand the dimensions in the TFSWarehouse, the new area appears as a dimension. After some time (3 to 4 hours), the areas and iterations become available and are visible from the work item view. Why are areas and iterations not immediately available Some f ...Show All
SQL Server The Fastest way to perform an update ... advice needed :)
Hi all, I have a situation where my Visual C# application presents a number of fields. In order to update a student object, I wish to call a stored proc. 1 or more fields can be updated... And If one is left null, then I don't want to update it, but instead I want to keep the old value. I am really wondering if I am approaching this the right way. The following stored proc does what I want it to do, however I'm thinking there may be a faster way... Here it is: -- Update a student, by ID. DROP PROCEDURE p_UpdateStudent CREATE PROCEDURE p_UpdateStudent @ID INT , @NewFName VARCHAR ( 25 ), @NewOName VARCHAR ( 25 ), @NewLName VARCHAR ( 25 ), @NewDOB DATETIME , @NewENumber VARCHAR ( 10 ), ...Show All
Silverlight (formerly WPF/E) Squeezing objects
I was wondering whether it is supported to "squeeze/distort" objects into various affine and skeewed forms Basically what I wan't to do is squeeze an image (or any other object for that matter) into the following shape: ___________ / \ / \ / \ / \ / \ I would also need a variant the would require adding some skewing like this: ___________ / | / | / | / | / | or ______________ / / / / / / / / / / ...or anywhere in between these. (and no, I'm not talking about clipping :-) Any ideas on how to accomplish this are very welcomed! I have improved t ...Show All
.NET Development WebService vs ASP.Net pages
me new to ASP.Net and Web Service. My target is GUI less web site response result in a XML format for any request. and me found ASP.Net provide a way that did it called WebService. but me confusing what difference between ASP.Net pages and WebService. because ASP.Net pages also can return XML instead of HTML an example for basic website [SignIn] and [SignOut] with WebService member.asmx/SignIn username=xxx&password=xxx member.asmx/SignOut and with ASP.Net pages SignIn.aspx username=xxx&password=xxx SignOut.aspx WebService seem work similar to ASPX, just combined all methods into one "ASMX" so anyone please be kind to explain to me, what the diffenrece between them, and what the benefit of using WebService. In my c ...Show All
SQL Server restarting SSAS nightly improves query performance
I don't have any hard numbers to share, but in the tests I've done, restarting the SSAS service nightly appears to improve query performance. Here's the reason I say that: 1. If I leave the SSAS service running for a number of days, timing an expensive MDX query will show it being slightly slower (say 4%) than immediately after I restart the service and run the same query. (In both the before and after test, I'm running the query several times in a row so that it can do all the caching it wants.) 2. If I leave SSAS service running for a long time with out restart (say, a month or two), it slowly consumes more and more memory even though we're doing a full process of the cube every night. (I would have figured that doing a full proces ...Show All
.NET Development Server connection timeout
Hi guys, I am using the code below to connect to a server. This works fine on all the machines I have ever tried to connect to but a new server has recently been added on which it seems to timeout randomly. It would normally take 8secs to connect & retrieve information from a server but this takes 2 minutes on those random occasions. I believe that it may be the server timing out & responding a bit late as it might be busy or something.How could I possibly work around this and find out what is wrong I am using a third party SSH library to connect. I would appreciate any help StringBuilder output = new StringBuilder(); //SSH connection from 3rd party library (SSH2) //SSH Reader from 3rd party Socket s = new ...Show All
Visual C# Create a pdf
Hi everyone From Visual Studio 2005 is there libaries to create your own pdf documents If there is please point me in the correct direction. If not please give me suggestions on how i can achieve this. Other libaries available Thanks in advance Thanks for the response. Im making an application that should be able to export what ever document is open. Basically whatever the print out looks like i would like to export it. If you use crystal engine is it possible to write a pdf without creating a layout In other words at run-time i say to crystal i want a pdf with this in it. The link you provided is for a pdf writer but not for free, i was hoping maybe visual would have pdf libaries....can anyone confirm if it doe ...Show All
.NET Development PROBLEM WITH FTP FIREWALL IN C#
My problem deals with the fact that I was able to FTP files to and from a friend's site that doesn't have a firewall but I now have the real FTP information and it does have a firewall and I have no idea how to FTP a file to this new FTP location. I am under severe time pressure and would like to see the commands necessary in C# and NET 2.0 to accomplish this goal. Here is an example I was given by the site administrator using DOS FTP to access and upload a file. I will change the passwords in the example below: ftp -n open edifxpbw.geia.com user yppc112 yppc110GX user 10033XDIR@edi.yppc.geia.com 15211 HENRY binary put DirectoryStart.dat %YPPC-TEST%DIR ls mblist Here is an example of an upload that I created in C# ...Show All
Visual Studio 2008 (Pre-release) Supporting Readonly Properties
I have a problem with these... In fact, we often use readonly properties referencing other domain objects. It works well with DLinq when it comes to retrive data from the db and for insertions. On deletion, however, DLinq seems to try to dettach an entity from its related entities (even if on the left side of a n:1 relation) thus requiring a Set assessor which we lack : Bug. Ok, so searching the forum I read a workaround that proposed to map a protected field and expose it a public readonly property as are design requires it. But DLinq doesn't seem to want to map any of field to other entities... It's kind of a hard sacrifice for us to accept to add setters implementations because it's not the in the properties signature, and mainly : the ...Show All
Windows Forms Getting Error "The type name 'ClientCaseInfoControl' does not exist in the type 'ClientAdjuster.ClientAdjuster'"
I have written my first user control in Visual Studio .NET 2005. Because I am not interested in this user control being used in any other application besides the WinForm app I am writing it in, the user control is in the Windows Forms project. In design mode, the VS .NET IDE recognizes it, works with it, etc. However, when I try to compile the app, I get the error message: Error 1 The type name 'ClientCaseInfoControl' does not exist in the type 'ClientAdjuster.ClientAdjuster' D:\AMCI Apps\ClientAdjuster\ClientAdjuster\ClientAdjuster.Designer.cs (the name of my user control is ClientCaseInfoControl , and the name of the project is ClientAdjuster . I don't understand how the project could not be aware of a user control, that is w ...Show All
Visual Studio 2008 (Pre-release) Vista IIS7 WCF - Has anyone got it working?
I can't get the simplest WFC app created by the VS2005 to work on the local machine! Two - I have read and tried just about everything mentioned in any post about WFC and IIS. This is NOT supposed to be this difficult I am sure. My installation: Vista Beta 2 (build 5384), IIS 7 enabled, VS2005 with extensions (WF RC2, Orcas), Vista Windows SDK 5383.1.1 I ran the serviceModelReg.exe -i (no errors). I have copied other web services from IIS 6 to the IIS 7 and they work nominally. I can create, compile and execute aspx sites on the machine. A step by step setup procedure would be helpfull. I hope someone at Microsoft actually has a configuration working... If not please say so. Been beating my head against the now bloody rock for ...Show All
Visual Studio Custom wizard/template: can't remove/add configurations
I'm trying to make a custom wizard/template in Visual Studio (2005) for a C++ project. There is an "Export template..." item in the file menu, but as far as I've understood, this was not implemented for C++ projects. Anyway, you can create one manually by using the Custom Wizard wizard. After doing some experimentation, I managed to set up a wizard that created pretty much the same thing as what is set up if you create an empty win32 console project. My problem: I want to create a project that does not have a "Debug" configuration (likewise, I can't add configurations either). * Simply removing the lines in default.js that modify the proj.Object.Configurations('Debug') object does not remove the configuration. * T ...Show All
Visual Studio Tools for Office VSTO ServerDocument object to parse text or convert to a Document Object?
I am attempting to allow clients to upload docs to a webserver where I will then bust up the documents into paragraphs and load them into sqlserver. This is easily done using the document (interop) object but it starts a winword.exe instance, which is an unacceptable resource drain on the webserver. Could anyone point me in the right direction toward a c# solution that would allow the creation of a serverdocument object which I could then be used to parse and canabalize a word doc Sincere thanks. The VSTO ServerDocument documentation is here: http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.tools.applications.runtime.serverdocument(VS.80).aspx and here: http://msdn2.microsoft. ...Show All
Windows Forms How to implement copy/paste/cut/undo/redo commands in C#?
Could someone please tell me how to implement the copy/paste/cut commands for the Edit menu items in C# 2005 I can implement those commandsfor each textbox individually, but my application has about 100 textboxes. It will be very tedious to do the same thing for each of them. I guess there must be some way to implement those commands for the whole application. Thanks! I think you can custom textbox which has these functions maybe this article will do some help ...Show All
SharePoint Products and Technologies SD 2007 and Ajax-Style Interactivity
A general question to the of SharePoint Designer 2007 user community: Can SD 2007 be used to create websites with rich user experiences like that shown on the updated Southwest Airlines site ( http://www.southwest.com/ ) Look at either the Book A Flight or View or Change Your Flight widgets along the right-hand side. Is this beyond the scope of SD 2007's design capabilities I'm a business user, not a developer but is it possible given some custom Ajax development Yes it does, thank you. I guess it was too much to hope for that SD 2007 would support this kind of interactivity out of the box. But perhaps if I can get development assistance to get the "widget" set up, then I could maintain it from there. ...Show All
