Use Typename And Tooltips to Show Datatypes in Your Controls

Category:
Lists, Collections and Arrays
Type:
Snippets
Difficulty:
Beginning
Author:
Patrick Lockefeer

Version Compatibility: Visual Basic 6

More information:
These two sub procedures will display a variables data type in your controls and add the corresponding information to a listBox. In this example a control array of text boxes is used with a listBox.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: