How to add DLL to Visual Studio projects

Some days ago I received an email, in which I was asked, how to embed/include .dll-files to into Visual Studio projects. So here comes the answer to the question: How to add dlls to an ongoing Visual Studio project?
The solution to the problem is closer than some of you might think. First you right-click on the “references”-label in the Solution Explorer and click in the context menu on “Add reference” . (Fig. 1)
Now click on the “Browse” button, select the desired (. NET compatible) DLL and confirm your selection by clicking on the “Ok” button. (Fig. 2)
In the last step you can add the appropriate using directives in your source code for an easier access to the methods of the obtaining DLL. (Fig. 3)
Visual Studio - Verweise  Dlls auswählen

Why Whatsapp is boon and bane at the same time

Whatsapp CC LogoWhatsapp, one of the most widely used messengers for mobile devices, should be known to the most people. I myself use Whatsapp since one and a half years and I have always been satisfied. I never had problems with messages send too late or something similar. Even money I had to pay not yet. And as my smartphone phone contract brings an internet flatrate with it, Whatsapp is a free alternative to SMS for me, which I don’t want to miss anymore.
Well now the payment model of whatsapp should indeed be known. iOS users pay once for the app – users of other systems, so as Android, BlackBerry and Windows Phone, get the app for free, but will be prompted after one year to pay for the service. The annual fee is then close to 1$. Even so […]

How to save configuration settings in C#

How to save settings really quick and easy in C # applications? I’m sure this question has been asked certainly by everyone once during his career as C# programmer. And did you know? The answer is quite simple. The easiest way to answer this question is to use the  AppSettings from ConfigurationManager class of the .Net-Framework.
The. Net Framework brings its own managers to save and load settings with it. The properties are stored in the common XML format. And so you can see that dealing with the AppSettings is really a no-brainer , I have written two small functions for saving, changing and reading preferences.

public string getAppSetting(string key)
{
//Load the appsettings
Configuration config = ConfigurationManager.OpenExeConfiguration(
System.Reflection.Assembly.GetExecutingAssembly().Location);
[…]