Select Case Generator for Enums Add-In

Category:
Miscellaneous
Type:
Applications
Difficulty:
Intermediate
Author:
Kevin Lingofelter

Version Compatibility: Visual Basic 6

More information:
The VB IDE does a lot of great things, but forgot some basic functionality. If you use an "if" statement to test a variable that was dimmed as an enum, the IDE conveniently brings up a list of the enum members, but if you use a "select" statement, you have to write out the enum members manually in each case. This handy little add-in will take an enum definition and create a select case statement for you. Let me know how you like it!

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download selectcaseenums.zip