VB.NET Sample Code
-
Health Monitoring in ASP.NET 2
by
This is a code sample for using health monitoring...
-
Printing with formatting in VB.NET
by Jereme Guenther
This code demonstrates how to print formatted text using VB.NET, with a a printing class which allows text to be formatted at the character level.
-
Using the Credential Management API
by Alan Dean
Following secure development best practice, an application should obtain and store user credentials securely. Microsoft has provided a means to accomplish this on the desktop: the unmanaged Credential Management API, which exposes the capability to provide a standard login experience for the user which is also secure. This code demonstrates how to create a generic dialog implementation using this API.
-
Get Current Username in VB.NET
by Walter Steed
Demonstrates how to use the GetUserName API in VB.NET
-
Sending Email With an Attachment
by James Crowley
A simple bit of code demonstrating how to use the MailMessage object to send an email with an attachment.
-
Pinging a host from VB .net
by MstrControl
A class that allows ping a computer.
-
Crafty Conversion Between Graphic Formats
by Karl Moore
Think converting images between different formats is complicated in .NET? Think again. Karl shows you how.
-
Converting HTML to Text
by Karl Moore
Demonstrates how to use a simple regular expression to remove all HTML tags from text
-
XBrowse
by J P
XBrowse is a small application that allows the user to view and edit XML files as well as extract XSD schema files from the XML document. It is overall a pretty simple program that is based off of a code snippet in the VS.Net IDE.
-
Drawing A Color Gradient
by Michael H
How to fill a form or draw text with a color gradient.