items

Agile project and amount of Documentation

What kind of documentation you'd recommend to support for Agile project? What are the core metrics you use to detect amount of documentation needed? Do you think you can store all of project info as TFS work items? ...

Normalizing a list of items in MSBuild

I am trying to get a list of all unit test assemblies under the root of my project. I can do this as follows: <CreateItem Include="**\bin\**\*.UnitTest.*.dll"> <Output TaskParameter="Include" ItemName="Items"/> </CreateItem> However, this will find the same DLLs multiple times since they exist in multiple sub-directories. Is there ...

C# Clear all items in ListView

Hi, I try to clear my listview but the clear method doesn't work: myListView.Items.Clear(); This doen't work. When i put a breakpoint at this line, the line is executed, but my listview isn't empty. How come?? I fill my listview by setting it's datasource to a datatable. My solution now is to set the datasource to an empty datatab...

How do I display and store a list of complex items using Winforms?

I would like to store and display a list of complex items. Each (graphic) item has to display an image, a list of color chips, a label and an index (a letter). User would also be able to zoom within each item, to show details of the image (on mousewheel), Items would be presented in a vertical list, scrollable and resizable. Language ...

How to detect the item restore on a ItemAdded() event on SharePoint

Hi, I know that when an item is restored from the recycle bin, the ItemAdded event is fired. However, how can i detect if the item added comes from the recycle bin or if it is a new file. Thanks ...

Windows forms: how get the actual width of the item in the list box

To make sure that the text in listbox items is not truncated I want to adjust its width to the width of the item with longest text. Is there any way to get a "actual" width of the listbox item the one which is based on the item's text. ListBox.GetItemRectangle does not seem to be returning this actual width. thank you. ...

Highlight NSToolbarItems

I want to highlight the selected NSToolbarItem like e.g. in Adium (see screenshot). Is there an easy way? If not, tell me the difficult one. =) ...

Add app to the "Startup Items"

Some applications have a check button for "start at login"... How would you implement this? ...

How to drag NSStatusItems

You all know the menu bar (or better said NSStatusBar) in Mac OS X. There are some items which I can move and other which not. I would like to be able to drag the NSStatusItem of my app. Any idea how to implement this? ...

Get Repeater's Items

I am trying to get all repeater's selected checkboxes of repeater's item just before page movement (pagination), and store them in some place. foreach (RepeaterItem ri in rpt.Items) { CheckBox box = (CheckBox)ri.FindControl("chkBox"); if (box.Checked) { ... } } The problem is where do ...

VB.NET WinForms ListView Question

Hey. I have a ListView with 3 columns, how do I add specified text to the specified column I want? I've looked at the ..Add function, but it doesn't take the column index.. Thanks! ...

Selecting items in a combobox and removing them

Hi, I want to find an Index of a combobox using numbers in the text of a textbox, and then remove them. The items that populate the combobox belong to a data base so I use the Delete method to remove the rows. EDITED: I've been reading and the findstring finds text within the item list, not the index. Is there anyway to look for the ...

Simple question - no results (ListView Columns)

Hello, I'm trying to accomplish what should be a very simple task using the ListView Control. All I am trying to do is add two Items to a ListView Control. One Item goes under the "Title" Column and the other Item goes under the "Status" Column. I have seen many examples for the ListView Control and none of them cover this particular ne...

How to create new Change Requests programmatically using TFS SDK/API?

I am in the process of learning about using the TFS SDK to fully control what Team Foundation does programmatically like: Creating new Workitems(is this the same as creating change requests?) Creating new team projects Creating a new Source code branch,etc. I am developing a Windows app that can include all these tasks so it can be ...

Catalog items in Sharepoint

As a feed from external system we get a Catalog items (They are product info) as part of feed once a day. We need to take this feed and store in Sharepoint. Following are things we want to achive with this. Need to search those items and show as part of standard search resutls. There will be Insert (New Items) , updates and deletes to...

enable ribbon control

Menu Items and all other menus are not enabled` <r:RibbonWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" xmlns:Custom="http://schemas.microsoft.com/wpf/20...

Fill a select/menu object using jQuery

Hi guys I need to fill a object using jQuery I have a dialog (jQueryUI) that shows. Once dialog closes, the object should be filled with items taken from a mySQL table I have a function fill_select() located in my JS code... and I should place code there, because I call this JS function frequently. PS: I should remove all the item...

Type-safe alternative to HttpContext.Items

I am implementing an HTTP Module in ASP.NET to identify geographical information based on the request's IP (a GeoIP module) and I will need to place things somewhere so the handler or later modules can inspect. Except HttpContext.Items (which is not type-safe) is there some other decent alternative? ...

How to implement session based "add to cart" function in Rails

Hi I have a problem implementing add to cart functionality in my rails e-commerce app. Here I am not talking about check out function. Just "add to cart". Items can be added to cart without requiring users to log in to their accounts. Once the user finishes adding to cart, then before check out user will log in. My problem here is what i...

Is it possible to use SharePoint web services to retrieve all items in a folder with a given ID?

I'm using the GetListItems method of the SharePoint List web service. I would like to get all items in a given folder, with a given ID (not path). The method allows you to pass in QueryOptions xml, which lets you set the Folder path. However, since paths can change, this is not that useful to me, and it would be much better to be able to...