|
-
May 27th, 2011, 03:26 PM
#1
Thread Starter
New Member
Please Please Help
I realize that it is wrong to ask for help on a Final project. BUT I just had a baby and fell behind in this class. I completed all my work and now my final is due in 1 day and I cant seem to wrap my head around the assignment. I have been trying all day and have only come up with the sad code below. Programming is not my area of study so I will not miss out on knowing this information. I didnt realize this class would be so difficult for me. 
If anyone out there is bored and loves a challenge, can you please help me with this? 
Here is the assignment:
Customer Accounts-
Create an application that uses a structure to store the following data about a customer account: Last Name, First Name, Customer Number, Address, City, State, ZIP Code, Telephone Number, Account Balance, and Date of Last Payment. The application should allow the user to save customer account records to the file, search the file for a customer by last name or customer number, and print a report listing all the customer records in the file.
Input Validation: When entering a new record, make sure the user enters data for all fields. Do not accept negative numbers for the account balance.
The project should include the following:
•A decision statement (If... Then..., a Case Statement, etc....)
•A control structure (For...Next..., Loop, etc....)
•Exception Handling
•A Flowchart
•Variables
•Form Controls (textboxes, labels, etc....)
Additionally, in order to personalize your Final Project, you must display your first and last name in a Label control in the top left corner of your main form. To do this you must find the letters of your name in the Academic Ethics and Integrity Statement.(see below) Using the string manipulation techniques described in Chapter 4, concatenate these letters to form your name. Output this concatenated string to the label on your form.
Academic Ethics and Integrity Statement:As a leading institution of higher education, Rio Salado College strongly promotes core principles and values of Academic Ethics and Integrity. We believe in the central importance of ethical values and academic character virtues in achieving academic excellence. It is the duty and responsibility of all Rio Salado faculty, students, employees, clients, and partners to support ethical principles and values and to incorporate them into all practices of our core college principles of learning, innovating, and partnering.
As a foundation for all other ethical values, Rio Salado College is committed to excellence. We support high standards of quality and ethical behavior, pursued and practiced with diligence, conscientiousness, and discipline. We expect the best from ourselves and value the necessary human effort and courage, often in the “face of adversity,” in realizing our highest ideals.
Since becoming an educated person or a valuable employee is a personal accomplishment and achievement, we expect self-responsibility and accountability. As a core character virtue, self-responsibility empowers and motivates the learner and is the foundation of all meaningful achievements. Further, self-responsibility is necessary for mutual trust and dependability. Self-responsibility entails that we are held accountable for our actions and accept the appropriate consequences for our behavior.
As a center of learning and study, we critically value the pursuit of truth; further, we value truth as a necessary foundation for trust among us. Hence, we esteem honesty, integrity, and authenticity as character virtues in our institution, and we do not tolerate anything less. Through a number of ongoing institutional practices, we monitor and verify the integrity and authenticity of student assignments. In order to secure and maintain our public trust with the community, we understand that honesty and integrity are critical.
This is all I have so far, and I'm pretty sure its wrong. I have read the textbook over and over and I am just at a blank, my mind is overloaded with information. Please PLEASE Help!
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
Dim strFilename As String 'File Name
'Get the file name from user
strFilename = InputBox("Enter the filename.")
End Sub
'Local Variables
Structure CustomerInformation
Dim strLastName As String 'Last Name
Dim strFirstName As String 'First Name
Dim intCustomerNumber As Integer 'Customer Number
Dim strAddress As String 'Address
Dim strCity As String 'City
Dim strState As String 'State
Dim intZipCode As Integer 'Zip Code
Dim intTelephoneNumber As Integer 'Telephone Number
Dim decAccountBalance As Decimal 'Account Balance
Dim dtmDateOfLastPayment As Date 'Date of last payment
End Structure
End Class
I tried attaching my VB file but it wouldnt let me. I can email it to anyone that wants it. Thanks!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|