Stack Class

Category:
Lists, Collections and Arrays
Type:
Classes
Difficulty:
Intermediate
Author:
anton oey

Version Compatibility: Visual Basic 6

More information:
A stack object implemented as an active x .dll, with methods such as AddToBottom, AddToTop, AllItems (returns items in stack as an array), FindItem, PopTopItem, PopBottomItem, and more.

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

Declarations:

Code:

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 stack.zip