Category Archives: Visual Basic 6 (VB6)

Animated Cursors

How to load an animated cursor for use in your VB app. Attachments File Uploaded Size 899-20170813-113035-SETCURSR.ZIP 8/13/2017 11:30:35 AM 2314

Text Search

How to search across directories for a file containing specific text. Uses a recursive technique to search sub-directories (similiar to the Windows Find utility). Also shows how to properly cancel a long routine. The recursive procedure is similiar to the DirView sample but uses slower VB directory changing and searching methods rather than API functions. Attachments File Uploaded… Read More »

Screen Background

How to create a Form that has the Windows Desktop as the background. This program makes it appear as though the Windows Desktop is still running, but it actually copies the image of the Desktop to an Image control that is used as the Form’s background.  Attachments File Uploaded Size 899-20170813-112705-SCRNBACK.ZIP 8/13/2017 11:27:05 AM 2393

StatusBar Panel

How to use any color or font in a StatusBar panel. Attachments File Uploaded Size 899-20170813-112548-SBPANEL.ZIP 8/13/2017 11:25:48 AM 1904

RichTextBox Scrolling in VB6

How to create a “chat” style window. This sample duplicates the functionality of a window such as those in mIRC – where text is added to the bottom of a RichTextBox and is scrolled into view IF the scroll bar is at the bottom, but doesn’t move the window when the user has scrolled up.  Attachments File Uploaded… Read More »

RichTextBox Position

How to make the RTB caret follow the cursor. Shows the current row and column below the cursor.  Attachments File Uploaded Size 899-20170813-112215-RTBPOS.ZIP 8/13/2017 11:22:15 AM 2234

Simple MS Access Database Demo with VB6

This is a very simple program using VB and MSAccess. This code will allow you to Add, Edit, Delete, and Search entries in the database. The original project file was hosted on another site, but included references to an OCX control that was no longer available. The author had good intentions, and had hosted it on his personal… Read More »