A tutorial with examples of how to draw different things on a form using OnPaint.
Google Search using Web Service
Tutorial that shows how to build a C# application that can search the web using Google’s Web Service. With the Google Web APIs service, software developers can query more than 4 billion web pages directly from their own computer programs. Google uses the SOAP and WSDL standards so a developer can program in his or […]
Beep In The PC Speaker
Generate a beep in the PC speaker using C# and an unmanaged call to the Beep() function that is part of the Windows kernel.
How can I insert a new line in a TextBox?
To insert a new line in a TextBox, first make sure you have the MultiLine property of the TextBox set to True. Then use \r\n (carriage return and new line), as in the following example:
How do I convert from decimal to hex and hex to decimal?
If for any reason you want to convert a decimal number to a hex value or vice versa here’s how it’s done in C#. In the above example we convert the decimal stored in the int variable named decValue and store it in a string variable named hexValue.Then we convert the hex value stored as […]
Antialiasing / Smoothing
Learn how to apply antialiasing on shapes using GDI+. Uses SmoothingMode and PixelOffsetMode enumerations.
ADO.NET and Access database I
How to connect to an Access database from Visual C# .NET, retrieve data and display it using a DataGrid with ADO.NET, using a dataSet.
ADO.NET and Access database II
How to connect to an Access database from Visual C# .NET, retrieve data and display it in a listBox with ADO .NET, using a dataSet.
Getting input from keyboard
Getting the current pressed key on the keyboard, key combinations, key value and combining mouse clicks with key pressing.
Using a Geo IP Web Service
Using an web service to determine the originating country for an IP address.