New Tutorials
Tutorial Language
ASP.Net C# MessageBox C#
Connecting To A Network Time Server C#
A Very Simple Oracle Query Tool C#
Simple introduction to Oracle XE with C# C#
How To Populate A DataGridView Control Using OleDbDataReader C#
Creating A Custom Message Box In C#: Part 2 C#
Creating A Custom Message Box In C# C#
New Uploads
Title Language Downloads
ASCII Art
This example demonstrates how to read an image pixel by pixel and then create an ASCII art. The project comes with a sample black and white image, which is stored in the debug folder.
C# 20
Save Image To Database
This very simple console application demonstrates how to save an image into a database as binary.
C# 210
Simple Delegate Example
This sample project demonstrates how to update a label control from another thread using delegates.
C# 91
Print Data From DataGridView Control
This code sample demonstrates how to print data from a DataGridView control.
C# 369
Simple AJAX Time
This simple ASP.Net project displays a running time on the web page. It uses the ScriptManager, UpdatePanel and Timer controls.
C# 185
FileUpload Example
This simple ASP.Net project demonstrates how to use the FileUpload control to upload a file.
C# 332
Custom Button
This example code, demonstrates how to develop a custom button in VisualBasic.Net by overriding the OnPaint() method.
Visual Basic.Net 217
Simple MD5 Example
This example shows how to calculate the md5 of a given string.
Visual Basic.Net 178
New Snippets
Title Language Views
How to get list of network SQL Server.
How to show the list of SQL Servers.
C# 102
Simple MD5 Example
This example shows how to calculate the md5 of a given string.
Visual Basic.Net 141
Memory Stream Writer and Reader
This simple snippet shows how to read and write to a MemoryStream() using Binary.
Visual Basic.Net 195
Save Encrypted Passwords To Database
It's often useful for applications to encrypt data before saving it to the database. Such a situation occurs when adding a new user record, and for security reasons, you do not want their password to be readable directly from the database.
C# 295
Download Data From A URI
This snippet downloads data from a URI and prints it to the console.
Visual Basic.Net 217
Square Root
This snippet shows how to Square a number using the Sqrt() method.
Visual Basic.Net 123
Check File IO Permission
This snippet checks a files IO permissions.
Visual Basic.Net 128
Save An Image To PNG File
This snippet shows how to create an image and save it as PNG
Visual Basic.Net 173
Add Element To An ArrayList
This snippet shows how to add to an ArrayList
Visual Basic.Net 218
Check File Attribute
This snippet checks the attribute of a file. It checks to see if the file is read only.
C# 333
1 Simple DataGridView Example - C#
This example demonstrates how to load data into the DataGridView control using string array's.
2 A Custom Message Box - C#
This example source code demonstrates how you can develop your own messages box.
3 Custom MessageBox 2 - C#
This example source code builds on a previous example of creating a custom MessageBox. New features in this example include different types of buttons and displaying an icon. Also uses different message beep tones for standard MessageBox's and warring MessageBox's.
4 Connect To MSN Messenger Using The MSN Protocol - C#
This sample application demonstrates how to connect to MSN Messenger using the MSN Protocol. It also includes how to generate a Ticket that is used with the ChallengeString. This is a simple authentication example.
5 Send Messages Using The Net Send Command - C#
This sample program demonstrates how to send messages in a network using the Windows Messenger service.
1 Read Image File As bytes - C#
This sinppet opens an image for reading as bytes. The bytes are then placed into a memorystream which is used to create a bitmap image of the bytes. The image is then set as the forms background image.
2 Retrieve the path of a file, using openfiledialog - C#
This snippet uses the openfiledialog class to get a files path. Useful for opening files from a location on the harddrive.
3 Load web image into picturebox - Visual Basic.Net
Function with picturebox and url as argument to display the passed url to image inside a picturebox I got this from freevbcode a while back.
4 Random Number Generator - Visual Basic.Net
Function that reurns a random non-repeating integer
5 Fade-In Splash Screen - Visual Basic.Net
Fade-in or Fade-out your Splash Screen
CY2 Online2.net | CopyRight 2005 - 2008 | All Rights Reserved