.NET Sample Code
-
The Ordinal Number Function
by Karl Moore
Give numbers their ordinals back.... this function automatically returns the correct ordinal; "st", "nd", "rd", "th" depending on the number you give it.
-
System Menu Classes
by Michael H
Two classes that provide system menu functionality similar to the regular Menu and MenuItem classes so that you can use regular Click events instead of overriding WndProc.
-
SQL Data Provider VB.NET Class
by
This class includes some useful methods for working with Misrosoft SQL Server in .NET simply and quickly.
-
Precise .NET Server Content Caching
by Dimitrios Markatos
A simple demonstration of how to programatically use the caching facilities that ASP.NET offers.
-
IP2Location Geolocation .NET Component in VB.NET
by IP2Location Inc
IP2Location .NET component that translates IP address to country, city, region, latitude, longitude, ZIP code, ISP and domain name. Developers use this component for projects related to: 1. Display native language and currency; 2. Redirect based on country; 3. Digital rights management; 4. Prevent password sharing and abuse of service; 5. Reduce credit card fraud; 6. Web log stats and analysis;
-
Send File to Recycle Bin in VB .NET
by Walter Steed
.NET version of "Send file to Recycle Bin"
-
Reveal internal DLL functions
by ElementK Journals
Uncover internal DLL functions with Dependency Walker
-
Add your Web Link to the Favorites!
by Karl Moore
Ever wondered how to add a internet link to Internet Explorer's Favourites from your app? Here's how!
-
Getting Started With C#
by Bill Burris
This example is to get you started using C# in Visual Studio.NET. It is intended to be used as your first program to test your Visual Studio .NET installation, and to start finding your way around in VS
-
Visual WebGui a unique approach to AJAX development
by Guy Peled
Visual WebGui is not just another AJAX framework but rather a different approach to web application development, specially designed to simplify building highly complex applications like Outlook Web Access (OWA). Visual WebGui makes it possible for developers to create applications that were previously developed only by the "big guys".
-
Doing without Control Arrays
by Brian O'Connell
Many people ask how implement control arrays in VB.Net. The simple answer is you can't. I've created a vb.net project that demonstrates how to create a series of command buttons based on a user selected amount. It then adds these buttons' click event to an existing click event for a control placed on the form in design time. As far as I can tell this pretty much covers what you might want to do with arrays.
-
RSS Feed Helper Class
by James Crowley
A simple helper class to make generating an RSS feed a piece of cake - its the one we use on Developer Fusion too!
-
System Menu Items
by Michael H
How to add menu's to the system menu and respond to clicks.
-
Modify a Window's System Menu
by Steven Cohn
How to add an additional menu item to a windows system menu.
-
Interacting with TinyPic from C#
by Fernando Sanchez
The following tutorial will demonstrate how to interact with http://tinypic.com, an image mirroring service, directly from a C# application using the WebRobot component.
-
Forms Authentication Against An XML File
by Orcs Web
The code demonstrates how to validate a username and password against an XML file.
-
Flatten That Combo Box, Man!
by Stacey Brown
A .NET class written in VB.NET for your own flat combo box.
-
Associating your program with every file
by David Cumps
Learn how to add a program to the shell right click menu for every file.
-
Priority Queue .NET
by Rasto Novotny
Priority queue is collection like stack or queue. Objects are pushed into priority front in any order, and a priority is assigned to each object. They can be then popped from priority front ordered by priority. It is able to specify if objects with lower priority are popped first or objects with greater priority are popped first.
-
An AutoRedraw Property
by Michael H
A simple AutoRedraw property to fool around with.