Sebastian Wojciechowski’s WebLog

.NET Developer

Archive for the 'Windows Development' Category

First things you need to know

You can see the list of detected and enabled addins in Outlook in: Tools->Options->Other->Advanced Options->COM Add-Ins… If there were some error and addin has not been loaded it will be there with unchecked box. This is where […]

Read Full Post »

Recently I have been asked this question. Answer is that it cannot be null and will not be null, so you don’t have to:
.Text != null
Why? Because .Text property in base class does:
set
{
if (value == null)
[…]

Read Full Post »

I recently had this problem. I have a Windows Form that hosts a WebBrowser control. The page in the WebBrowser control closes itself using window.close and when it does that the Windows Form freezes up.
Found a solution here posted by Jeff Sanders on his blog (thanks man!)
The sample code is provided in VB.NET Below is […]

Read Full Post »