Reflection Example
-
01 November 2007
Framework: 2.0
Windows Application
Reflection allows you to get information about an object in runtime. That information contains data of the class. Such as constructors and methods. This simple example demonstrates how to get all the constructors and methods from the MemoryStream class.
Reflection Example 2
-
01 November 2007
Framework: 2.0
Windows Application
This example demonstrates how to dynamically query any of the standard classes by entering the full path of the Namespace. It displays a list of all the constructors and methods for class.
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.
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.
Simple Data Structure
-
26 August 2007
Framework: 2.0
Windows Application
This sample program demonstrates how to create a very simple data structure.
1
2