[ Home | Syllabus | Course Notes | Assignments | Search]
Assignment 4: Flying the Spaceship
NOTE: You must do at least one of Assignment 4 or 5. If you do both you will receive extra credit that can be applied towards your grade on the first three assignments. To give you time to consider your options, I am making the due date the same for both assignments but advise you not to wait till the end to do these assignments.
Description: You are to make a small change in the ATL version of the SpaceShip server program demonstrated in class and found here and demonstrate its use by accessing it from a visual basic program. The modifications to the SpaceShip object handle a finite fuel supply. As the spaceship flys it uses fuel as a function of its velocity. When it runs out of fuel, it will stop. You must refuel it before you can move again.
Due: April 20
FUNCTIONAL REQUIREMENTS:
COM Server
COM Client
Write a set of Visual Basic functions in EXCEL that will do the following:
On an EXCEL spreadsheet which will be used to control the spaceship:
IMPLEMENTATION (NON-FUNCTIONAL) REQUIREMENTS:
HINTS:
COM_INTERFACE_ENTRY2(IDispatch, IMotion)
Dim SpaceShipObj As Object
.