Question
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.pngView in a new window 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started