
Find and Activate External Windows
It is very easy to obtain access to an external running window and activate it. All you need is the actual title of the window ( the text written in

It is very easy to obtain access to an external running window and activate it. All you need is the actual title of the window ( the text written in

You will encounter a situation where you would like to disable all the controls inside a container control except for one. Now, as simple as this sounds, it can be

You can give a User Control a border with the following code: protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle &= (~NativeMethods.WS_EX_CLIENTEDGE); cp.Style &= (~NativeMethods.WS_BORDER); switch

When you need to cast some type to another type in VB, you should favor the “classical” functions CBool, CByte, CInt, CLng, CDec, CSng, CDbl, CDate, CStr and the “new”

It is always a good idea writing exception details to an Error Log. You can refer to this file to determine a certain exception pattern, or track it down to
The following code makes use of the Shell32 .Shell class to minimize all open windows, similar to what the Show Desktop button on the taskbar does. This also hides all