Sign in
Building Better Software - One Line At A Time
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
July 2010
(2)
December 2009
(1)
November 2009
(3)
June 2009
(3)
April 2009
(1)
January 2009
(1)
November 2008
(1)
June 2008
(3)
April 2008
(1)
February 2008
(1)
January 2008
(1)
September 2007
(1)
August 2007
(1)
June 2007
(1)
May 2007
(1)
April 2007
(3)
March 2007
(1)
January 2007
(1)
December 2006
(1)
September 2006
(1)
June 2006
(1)
April 2006
(1)
March 2006
(13)
February 2006
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Building Better Software - One Line At A Time
Resizing the Select Branches “dialog”/semi-modal Panel in VS 2010 Branch Visualization
Posted
over 3 years ago
by
PermanentTan
0
Comments
One of the few annoying things about the Select Branches panel in Branch Visualization is that it looks like a modal dialog that cannot be moved or resized. We are going to address this in V.Next! :) Though not resizable, the panel...
Building Better Software - One Line At A Time
Shortcut Keys for VS2010 Branch Visualization
Posted
over 3 years ago
by
PermanentTan
0
Comments
There are a few shortcut keys that can quite useful inside a branch hierarchy or tracking changes visualization. In a branch hierarchy visualization, pressing the Insert while on a node with children (+ visible) drops down the child branch selector...
Building Better Software - One Line At A Time
Go to Changeset from Team Explorer
Posted
over 4 years ago
by
PermanentTan
0
Comments
In a previous posting, I mentioned that Ctrl+G in VS2010 brings up the new Go to Changeset dialog from the Source Control Explorer. In RTM, Ctrl+G from Team Explorer will also do the same. Furthermore, we've added another entry for tracking a changeset...
Building Better Software - One Line At A Time
How to convert a Visual Studio 2010 Branch back to a Folder
Posted
over 4 years ago
by
PermanentTan
3
Comments
Visual Studio 2010 extends the concept of a folder as a “first-class” branch and introduces the tools to convert folders to first-class branches to enable exciting new Branch Visualization and Tracking Changes features. For reference, please see http...
Building Better Software - One Line At A Time
Go to Changeset for Visual Studio 2010
Posted
over 4 years ago
by
PermanentTan
0
Comments
In previous versions of Visual Studio, hitting Ctrl+G from Source Control Explorer brings up the Find Changeset dialog. In VS 2010, Ctrl+G brings up the new Go to Changeset dialog which lets you quickly enter a changeset number and get the changeset details...
Building Better Software - One Line At A Time
WPF TreeView Memory Consumption and Performance
Posted
over 4 years ago
by
PermanentTan
2
Comments
One very simple thing you can do that can significantly reduce the memory consumption and drastically improve performance of a WPF TreeView is to set the following two properties. In XAML, you would do: <TreeView x:Name=”myTreeView” ...
Building Better Software - One Line At A Time
Data Bind Using Only Code Behind
Posted
over 4 years ago
by
PermanentTan
0
Comments
We are all familiar with the use of WPF Binding in XAML. For example, the following lines bind the caption of a Button (variableCaptionButton) to the text of a TextBox (sourceText). <TextBox x:Name="sourceText" Grid.Row="0" />...
Building Better Software - One Line At A Time
Array as a WPF ConverterParameter
Posted
over 4 years ago
by
PermanentTan
0
Comments
A WPF value converter accepts a value and an optional parameter. The parameter can be specified in the XAML binding as a string like the following: <TextBlock Background=”{Binding Path=myElement, Converter={StatisResource MyConverter}, ConverterParameter...
Building Better Software - One Line At A Time
Setting Initial Focus in XAML
Posted
over 4 years ago
by
PermanentTan
0
Comments
Last time we looked at a tricky problem of setting the initial focus to a specific item in a populated WPF ListView. Most of the time, however, we just want to set the initial focus to a control (like a TextBox or a Button) in our UI. There are a couple...
Building Better Software - One Line At A Time
Setting the Initial Focus to a ListView item
Posted
over 4 years ago
by
PermanentTan
1
Comments
This blog describes the steps needed to set the initial keyboard focus to an item in a WPF ListView. The items in the list can be static or data bound. The trick is to access the ListViewItem associated with an item and then set keyboard focus to it....
Building Better Software - One Line At A Time
WPF ListView with Check Boxes and No Clipping
Posted
over 4 years ago
by
PermanentTan
1
Comments
WPF ListView with Check Boxes and No Clipping Do you need a simple data-bound WPF ListView with check boxed items without text trimming ellipsis and without header columns? I very often do. In this blog, I would like to share with you a...
Building Better Software - One Line At A Time
Giving full trust (revised)
Posted
over 5 years ago
by
PermanentTan
1
Comments
Newer version of caspol.exe expects a more precise URL specification. Here is the revised caspol.exe command to give full trust to a network share //MyDevBox/MyTools: caspol.exe -m -ag 1.2 -url file://\\MyDevBox\MyTools Note the adding of "\\" and...
Building Better Software - One Line At A Time
Giving full trust to a network share
Posted
over 5 years ago
by
PermanentTan
2
Comments
I work on multiple machines and, very often, I need access to my tool sets on each machine that I work on. This is accomplished by sharing out my tools folder/drive and restrict full permissions to myself. There is a little wrinkle. Network shares by...
Building Better Software - One Line At A Time
Determine the last synced version for a folder in TFS
Posted
over 5 years ago
by
PermanentTan
1
Comments
Have you ever need to find the last synced version of a folder in TFS? Here is a quick way: Change directory to YourFolder tf history . /r /version:W /stopafter:1 /i Note the "." (current directory). This command recursively lists the history...
Building Better Software - One Line At A Time
Diagnosing side-by-side problems on Vista
Posted
over 5 years ago
by
PermanentTan
2
Comments
There have been times where a program failed to load due to missing dependencies or side-by-side inconsistencies. One of the tool available on Windows Vista is "sxstrace.exe" (normally located in \Windows\System32). sxstrace.exe can help you pin-point...
Building Better Software - One Line At A Time
How to share VS Macro Projects
Posted
over 5 years ago
by
PermanentTan
1
Comments
One way to share VS Macro projects is to add the projects to source control and have all users mapped the versioned macro projects to a local folder to be used by VS. Here is a rough outline (an except from one of my forum post) on how you can accomplish...
Building Better Software - One Line At A Time
Sorting the work items in the Pending Changes window
Posted
over 5 years ago
by
PermanentTan
2
Comments
The work item channels displays the work items in the order specified by the selected query. This means that you can control the sort order by modifying the query's sort preferences. You can do this from Team Explorer, expand Work Items to your query...
Building Better Software - One Line At A Time
WPF Equivalent for WinForms Ampersand (&) to Prefix Access/Accelerator Character
Posted
over 5 years ago
by
PermanentTan
1
Comments
WPF uses an underscore character instead of the ampersand character (like with WinForms) to prefix an access (a.k.a. accelerator or mnemonic) key in the text of its elements like Label and Button. You can escape the underscore by using two underscores...
Building Better Software - One Line At A Time
Getting a list of TFS files that are different since some date
Posted
over 6 years ago
by
PermanentTan
1
Comments
Have you ever come across a need to find out which TFS version control files that are different since some date or some changeset? In VS2008 + VSTF 2008 (Orcas), there is an easy way using Folder Difference. Let take a look at the following command. ...
Building Better Software - One Line At A Time
How to set MyControl.X and MyControl.Y in a Windows Presentation Foundation (WPF) Canvas?
Posted
over 6 years ago
by
PermanentTan
1
Comments
WPF elements (like Button and Rectangle) do not have the X and Y properties as in the WinForms controls. Using procedural code, to place a WPF element at a specific XY on a free-form work area like a Canvas, you can use Canvas.SetLeft() and Canvas.SetTop...
Building Better Software - One Line At A Time
Default work item query for the Pending Changes window
Posted
over 6 years ago
by
PermanentTan
1
Comments
There has been a couple of requests about the logic for determining the default work item query in the Pending Changes window in Visual Studio. Here is how it works. In the Pending Changes window, the work item query uses an MRU list. In general...
Building Better Software - One Line At A Time
Resuming Conflict Resolution in Team Foundation Version Control
Posted
over 6 years ago
by
PermanentTan
1
Comments
I have gotten some feedback about the perception that the get/checkin/merge conflict resolution workflow for Team Foundation Version Control is a "one-shot" action in Visual Studio and cannot be abandoned and later resumed. Though it is true that the...
Building Better Software - One Line At A Time
Visual Studio Orcas March 2007 CTP - Folder Difference - Part 4
Posted
over 6 years ago
by
PermanentTan
0
Comments
Visual Studio Orcas March 2007 CTP - Folder Difference - Part 4 In this installment, we'll wrap up the Orcas' Folder Difference preview witht the results view in Visual Studio. Results View The Folder Difference results view has been...
Building Better Software - One Line At A Time
Visual Studio Orcas March 2007 CTP - Folder Difference - Part 3
Posted
over 6 years ago
by
PermanentTan
0
Comments
In this installment, we'll talk about Folder Difference integration in Visual Studio starting with the new Compare dialog. New Compare Dialog When invoked from the Source Control Explorer (SCE), the source and target folders are pre...
Building Better Software - One Line At A Time
Visual Studio Orcas March 2007 CTP - Folder Difference - Part 2
Posted
over 6 years ago
by
PermanentTan
0
Comments
Let us start with the Folder Difference invocation. Both Power Toy TreeDiff and Orcas Folder Difference support command line invocation as well as from the Source Control Explorer in Visual Studio. Starting from the Command Line In the Orcas...
Page 1 of 2 (45 items)
1
2