CIS 56 INTRODUCTION TO VISUAL BASIC

 

Evening School

Programming Assignment 7

Week of March 30,2003

 

This assignment will accord you one of three options; each one carrying a maximum grade you can receive, depending on the one you choose.

 

The purpose of this assignment is to see how well you can develop a project using the tools weve looked at up to this point in; chapters 1 through 8; including 6, the newest of our tool collection. The multiform concepts will be gone over in tomorrow nights class. I will have examples, NOT WHOLE PROGRAMS THIS TIME, but examples nonetheless, that will give you what you need to complete this assignment.

 

Grading of this assignment will be very meticulously done.

You now know enough to put together a project that is neat and organized in both design and code as well as well documented, so the deduction of points will be greater in this assignment than in past assignments.

 

Directives:

 

For each option below, think of the personal or specific data array as a master file where a person or things specific data are entered. Ex: Id, name, address, part number, location etc.

 

C+ MAX. GRADE

 

Taking the topic I asked you to think about using in last weeks assignment, you are to do the following:

Design a project that incorporates 2 forms.

 

The first form allows the user to enter some type of personal data or specific data and allows the user to perform some type of processing. Similar to the projects you have been doing so far.

 

The personal or specific data should be stored in a user defined data type array and some kind of key like an ID, that is unique should be used to act as a search argument.

 

The processing data should be stored in another array of your choice.

The processing should allow the data in the processing array to be changed by some calculation, or added to.

 

There is to be a second form, to be used for display.

The display should be that of all data pertaining to a specific record, found when the user is prompted and enters an ID.

 

The maximum grade you can expect to get, if you select this option is a C+.

 

B + OPTION:

 

If you select this option you are to do as follows:

 

Do all that is required in the C+ option with the following changes and/or additions.

Use 4 forms in this version.

 

The first form, the start-up form, should be a main menu of command buttons.

It should have the following command button options.

 

Each form should have an option to clear, so the user can re-enter, and an option to return to the main menu.

 

Note that the maximum grade you can receive for this option is B+

 

A + OPTION:

 

To receive up to an A+ grade you must do this option.

 

Do all of the B+ option, but include the ability not only to add records to the personal/specific data array, but also the ability to change and delete data from this array as well. If the delete option takes place, the respective transaction array record/row should be deleted as well as the master record.

 

Also, before a deletion actually takes place, the user should be given a second chance as to whether or not he/she wants to actually delete the record(s).

 

Also, in this option, you are to include a third array that is hard coded and used as a reference for a price or part or number. In other words like a chart, or caption filler which I will explain in class Monday night

 

The use of splash screens and/or about boxes is entirely up to you. There is no requirement to use either of these at this time.

 

MUST DO REQUIREMENTS THAT PERTAIN TO ALL THREE OPTIONS REGARDLESS OF THE ONE YOU CHOOSE TO DO:

 

 

Tomorrow nights class will cover multi-forms and using Lower boundaries and Upper boundaries when referencing array elements. Other topics might be touched on, if time allows. One such topic will be that of drop-down menus which is covered in chapter 5 of your text.

 

To get ahead on the reading, when you have a chance, begin reading chapter 10 on Data Files.

 

Next weeks class will cover topics I have not yet touched on with you. This will include the concept of dynamic arrays. This concept is not contained in your text but, since it is supported in VB 6, you should know what it is about as well as the concept of Option Base 1.

 

Then if time allows, we will begin looking at sequential files. Otherwise we will start files on April 14th.

 

Remember also, that next weekend you will be issued your next Quiz. This quiz will also allow me to gauge your understanding of what weve done so far. As mentioned last week, it will have to do with a program or two. You will have to document and explain a pre-written programs code. There is a possibility that you may have to correct errors in the program as well. This has not been decided as yet.

 

In light of this, I would strongly suggest that of the above options, you at least do the B+ or A+ options. These will best serve to prepare you for the quiz. Any and all things covered up to this point, either in class or the text is fair game for the quiz to include.

 

As usual, direct any questions you may have to me and I will try to get to them A.S.A.P..