Library code snippets tagged with vb.net

Search filter
Page 2 of 3
  • How to access a MySQL database with .NET

    by Edward Tanguay

    Demonstrates how to connect to a MySQL database with C#. asp.net, vb.net, ado.net, mysql

  • Virtual Stack

    by Daniel Okely

    This is an implementation of a stack. vb.net

  • Clearing TreeView taking too much time

    by Palo Mraz

    Explores an odd feature of the System.Windows.Forms.TreeView and a simple workaround. vb.net

  • User-Friendly Validation using ErrorProvider

    by Tim Dawson

    Data entry is a very important part of a lot of applications. It is important to validate data as it is entered without disturbing the user. Enter the ErrorProvider component. c#, vb.net

  • Get Current Username in VB.NET

    by Walter Steed

    Demonstrates how to use the GetUserName API in VB.NET vb.net

  • Send File to Recycle Bin in VB .NET

    by Walter Steed

    .NET version of "Send file to Recycle Bin" 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. vb.net

  • Screen Resolution

    by Bharat Nagarajan

    Helps you to get the screen resolution from VB.NET vb.net

  • List Files in a Directory

    by JesusFreak

    A little code snippet that lists files in a directory vb.net

  • Pinging a host from VB .net

    by MstrControl

    A class that allows ping a computer. vb.net

  • Flatten That Combo Box, Man!

    by Stacey Brown

    A .NET class written in VB.NET for your own flat combo box. vb.net

  • API Samples

    by Matthew Taylor

    Shows samples of how to use different kinds of APIs. Changing and getting different system settings such as mouse position, beep length and frequency, computer name, user name, drive type, swap mouse button. You will need to create the needed controls on the form before accessing them in code of course. vb.net

  • How to “Snap” the Cursor

    by Karl Moore

    Learn how to move the cursor position to slap bang in the middle of your control. vb.net

  • Are You Running in the IDE?

    by Karl Moore

    Here's how to detect if your .NET code is currently being debugged, or if we're in design mode. vb.net

  • Crafty Conversion Between Graphic Formats

    by Karl Moore

    Think converting images between different formats is complicated in .NET? Think again. Karl shows you how. vb.net

  • Random Numbers... That Work!

    by Karl Moore

    Has all this talk about seeds got you confused? Here's a nice snippet to show you the best way to get random numbers in .NET. vb.net

  • 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. vb.net

  • How Big is that File – in English?

    by Karl Moore

    Not everyone wants to convert 2147483648 to 2 GB in their head every time we want to know how big a file is. Here's an easier way. vb.net

  • The Trick to Temporary Files

    by Karl Moore

    Karl Moore reveals how to save temporary files in... the temp directory! vb.net

  • Is an Internet Connection Available?

    by Karl Moore

    Check if an internet connection is available using this simple code snippet. vb.net

Want to stay in touch with what's going on? Follow us on twitter!