Sample Code
-
Sorting and Searching Using C# Lists
by Craig Murphy
The support for lists in C# 2.0 makes sorting and searching very easy. This code snippet demonstrates how to create a list of Person objects (with name and age attributes), sort by name, sort by age and search based on age.
-
GDI+ Image Encoder and Decoder Info
by Mitch ★
Sample code to display useful information about the built in GDI+ Image Encoders and Decoders. Easily used to display information about any Encoder and Decoder as well.
-
Date And Time Validation Functions
by Hari K
This function is used for VB.Net developers. It is useful for Date validate when the date format is "dd/MM/yyyy" or "dd/MMM/yyyy". Time validation is also useful for Validating the given time in the format of "HH:mm:ss"
-
Create Dynamic Menu in VB
by Hari K
This coding is useful for VB Developer who are interesting to create Dynamic menu. Steps: Add form - Name - frmMain Image List - Name - imglstImages Label - Name - lblLabel Class- mcPopupMenu
-
The "Using" Statement in C#
by Xavier Larrea
The using statement in the c# language allows us to define an scope for an object lifetime. This statement obtains the resource specified, executes the statements and finally calls the Dispose() method of the object to clean it up.
-
Sending Authenticated Emails in .NET 2.0
by Xavier Larrea
Learn what's changed with .NET 2.0 and how to send out emails using an SMTP server that requires authentication.
-
Uploading Files Using ASP.NET
by Man from Mars
No need of third party components to upload your files. It is so easy to upload files in ASP.NET using just 3 lines of code.
-
SQL Data Provider VB.NET Class
by
This class includes some useful methods for working with Misrosoft SQL Server in .NET simply and quickly.
-
Convert Decimal Integer Values to Binary String in VB6
by Alex Etchells
A small function to convert decimal integer values to a binary string. The number of bits can be optionally specified but this will be increased if insufficient.
-
VB6 NMEA Interpreter Class for Reading GPS
by Alex Etchells
A VB6 version of Jon Person's .NET NMEA Interpreter Class as referenced in 'How to Write a GPS Application'. GPStest.zip contains the class and a simple project demonstrating implementation.
-
CSS Positioning Within a Container
by Trenton Moss
One of the best things about CSS is that you can position an object absolutely anywhere you want in the document. It's also possible (and often desirable) to position objects within a container. It's simple to do too.
-
Centre Aligning a Block Element
by Trenton Moss
Learn how to have a fixed width layout website, and the content floated in the middle of the screen, with pre IE 6 compatability.
-
Image replacement technique
by Trenton Moss
It's always advisable to use regular HTML markup to display text, as opposed to an image. Doing so allows for a faster download speed and has accessibility benefits. However, if you've absolutely got your heart set on using a certain font and your site visitors are unlikely to have that font on their computers, then really you've got no choice but to use an image.
-
Real time menu editing
by Adam Gunning
Add / Remove items from the "Menu Editor" menu.
-
Using Microsoft Agent in C#
by M M Harinath
Microsoft Agent is a new technology, which allows Programmer to create and use animated characters that can interact with end users. It also supports the Microsoft Speech API, which allows the character to speak with the user.
-
Bulk Insert from Flat File Using Transact-SQL
by M M Harinath
Importing Data from Text File using Transact-SQL is not a tough task, we can import data from Flat File in just 3 steps.
-
Checking Internet Availability using C#
by M M Harinath
While developing Internet applications, this is important to check whether the internet connection is available or not. This snippet will be useful to achieve the above mentioned task.
-
CSS font shorthand rule
by Trenton Moss
Learn how to shorten those CSS font rules.
-
Building an 'AJAX' ProgressBar in Atlas
by Wilco Bauwer
Learn how to write a basic, client-side Atlas progress bar, and download the source code.
-
Working with Excel Files Using VB6
by Adil Hussain Raza
This code snippet demonstrates how to open, read and write to excel files. The concept is very simple. Totally aimed at beginners and well commented!