Tag Archives: how-to

Visual C++ CLR Class Library – where is the DLL?

I was recently working on a project that interacts with different applications and I created a solution that involved two projects – one is based on C# and the other one is built with C++ (managed). In fact, the second project is nothing more but a class library. When I built the C++ project, I [...]

I Got Code #5: Downloading linked images

There was actually a question that got me thinking – how would I implement a program that downloads pictures from a web page, that are pointed by some links? Here is a sample console application I came up with: using System; using System.Collections.Generic; using System.Net; using System.Threading; using System.IO; using System.Text.RegularExpressions; using System.Drawing; namespace ConsoleApplication [...]

I Got Code #4: WPF TextBox with rounded corners. What and how?

What is the first idea that comes to mind when someone mentions rounded corners and WPF? Probably Border. That is the right thing to think about, but how to apply it to a TextBox control? There are two ways to achieve what you want. Way A: The most obvious thing would be creating a border [...]