Home Submit Snippets Cy2Online.Net  
Ads by Lake Quincy Media
 
 
 
 

Submit Snippet

Help developers like your self by submitting your code snippets.
Snippet Title *
Language *
Category *
Description *
Using/Import Directives
Code Snippet *
Author
Website
Ads by Lake Quincy Media
Top Snippets
Semi Transparent Panel - C#
This snippet shows how to develop a custom panel which is semi transparent by overriding CreateParams and the OnPaint method of the Panel control.
Get File Path - C#
TThis code snippet gets the filename and path of a selected file using the FileOpenDialog Class.
Add Items To ListView Control - C#
This snippet adds items to a listview control. It loops through the files in the C:\ drive and displays the filename in the listview control.
Encrypt Text Using TripleDESCryptoServiceProvider - C#
This snippet uses the TripleDESCryptoServiceProvider Class to encrypt a string and save it to a text file. The key to decrypt the file is also saved into a seperate text file.
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.
Check If File Exists - C#
This snippet checks to see if a file exists using the FileInfo Class.
Get Filename Using OpenFileDialog - C#
This code snippet gets the filename of a selected file from the Open File Dialog and displays it in a message box.
Get IP Address - C#
This code snippet will get the computers IP address.
Connect To SQLServer - C#
This simple snippet creates a connection to an SQLServer.
Simple Editable Table Columns - Javascript
This snippet allows you to edit the cells of a table.