I want to write a program that will do this on my aquarium web page: When the user runs his mouse over a picture of a fish, a popup will appear, and show, a random fact file,(stored in a list) will play to monitor. **************************** I want this program to do this on a picture of a juke on my web page: When the user runs the mouse over 'Selection', a list will pop up,(make file?) then by hilighting a song, he will then mouse click, to play that song to channel. Eventually, this will be a jukebox warehouse for all the stuff I find out about sounds and stuff like the sound tutor Omri and I did for mIRC, and places to get sounds, editors, and tutorial on cool edit software and possibly Sound Forge, mIRC wavs and midis, etc. with so 1.(I) This program will allow the user to use mouse/over/click 2.(O)This program will give the user a list of musical programs to chose from 3.(P)This program will find the desired program 4.(O)This program will play the desired program to channel ************************************************ students TOE chart Task Object Event Student 1 Text Box-txtStu1 None Student 2 Text Box-txtStu2 None Student 3 Text Box-txtStu3 None Student 4 Text Box-txtStu4 None Student 5 Text Box-txtStu5 None Student 1 Score Text Box-txtStuS1 None Student 2 Score Text Box-txtStuS2 None Student 3 Score Text Box-txtStuS3 None Student 4 Score Text Box-txtStuS4 None Student 5 Score Text Box-txtStuS5 None Calculate Average command button/cmdCalc Click Display average label - lblAvg None Clear user input command button-cmdClear Click End the program command button-cmdEnd Click pseudo cmdCalc Add scores 1-5 and divide by 5 for average. cmdClear Set output labels equal to " " Set text boxes equal to " " cmdExit End program ------------------------------------- Lesson 5 - Coding Your Program It's time to start writing code for your program! After reading Lesson 4 - Unit 7 - in your book: 1. Write the code that you will place in the coding window for the command button you have designated to calculate the average. Have the code add the contents of the 5 student score text boxes and place this total in a variable. Use another variable to store the calculation for the average. Follow your pseudocode that you wrote for assignment 2. Remember that with programming, the variable or object that is to receive the calculation is on the left with the actual calculation on the right. This is backwards from the math we are all used to: Total = val(text1.text) + val(text2.text) If the object named MyNum1.text contains the number 6 and the object named MyNum2.text contains the number 8, when added the variable Total will contain the number 14. Average = Total / 2 Here the variable Average takes the contents of the variable Total and divides it by 2 - the number of items we added in the first statement. MyAverage.caption = Average Here we are telling VB to display the contents of Average on the form using the label we named MyAverage. 2. Next code the command button you are using to clear the form. You will want to clear every text box and the label that displays the average: MyNum1.text = " " MyNum2.text = " " MyAverage.caption = " " All we are doing here is reassigning the contents of these object with a null or " ". 3. Last, and probably the easiest code you will ever write, code the button the user will use to end the program. In case you missed it in the book the code for this is: End That's it! 4. Run your program and try it out. Start out by writing down 5 numbers and calculating the average of these numbers. Then put the numbers in the text boxes of your program and see if the program calculates the same average you received when doing the problem by hand. May I suggest you start off with: 6, 7, 8, 9, 10 The average of these numbers is 8. Next test your clear button and enter more numbers is all works properly. Then test your end Button. This should terminate your program. If your program doesn't work correctly, look at your code and make sure you have everything in place. If you are still having problems or are having difficulty determining what the problem is you can send your .vbp and .frm files to me or my assistant John. If your last name begins with A - M email your program to me at vbasic@vu.org If your last name begins with N - Z email your program to John at jsarndt1@gte.net Please use a program like WinZip to compress your .vbp and .frm files together. We will need both of these in order to determine what the problem might be. These are the only files we need! You can download my program from the following link. It is an executable file and only shows the program at work. It does not show the actual code that makes it work. http://www.teleport.com/~christyo/GrRpt1.exe Remember, you do not have to turn your assignments in at this time. You will turn in the full and completed project at the end of the term.