Library code snippets tagged with visual basic

Search filter
Tags
Page 3 of 20
  • Create Table in a Database

    by amoibade

    This code shows you how to create a table and it's indexes in a database at run time. visual basic

  • Create Reg Key API

    by Mike J

    A beginners code to learn how to create a new key for your app in HKEY_LOCAL_MACHINE like "the real programmers" do, and not using VB's rather lame option. visual basic

  • Converting HTML Colour to RGB

    by Kym Manson

    How to convert a HTML colour code to a RGB format. visual basic

  • Binary to Decimal Convertor

    by Sweet

    A simple function to convert Binary numbers to Decimal numbers. visual basic

  • Add Controls at Runtime

    by Brian Caudill

    This program takes in a name for the control, properties of the control and type of control, and displays the control to the screen. Shows how to create controls at runtime. visual basic

  • ActiveX Data Object Simple Routines

    by Macky M

    These groups of Procedures will allow you to Open Databases, Run SQL Statements, as Well as Execute Stored Procedures without hassle... visual basic

  • Virtual Drive

    by joshualaymon

    This will allow you to create a Virtual Drive on your computer, making a particular folder appear with its own drive letter. visual basic

  • MP3 Player

    by Edgar Sanchez

    Demonstrates using the Windows Media Player control to create an MP3 player including theme generation, volume control, and random selection of songs. visual basic, mp3

  • wExceptionHandler Handles your Exception Errors!

    by Thushan Fernando

    This is an ExceptionHandler, what is an Exceptionhandler? Once the wExceptionHandler is installed it will allow you to catch and trap those errors that Windows will throw at your application (Eg. Access_Violation) Which doesnt get treated by the Visual Basic Error handler, making your application bullet proof! visual basic

  • Create nested folders

    by Harold Noble Bright

    Automatically create nested folders using this simple procedure visual basic

  • Converting RGB to HEX colour codes

    by Ruan Meyer

    This is a simple color converter, Using a textbox control to display the color, three text boxes for Red, Green and Blue values, also 3 sliders if the exact rgb color is not known visual basic

  • Prevent Multiple Instances

    by Terry Rogers

    Prevent Multiple Instances of a 32-bit VB Application visual basic

  • Generic Quick Sort

    by Peter Chapman

    A generic implementation of the infamous quick sort algorithm. Uses a simple callback mechanism allowing any data type inculding UDT's and objects to be sorted quickly and efficiently. visual basic

  • Sorting Algorithms

    by Mike Gagne

    Here are some examples of sorting algorithms in Visual Basic. It includes the Quick Sort, the Selection Sort, and the Bubble Sort. Bonus code is included for using the Quicksort on a 2-dimensional array, sorting by one of the dimensions. visual basic

  • Creating color degradations with any two colors

    by Jose Pablo Ramirez Vargas

    Two functions that allow the calculation of the colors between any given two colors. The color gradient can be customized. visual basic

  • Fading The Form

    by Antony Lees

    In most setup programs you will see the form start as black at the bottom of the form and fade into a light blue at the top of the form. This code shows you how to do just that, with any colour you want! visual basic

  • Icons in Menus

    by vijaybond

    A sample program to teach how to add an icon to a menu item. It will show you how to add an icon beside the Save, New, Open, etc. in a menu bar. visual basic

  • Listview SubItem Click Detection

    by Kym Manson

    How to detect when a Listview's subitem has been clicked. visual basic

  • Fit Filenames Into a Specified Width

    by Kym Manson

    You know how some programs (like when Windows copies a file) the filename is too long, so Windows shortens it to "C:\Wind...\help.txt"; well, this is how to do it. visual basic

  • Custom Title Bar

    by nzjonboy

    Do you want to create your own title bar for forms in your VB application? Here's how. visual basic

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