Monday, January 20, 2020
WHAT I HAD TO DO: We had to create a program that would read the users :: Computer Science
WHAT I HAD TO DO: We had to create a program that would read the users   input, process it and display the results. HOW I CREATED THE PROGRAM:   For this tutorial I used lblrpompt, txttemperature, cmdctof, cmdftoc,   and cmdexit.    PERSONAL DEVELOPMENT PLAN    INTRODUCTION    I have been asked to prepare a personal report that addresses my  approach to learning and provides a reflective account of my  experiences, of carrying out a series of programming activities. The  report that I will be creating is a reflection upon my collective and  collaborative activities, working in a group.      WEEK 3 INTRODUCTION TO PROGRAMMING AND VISUAL BASIC    DIGITAL CLOCK    11th to 17th October    WHAT I HAD TO DO:    We had to interactively design a digital clock program. The program  had to be designed in a way for objects to respond to events.    HOW I CREATED THE PROGRAM    I used a label to display the system time in, as the requirement was  to program objects to respond to events.    I used a label called lblToday because labels are containers for  programs-generated messages. They have properties such as name,  caption, font etc. I defined my label with the name lblToday so that I  could show the correct date at the time at runtime by typing out the  instruction lblToday.Caption=Time$.    As the time would not change if I displayed the time on form_load I  had to find an object from the tool box which looked like a clock and  then I put it onto my form.    I then changed the interval property to 1000, this was to indicate  1000 milliseconds. I also did this for the default event for the time  object and then displayed the time in my label.    MY PROBLEMS AND HOW I OVERCAME THEN    Designing a digital clock program using visual basic was a very  challenging but interesting task for me as I had never come across  using visual basic. At first I found it a bit of a struggle to get  used the program and how to use it appropriately. Even though the  notes that were given were quite clear and when I read them I thought  that creating the program would be easy, however when I put the notes  into practice I found it quite hard. The task was quite confusing  especially the coding and getting it correct, because if there was  even a slight error the program would not run successfully. Another  problem I faced whilst designing this program was that when I put the  timer onto the form and ran the program the timer would not display  correctly. So in order to solve my problems I consulted my group and    					    
Subscribe to:
Post Comments (Atom)
 
 
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.