1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vekshin1
3 years ago
9

In the btnadd_click event handler, add the Visual Basic instructions to do the following:

Computers and Technology
1 answer:
algol133 years ago
8 0

Answer:

A. for defining the procedural level variable intLocal with an integer datatype can be declared in visual basic as below:

Dim intLocal As Integer =23

B. Remember the static is declared using shared variable in visual basic and it means same copy will be available for all instances, and the class variable are being declared as below.

Like, Shared intStatic As Integer = 25

and Dim intClass As Integer =23

C. Now we declare a constant intOne

Const IntOne = 2 outside all methods, so that it has the class level scope.

Now, We need to write:

  Label1.Text = intLocal + intOne

       Label2.Text = intStatic + intOne

       Label3.Text = intClass + intOne

label1 displays inLocal incremented value, and so on.

D.  All are displayed through same code.

Note: we can increment each variable through variable as well, rather than with the help of Label.

Explanation:

Public Class Form1

   Dim intClass As Integer = 23

   Shared intStatic As Integer = 25

   Const intOne = 2

   Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click

   End Sub

   Private Sub Label3_Click(sender As Object, e As EventArgs) Handles Label3.Click

   End Sub

   Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

       Dim intLocal As Integer = 23

       Label1.Text = intLocal + intOne

       Label2.Text = intStatic + intOne

       Label3.Text = intClass + intOne

End Sub

You might be interested in
A chain of coffee servers is sending a spreadsheet of projected costs and profits to some of its investors. When, Kyle, the admi
olga2289 [7]

Answer:

On a spreadsheet application including MS Excel;

He can select the image and hold down the <em>rotation</em> handle above it while sliding the mouse

Explanation:

Manual rotation of a picture or a text box can be performed by selecting the image or text box in MS Word or a spreadsheet application such as MS Excel. With the mouse select the rotation handle of the picture and drag in the direction desired, left or right.

So as to limit the rotation to 15 degrees hold down the shift button while dragging the rotation handle by clicking on it with a mouse and dragging in the desired direction

3 0
3 years ago
2 When you add text with the Text Tool, __________. the text is added to the current layer a new floating selection layer is cre
Basile [38]

Answer:

A new floating selection layer is created

Explanation:

In a graphic design software for example like CorelDraw, if  a text tool is used to add text, a new floating selection layer is created in which, the text is inserted.

8 0
3 years ago
Question # 7 Dropdown Select the correct word to complete the sentence. The original ARPANET had four nodes and connected groups
attashe74 [19]

Answer:

Facility

Explanation:

This is the answer because you can spell it out with Horizon.

4 0
3 years ago
Read 2 more answers
Once we have reached complete efficiency in the third part of the LRAS Curve, what occurs?
sergiy2304 [10]

your answer is c hope this helps


8 0
4 years ago
In Unified Modeling Language (UML) Class diagrams, a Class is represented by a rectangle. True or False True False
Dennis_Churaev [7]

Answer:

or

Explanation: idk

6 0
4 years ago
Other questions:
  • Witch word in the sentence is a noun? the food he is cooking smells delicious.
    7·1 answer
  • George has to develop a website for his dad’s cycle shop. He wants to focus mainly on the products and wants the website to have
    10·1 answer
  • While configuring a switch, you noticed a configuration issue with an Ether Channel bundle. You thought you corrected the issue,
    11·1 answer
  • In a case where electrical current leakage from the circuit occurs, the GFCI would do the following:
    10·1 answer
  • Why is it helpful that the ribbon tabs can collapse?
    8·1 answer
  • How do you turn a .bat file into a .exe file, running the same code? I want to publish something on the internet without everyon
    10·1 answer
  • When drawing multiple objects on the same slide they cannot overlap<br> true<br> false
    8·2 answers
  • Why RAM is necessary in a computer​
    9·1 answer
  • Does anyone know how to fix this? Everytime i make a new page it only types in the middle of the page. I want to type at the top
    11·1 answer
  • Select the correct answer.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!