Browsing VB6 Custom Functions

Displaying page 1 of 2 | Prev | Next

Bytes -> Megabytes Converter Function

Converts a figure represented in bytes to the corresponding figure in megabytes, formatted to two decimal places. With a little modification, this could also be converted into a multi-value converter for kilobytes, gigabytes, terabytes, petabytes, etc.

Posted:2018-02-11, 77 views

Drag form without titlebar

Drag a form that has no titlebar! Add the routine listed below, and call it in the 'MouseDown' event of the form (or a control on the form):

Posted:2017-08-06, 85 views

Folder Guard

With this code you can create a application that watches specified folders. When someone try's to access a folder that is being watched, the application closes the folder and displays an error message.

Posted:2018-02-28, 66 views

Insertion Sort for VB6

This method uses the insertion sort algorithm to sort a numeric array. This algorithm is one of the simplest available, but there are better algorithms (to be posted on this site shortly) for longer lists.

Posted:2018-03-13, 75 views

ListBox Horizontal Scroll

Adds a horizontal scroll bar and scroll event.

Posted:2017-08-05, 76 views

ListBox Searching

How to implement Windows Help style ListBox searching. Uses a TextBox and ListBox with auto searching in the ListBox with each keypress. 

Posted:2017-08-04, 78 views

More ListBox Horizontal Scrolling

How to create a horizontal scroll bar in a ListBox. Also fills a ListBox with directories and filenames.

Posted:2017-08-05, 81 views

MultiLine TextBox

How to extract the lines from a multiline TextBox. Also shows how to auto-scroll the TextBox as you add items. 

Posted:2017-08-09, 89 views

Displaying page 1 of 2 | Prev | Next

Code Links