Edit Any Collection in an MS Flex Grid
Category:
Forms and ControlsType:
ModulesDifficulty:
AdvancedAuthor:
Alan CaveVersion Compatibility: Visual Basic 6
More information:
Any collection can be passed to this form and edited in a spread-sheet style grid.
This approach uses Typelib information to retrieve the properties of a collection and populate a grid form with all of the items of that collection.
The collection editing form supports cut & paste, and insert & delete, etc.
(Interestingly, this is what happens when you combine the "grid edit demo" from http://www.freevbcode.com/ShowCode.Asp?ID=1322 with the "persist com objects demo" from http://www.freevbcode.com/ShowCode.Asp?ID=1612)
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 collectedit.zip