C# TcpClient and NetworkStream usage behaviour
Global Network

It can be confusing at first when developing an application that employs TCP connection implementation of TcpClient, TcpListener and the underlying NetworkStream, because the way data is sent and read may not be what you think it is and the MSDN is not very explicit regarding how it actually works, leaving the developers to fall […]

Read more
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 […]

Read more
How does VSTO add-in loads

NOTE: This post is written in the context of Excel, but it is the same for all Office VSTO. Application level VSTO load sequence is triggered when the associated Office application starts. The Application looks into the registry under the key: HKCU\Software\Microsoft\Office\Excel\Addins\[Addin Name]\Manifest Workbook level VSTO load sequence is triggered by opening a workbook. The […]

Read more