devxlogo

.NET

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

Giving a User Control a Border

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

Error Log with USING & Try Catch

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