Get Logged In User Using secur32.dll
-
30 September 2007
Framework: 2.0
Windows Application
This code sample demonstrates how to get the logged in username using GetUserNameEx and secur32.dll.
Flash Window Title Bar
-
30 September 2007
Framework: 2.0
Windows Application
This program demonstrates how to flash a forms title bar repeatedly using a timer.
Convert Image Bytes[] To Base64 String
-
25 September 2007
Framework: 2.0
Windows Application
This program open an image file for reading in binary mode. The bytes is then converted to a Base64 string. The string can be copied from the textbox and embeded into your programs.
Screen Capture
-
21 September 2007
Framework: 2.0
Windows Application
This program captures the desktop screen and displays it as the forms background image.
Desktop Items
-
21 September 2007
Framework: 2.0
Windows Application
This program is a small utility that displays all the folders on your desktop in a transparent bar which stays fixed at the top of the screen. By clicking on a folder, the explorer window is opened showing the contents of the folder.
Connect To MySql Using Connector/Net
-
21 September 2007
Framework: 2.0
Windows Application
This program connects to a MySql database on the localhost using Connector/Net which is a fully-managed ADO.NET driver written in 100% pure C#. This example uses a MySqlDataReader object to fetch the table rows from the database.
Custom DataGrid
-
16 September 2007
Framework: 2.0
Windows Application
This sample application demonstrates how to develop a simple DataGrid control using a TableLayoutPanel and array Labels at runtime. You can make the first row a header. The control also adds scrollbars if the columns and rows need to be scrolled.
MS Access Example
-
16 September 2007
Framework: 2.0
Windows Application
This simple program shows how to get connected to a MS Access database with very little code.
Export Data From Text File To DataGridView
-
16 September 2007
Framework: 2.0
Windows Application
This is a very simple program, which demonstrates how to read a CSV file and load the data into a DataGridView control. Very simple code with comments.
Find Using Regex
-
07 September 2007
Framework: 2.0
Windows Application
This sample program demonstrates how to find and hightlight a word in a text box using the RegularExpressions assembly and the Match Class.
1
2
3
4
5
6
7
8
9
10
11
12