Open CD Rom Tray
Version Compatibility: Visual Basic 6, Visual Basic 5
These sub procedures open and close the CD tray. The controls, command1_click() and command2_click(), must both be separate command buttons, not control arrays.
Instructions: Copy the declarations and code below and paste directly into your VB project.