DFS Management Using dfsrdiag Command Line Tool

DFS replication may suddenly not work as expected and you need some ways to check its status and to further fix it if possible. dfsrdiag is a diagnostic tool that can be run on the DFS server to help give diagnostic information. dfsrdiag ReplicationState will give you the current file replication status. dfsrdiag Backlog gives […]

Compilation and List of Superhumans

I often theorize that we are all biologically different from each other since if natural selection and evolution were to occur, we need to to be born different. Due to this differences, there is really no absolute normality, we are all abnormal relatively to each other. Some abnormalites we call them disease and disabilities, while […]

Hosting WCF In IIS7 With Multiple Website Bindings

In IIS7 (should be similar in IIS6 as well) Manager, you can create a website under Sites with multiple Bindings so that the website root can be accessed by different combinations of host name, IP and port etc. However, if you have a WCF service that you intend to host in this website, there are […]

WrapPanel not wrapping as ListBox ItemsPanel

When using a WrapPanel as the ItemsPanel for a ListBox as such The WrapPanel may not wrap the items as expected. This is because of WPF’s width and height sizing issue. Depending on the type of Panel that the ListBox is contained in e.g. StackPanel, Grid, etc the width of the ListBox will be resolved […]

How to create Visual Studio Setup Project for VSTO add-in

This is written in the context of an Visual Studio 2010 and VSTO Excel add-in, that I created and had to deploy using the setup project after exploring all other options including ClickOnce, Wix, InstallShield and what-not. As it turns out, the Visual Studio Setup Project remains to be the easiest to understand and use. […]

SUBST command line tool to shorten file paths

The shadow copy service provides snapshots of the file volumes but appends a time stamp in the path. This may cause the resulting path to be longer than the system can handle. In order to copy files from the shadow copy “previous versions”, you need to shorten the path name. The SUBST command line tool […]