Friday, May 25, 2007
May 25
I have no work left remaining for this week but I would like to do some work on my own and combine the two programs so that I could have a program that can move the pictures left, right, up and down as well as being able to shrink and enlarge them if they are clicked.
The problems that I encountered this week were centered around making the lottery array program run functions only when they were clicked and not when the number of tickets was input. I had difficulty with this because the program would include "-1" which all the array was initialized to in some of its calculations. I fixed this problem by making the program end the loop after all the "used" days have been taken into account for calculations.
Friday, May 11, 2007
This week the work I accomplished was centered around arrays. We used arrays to make programs easier to make variables for, by using an array to number variables in correspondance with our for...next loops. We made programs that functioned based on using 9 number created by our arrays and used functiosn to modify them. We also changed our SIN number programs so it worked using an array.The work I have remaining for next week is the programs that takes 20 numbers from the user and orders them in ascending or descending order. This program will pose only some difficulty to determine the most effective way of arranging the number in order.
I only ecnountered minor problems this week with my programs, mainly involing clearing the Initial and Reult arrays to wipe clean when chaning the contents so it doen't stack after one another so you can't see your current Initial and current Reult arrays. I fixed this problem by making the fields reset when the button is clicked.
On a sadder note, all of us at Lorne Park mourn the passing of Manny Castillo.
Friday, April 20, 2007
Weekly Status Report #7
The work I have remaining is still the unfinished loops programs from 2 weeks ago, because this week the student hard drives couldn't load saved programs from Visual Basic, thus I was unable to access and finish them. My goals for next week thus still include finishing those 2 programs and doing some work on my new loop programs to try and ad extra features to it to expand my knowledge of exit for statements.
I didn't encounter many problems this week, in fact the only real problem I encountered shouldn't have been a problem in the first place. When we started working on our second exit for program I didn't know how to generate random numbers. So I used the help feature and Google to try and figure out how to do so, when in fact the code for it was written on the problem sheet. So I was told that this was the case and my problem was solved.
Friday, April 13, 2007
Weekly Status Report #6
I have a few programs to finish up next week, the factorial and prime numbers ones are the programs that stumped me. Other than those 2 programs, I finished all of this weeks work. My goals for next week are to finish those 2 programs and then learn another type of loo[p function as described on the outline sheet. I also want to try and learn some more loop functions independent of the outline classes for loops.
The problems I encountered this week were few, mainly surrounding the two programs that I didn't finish. I am having trouble coming up with the code to find the factorial of a number as well as finding the code by using loops to determine wether or not a number is prime. These are problems I will have to solve next week as determined by my goals remaining.
Friday, March 30, 2007
Weekly Status Report #5
I have no work remaining from the week, as by completing the normal assignment combined with the bonus, I have finished all of this week's work. The bonus assignment which I also completed added some difficulty, but that was overcome in ways I shall explain in the challenges portion of this report. The bonus assignment was basically to add a menu, in which the user could input the hourly rates and tax rates, however, this was to be done using a Dialog Box. After the lesson and some help from friends, I managed to complete the bonus.
The difficulties I encountered this week were figuring out how to effectivley code the first part of the assignment and then successfully add in the bonus material. The bonus material was difficult because when trying to transfer information from the dialog box to the main form, everything transfered as "0". However, this was due to a typo, so overcoming this obstacle wasn't overtly difficult.
---End Status Report#5---
Wednesday, March 21, 2007
Weekly Status Report #4
My future goals include learning how to use other features (such as the Track Bar) to accomplish the same function my text boxes have been. Basically, I want to be able to utilize more aspects of the programs to gain input from the user. The work remaining from this week is limited, I need to modify my current program, the string program, so that all of the functions work correctly, and so that less errors occur is improper input is given.
The major challenge I faced this week was learning how to use a List Box. I knew how to create, move and add objects to the list box but I didn't know how to select the options to use them in my code. The way I went around solving this was to first try and define every option in the List Box. However, I couldn't figure out how to do this after a lot of time, so I asked a friend for help. Unfortunately, he was having the same problem. So, I resulted in asking the teacher for assistance, and after I was told what to do, it did seem really obvious.
---End Status Report #4---
Thursday, March 1, 2007
Weekly Status Report #3
I have no work remaining from this week but I plan to try and work ahead, experimenting with the program to try and learn some of the functions of certain aspects of the Visual Basic program. I would like to be able to eventually create a program that I myself could actually use everyday at home, or once in a while. I know this will require a vast amount of work on my part to succesfully learn all I can and more from this class, but I am more than up to the challenge. My objectives for next will include downloading this program at home for potential personal programming, or school related use, and to learn how to do some programming on my own.
The problems that I encountered this week were all programming related, and I solved them by using the program, seeing what caused the error, and trying to rearrange the code, define more variables that were missing, or correct typos. Using this and the online "Help" feature I was able to overcome any issues I encountered, sometimes by consulting friends that were working around me. Overall, this was a very imformative and productive week.
---End Weekly Status Report #3---