Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual Basic Survey and polling tools are often used in marketing or politics to assess ratings for certain services or products. Polling tools can take

Visual Basic

Survey and polling tools are often used in marketing or politics to assess ratings for certain services or products. Polling tools can take many forms, some just use a simple dichotomous scale of Yes and No, or a more complex Likert Scale that consists of three or more choices. You can create Polling tool in Visual Basic easily by using the option buttons. In our program, the users are given five choices, Excellent, Very Good, Good, Satisfactory and Bad.The results are presented in frequency and percentage respectively.

In this example, we include a graphical display of the percentages of the five scores using the Line method. The syntax to draw the rectangular bar in a picture box is

PictureBox1.Size = New Size(90, 30)

where (x1,y1) is the coordinates of the upper left corner of the bar and

(x2,y2) is the coordinates of the lower right corner of the bar.

To show the bar length according to the percentage, we can use certain value to multiply the decimal value of each score and put it under x2.

Finally, we can use the poll.pngimage text in transcribed method to clear the picture box in order to refresh the drawing.

Create at least 4 functions or procedures to accomplish this application.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

=+country competitive advantages? Why? Support your point of view.

Answered: 1 week ago

Question

=+from: a) a MNEs perspective? and b) the HRM managers perspective?

Answered: 1 week ago