c156jan2116.notebook january 21,...
TRANSCRIPT
![Page 1: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/1.jpg)
c156Jan2116.notebook
1
January 21, 2016
At pgrocer.net you want to click on CIS156/56 to bring up this page.
![Page 2: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/2.jpg)
c156Jan2116.notebook
2
January 21, 2016
![Page 3: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/3.jpg)
c156Jan2116.notebook
3
January 21, 2016
VB examples.
![Page 4: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/4.jpg)
c156Jan2116.notebook
4
January 21, 2016
I did file andthen NewProject andthis pagecame up.
Be sure to check createdirectory for solution if it isnot already clicked.
Give the project a name and pick a location.
![Page 5: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/5.jpg)
c156Jan2116.notebook
5
January 21, 2016
The project will be namedFirstDayVBS16 and it willbe stored in a holder onthe root of the G drive.
![Page 6: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/6.jpg)
c156Jan2116.notebook
6
January 21, 2016
Here I have the Toolbox,the form, the Solution Explorerand the PropertiesPlease be sure to read chapter1 since it deals with workingwith all the features.
This shows the properties by category the next button showsthem alphabetically.
![Page 7: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/7.jpg)
c156Jan2116.notebook
7
January 21, 2016
Now they are shownalphabetically.
![Page 8: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/8.jpg)
c156Jan2116.notebook
8
January 21, 2016
Properties forthe form.
![Page 9: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/9.jpg)
c156Jan2116.notebook
9
January 21, 2016
The name willbe changed.
![Page 10: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/10.jpg)
c156Jan2116.notebook
10
January 21, 2016
I changed the Text property to Name:
![Page 11: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/11.jpg)
c156Jan2116.notebook
11
January 21, 2016
![Page 12: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/12.jpg)
c156Jan2116.notebook
12
January 21, 2016
![Page 13: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/13.jpg)
c156Jan2116.notebook
13
January 21, 2016
![Page 14: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/14.jpg)
c156Jan2116.notebook
14
January 21, 2016
![Page 15: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/15.jpg)
c156Jan2116.notebook
15
January 21, 2016
I double click on the button to writethe code that will be executed whenthe Click button is clicked when thecode is running.
![Page 16: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/16.jpg)
c156Jan2116.notebook
16
January 21, 2016
This is the click even on btnClick. When it is clicked, the code willbe executed.I am concatenating Hello with the text that is in txtName and assigningthe results to txtHello.text.
![Page 17: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/17.jpg)
c156Jan2116.notebook
17
January 21, 2016
![Page 18: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/18.jpg)
c156Jan2116.notebook
18
January 21, 2016
Download thesetwo examples.
![Page 19: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/19.jpg)
c156Jan2116.notebook
19
January 21, 2016
When I want to create a New ProjectI click on that option when I want toload and use an existing Project Iclick on Open Project.
I can close a solution with Close Solution.
![Page 20: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/20.jpg)
c156Jan2116.notebook
20
January 21, 2016
![Page 21: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/21.jpg)
c156Jan2116.notebook
21
January 21, 2016
Click on the sln to open the project.
![Page 22: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/22.jpg)
c156Jan2116.notebook
22
January 21, 2016
![Page 23: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/23.jpg)
c156Jan2116.notebook
23
January 21, 2016
Note btn can also be cmd
Clear the form.
Close the form.
Basic calculation.
Here I defined three variables and I called them wk to make sure it was clear they were a variable. They have a type of double which allows decimal numbers. I then take the string that came in from the text box and convert in to double. I then assigned the converted text to the variables.I then did the calculation storing the answer in the wkGrossPay.Before putting it out on the form I want to edit it and make it currency.
The wkGrossPay variable is being convert to currency andthen assigned to the text box.
![Page 24: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/24.jpg)
c156Jan2116.notebook
24
January 21, 2016
Second example Note that thereis a picture box that holds an image.
Welcome is in a label called lblWelcome.
![Page 25: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/25.jpg)
c156Jan2116.notebook
25
January 21, 2016
When the program is loaded I do not see Welcome in lblWelcome and the visible property will be set to False. When I click on the button then the visible property gets set to True and a pop up MessageBox says Welcome.
![Page 26: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/26.jpg)
c156Jan2116.notebook
26
January 21, 2016
![Page 27: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/27.jpg)
c156Jan2116.notebook
27
January 21, 2016
![Page 28: c156Jan2116.notebook January 21, 2016cisweb.bristolcc.edu/~pgrocer/audio_smartboardS16/CIS156/... · 2016-01-22 · c156Jan2116.notebook 25 January 21, 2016 When the program is loaded](https://reader034.vdocument.in/reader034/viewer/2022042413/5f2ccaa3124fe64ed83f95cf/html5/thumbnails/28.jpg)
c156Jan2116.notebook
28
January 21, 2016
You will get the DreamSpark invitation soon.Here are directions to help you work with it.You can also download the Express versionfor the desktop.