Please help... assignment Q...?
-
please help me with this Q... i tried a lot, but i just cannot figure it out.. ill appreciate it if u help me out here.. how do u perform these??? Using visual basic 6.0 make a data file containing following names and grades Angie Harmon, 95 tom Jones, 75 Gary Hart, 60 Suzie O'donnell, 85 Bob Simon, 73 Dave Russo, 81 Katherine Bell, 93 1. read the info of the text file assuming the number of data items is unknown. 2. print the contents of the data file to a picture window have a command button to find the smallest and the largest grade and print it to the picture with corresponding names. have a command button that prints the avg. of all the score to a picture box. 5. make it user friendly. the program must use the three picture boxes, 2 command buttons with the appropriate titles, and labels were appropriate. assume the user knows nothing about the program and what it is supposed to do. your name must appear in the source code(command statement) sry for trble
-
Answer:
If you are still stuck , you may contact a programming expert at websites like http://askexpert.info/
Aditi at Yahoo! Answers Visit the source
Other answers
There are several ways to do this of course. When you say data file, I'm not sure if you mean a database table with that data, or a "flat" text file with that data. But the following could work with either situation. You might read the data file into a 2 dimensional array. You will need to make the array variable length, allowing it to grow for each new row to be added. If you are having problems reading the data file into an array, you could get started by creating the array and assigning values to it within your code, and getting the remaining part of the project going. And later on when you have figured out how to read the data file into the array, remove the "hard-coded" values that you used in the array before. If you do it this way, make a note in your code to remind yourself to remove any hard-coded values you might have put in there. Make sure that you don't use constants to read the array even if you know how many rows it has at the time. When you read the array, obtain the length of the array programmatically and use that in For and Do While statements, etc. Go ahead and put the buttons, pictures boxes etc on the screen. Get the screen layout done, then code behind the buttons. This will help break down the tasks into manageable sections, and you will be able to see more easily when something starts working. Ask your teacher for some hints to get you started.
Lucy M
Related Q & A:
- Why cant i view my contacts display image? please help if you know ,thanks?Best solution by Yahoo! Answers
- The pores on my face are wideninf by the minute. Please help me so that I can have them the normal size?Best solution by Yahoo! Answers
- I cannot get the toolbar with my favorites to appear...please help.Best solution by Yahoo! Answers
- I did something really bad and now i need help please help me.Best solution by Yahoo! Answers
- Help with TV show, please help?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.