CIS 56 INTRODUCTION TO VISUAL BASIC

 

Evening School

Programming Assignment 8

Week of April 14th

 

You have two options of this assignment from which you can choose, an A version or a B version.

Programming Assignment (TWO SEPARATE PROJECTS) B VERSION:

Highest grade obtainable = B+

 

Do a project that creates a sequential file.

To the project, you will need to allow for adding (appending) to the file.

You will also need to allow for a display of a specific record, reading the file sequentially to retrieve it and a way to display all the records in the file. You should use multi-forms to do the displays.

 

In the second project, you are to create a random file.

The project is to allow for the addition of records, the editing, (changing data in a specific record) and the ability to delete the record from the file.

 

There is to be a way to display a specific record, randomly selected by the user. Providing a way to display all the records in the file is optional.

 

A VERSION A CHALLENGE:

Highest grade obtainable = A+

 

Do all of version B

 

This version, should you decide to do it, has to do with project 2, the random file project.

 

In addition to the above random file, from version B, you are to add a second random file for transactions.

 

KEEP IT SIMPLE! DONT GET INTO TOO MANY CALCULATIONS AT THIS POINT.

IF YOU CAN DO A SIMPLE TRANSACTION UPDATE, YOU CAN DO COMPLEX ONES. IM LOOKING TO SEE IF YOU CAN DO IT, NOT HOW INVOLVED YOU CAN GET.

 

Essentially, what I am looking for is for you to use the second file for some type of calculations that can be changed randomly.

 

For example, you can have a student data file, which is a random file and a grade file, also a random file that holds the students grades and average. The grades should be able to be changed when the user searches/enters a students id. When grades are changed, the average must also change to conform to the grades.

 

Try to come up with an idea of your own other than student grades.

 

Each file must have matching IDs for reference.

 

Then when you display a record at random, it should get the data from the data file AND the transaction file and display both records.

 

Also, include some error handling of your choice.

 

When you submit this assignment, you are to are to send the project, as you have been doing, ALL the forms and THE FILES.

 

Send the sequential assignment in a separate e-mail from the random assignment.

 

IMPORTANT***** YOU MUST USE APP.PATH BECAUSE I WILL PLACE YOUR ASSIGNMENTS AND THE FILE(S) IN ONE FOLDER. IF YOU SPECIFY A PATH, IT WONT MATCH UP WHEN I DOWNLOAD IT AND IM NOT GOING TO RE-CODE YOUR PROGRAMS TO MAKE THEM FIT.

 

I hope to clarify this at our next meeting.