Download presentation
Presentation is loading. Please wait.
Published bySucianty Darmali Modified over 6 years ago
1
Remember we are using Visual Basic 6 for this segment.
2
I asked students to download these to projects and forms
I asked students to download these to projects and forms. We looked at PrCalc.vpb with frmCalc.frm. We did not get to the inventory example.
3
this presentation. When you want to save do file save project as and it should save both the project and the form. If not, be sure to save the form.
4
Before I actually create a new project, we are going to open PrCalc and look at an existing project.
5
can also get properties and project explorer.
7
clicked. This is a click event.
8
Now I am going to start a new project.
The first thing I did was to give the form a name, frmFirst.
9
Now I changed the caption property to make it say My Form.
10
it prjFirst.
11
Again showing the icons that control the environment.
12
I brought over a label and a text box.
13
I named the label box lblAmt1 and changed its caption to Amount One:
14
Text1 that was in the Text property.
15
txtAmt1.
16
the Text property so I do not see Text1.
18
Now I created txtAns.
19
buttons can have cmd or btn. I used cmd.
20
I now have named it cmdClick and changed its caption.
22
to txtAns.text.
25
This is an example I added when the form was not loaded correctly
existing, pick the form and open.
26
see this problem.
27
able to run.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.