Wednesday, May 29, 2019

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 analyse the users input, process it and display the results. HOW I CREATED THE PROGRAM For this tutorial I apply lblrpompt, txttemperature, cmdctof, cmdftoc, and cmdexit.PERSONAL DEVELOPMENT PLANINTRODUCTIONI have been asked to prepare a personal report that addresses myapproach to learning and provides a reflective account of myexperiences, of carrying out a series of programming activities. Thereport that I will be creating is a reflection upon my collective andcollaborative activities, working in a group.WEEK 3 INTRODUCTION TO PROGRAMMING AND VISUAL BASICDIGITAL quantify11th to 17th OctoberWHAT I HAD TO DOWe had to interactively design a digital clock program. The programhad to be designed in a way for objects to react to events.HOW I CREATED THE PROGRAMI used a label to display the system time in, as the requirement wasto 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 Icould essay the correct date at the time at runtime by typing out theinstruction lblToday.Caption=Time$.As the time would not change if I displayed the time on public figure_load Ihad to find an object from the tool box which looked like a clock and past I put it onto my form.I then changed the interval property to 1000, this was to indicate1000 milliseconds. I also did this for the default event for the timeobject and then displayed the time in my label.MY PROBLEMS AND HOW I OVERCAME henceDesigning a digital clock program using visual basic was a verychallenging but interesting task for me as I had never come acrossusing visual basic. At first I found it a bit of a struggle to take outused the program and how to use it appropriately. Even though thenotes that were given were quite clear and when I read them I thoughtthat creating the program would be easy, withal when I put the notesinto practice I found it quite hard. The task was quite confusingespecially the coding and getting it correct, because if there waseven a slight error the program would not run successfully. Anotherproblem I faced whilst designing this program was that when I put thetimer onto the form and ran the program the timer would not displaycorrectly. So in order to solve my problems I consulted my group and

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.