Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 1, Problem 15RQ
Program Description Answer
“Close Solution” is the option on the File menu that is used to close the current solution.
Hence, correct answer is option “C”.
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
The customer can view items from different list by selecting the number associated with each list. If the customer wishes to exit the menu, he/she will be redirected to the beginning of the system where about the restaurant and menu option is available.Hint: Use do-while loop.
Python Programming
You will need to create a menu that can be ran more than once. Below is an example of a menu you can use:
File Assignments Menu
Schedule File
Create Report File
Exit
Please Enter your choice:
Here is the schedule.txt file:
DBA
125
mw
12-2
DBA
261
tth
8-10
DBA
120
tth
11-1
CTS
289
f
10-12
DBA
210
TBD
Online
If the user chooses option 2 (Create Report File), program is to read the schedule.txt file and create a report.txt file similar to the example shown below:
Example of a report.txt file:
Schedule
Class Name Meting Days Meeting Times
DBA125 MW 12-2
DBA261 TTh 8-10
DBA120 TTh 11-1
CTS289 F 10-12
DBA210 TBD Online
Design the program to notify the user if no schedule.txt file exists (hint: exception handling)
To begin, the Open dialogue box by default displays the contents of the user's Documents directory. What is the best method for specifying which directory should be shown first?
Chapter 1 Solutions
Programming with Microsoft Visual Basic 2017
Ch. 1 - What is a computer program?Ch. 1 - What is a GUI?
Ch. 1 - What is the process of translating a solution into...Ch. 1 - In object-oriented programming, what is a class?Ch. 1 - Which window in the IDE lists the tools you can...Ch. 1 - While designing an interface, which window in the...Ch. 1 - Prob. 3MQ2Ch. 1 - Prob. 1MQ3Ch. 1 - Prob. 2MQ3Ch. 1 - What filename extension indicates that the file is...
Ch. 1 - Prob. 1MQ4Ch. 1 - Prob. 2MQ4Ch. 1 - Prob. 3MQ4Ch. 1 - Prob. 4MQ4Ch. 1 - Prob. 1MQ5Ch. 1 - What is the three-character ID used when naming...Ch. 1 - What is the purpose of an access key?
Ch. 1 - What character is used to designate an access...Ch. 1 - Prob. 1MQ6Ch. 1 - Prob. 2MQ6Ch. 1 - Prob. 3MQ6Ch. 1 - Prob. 4MQ6Ch. 1 - Prob. 1MQ7Ch. 1 - Prob. 2MQ7Ch. 1 - Prob. 3MQ7Ch. 1 - Prob. 4MQ7Ch. 1 - In the Code Editor window, what character...Ch. 1 - A(n)._____ is an environment that contains all of...Ch. 1 - When using an analogy involving a blueprint and a...Ch. 1 - You create your application’s user interface in...Ch. 1 - Each tool in the toolbox represents a class from...Ch. 1 - Which window is used to set the characteristics...Ch. 1 - Prob. 6RQCh. 1 - Prob. 7RQCh. 1 - Prob. 8RQCh. 1 - Which property is used to give a form file a more...Ch. 1 - Which property determines the initial position of...Ch. 1 - Prob. 11RQCh. 1 - Prob. 12RQCh. 1 - Prob. 13RQCh. 1 - Prob. 14RQCh. 1 - Prob. 15RQCh. 1 - What is the three-character extension appended to...Ch. 1 - Prob. 17RQCh. 1 - Prob. 18RQCh. 1 - Which statement terminates an application that...Ch. 1 - Prob. 20RQCh. 1 - Prob. 21RQCh. 1 - Prob. 22RQCh. 1 - Prob. 23RQCh. 1 - Prob. 24RQCh. 1 - Prob. 25RQCh. 1 - Prob. 1ECh. 1 - Prob. 8E
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- In this exercise, you modify the Grade Calculator application from this chapter’s Apply lesson. Use Windows to make a copy of the Grade Solution folder. Rename the copy Grade Solution-Intermediate. Open the Grade Solution.sln file contained in the Grade Solution-Intermediate folder. Open the CourseGrade.vb file. The DetermineGrade method should accept an integer that represents the total number of points that can be earned in the course. (Currently, the total number of points is 200: 100 points per test.) For an A grade, the student must earn at least 90% of the total points. For a B, C, and D grade, the student must earn at least 80%, 70%, and 60%, respectively. If the student earns less than 60% of the total points, the grade is F. Make the appropriate modifications to the DetermineGrade method and then save the solution. Unlock the controls on the form. Add a label control and a text box to the form. Change the label control’s Text property to “&Maximum points:” (without the quotation marks). Change the text box’s name to txtMax. Lock the controls and then reset the tab order. Open the form’s Code Editor window. The txtMax control should accept only numbers and the Backspace key. Code the appropriate procedure. The grade should be cleared when the user makes a change to the contents of the txtMax control. Code the appropriate procedure. Modify the frmMain_Load procedure so that each list box displays numbers from 0 through 200. Locate the btnDisplay_Click procedure. If the txtMax control does not contain a value, display an appropriate message. The maximum number allowed in the txtMax control should be 400; if the control contains a number that is more than 400, display an appropriate message. The statement that calculates the grade should pass the maximum number of points to the studentGrade object’s DetermineGrade method. Make the necessary modifications to the procedure. Save the solution and then start and test the application.arrow_forwardIf the file to be opened exists, which method erases the file’s contents? AppendText CreateText InsertText OpenTextarrow_forwardThe memory locations listed in a procedure’s parameterList have procedure scope and are removed immediately after the procedure header is processed.a. Trueb. Falsearrow_forward
- MULTIPLE CHOICE -The answer is one of the options below please solve carefully and circle the correct option Please write clear .arrow_forwardwhat will be the pseudocode for this question: Write a loop-based menu driven application (including algorithm) that uses aninput file to process bank accounts. The application will continue to rununtil the loop termination condition is selected. Prior to entering theloop, the application must read all records from the file. Within the loopthe application must display a menu that gives the user the option to callone of the “Display...” functions or exit the loop. After the loop, theapplication will output the total balance of all the accounts (i.e., totalfor all savings, checking and money market accounts).The file format includes a record for each account and contains the followinginformation (each field separated by colon) Customer ID First Name Last Name Street Address Check Account Balance Money Market Balance Saving Account BalanceThe application must read the file of records and store the information in anarray of structures (maximum size of the array will be 100…arrow_forwardPlease no written by hand solution A magazine contains fifteen pages. You open to a random page. The page number is six or ten.arrow_forward
- Please written by computer sourcearrow_forwardThe memory locations listed in a procedure header’s parameterList have procedure scope and are removed from the computer’s main memory when the procedure ends. a. True b. Falsearrow_forwardTrue or False : The Title property holds the name of the file the user selected with an Open or Save As dialog box.arrow_forward
- Which type of statement causes a procedure to execute? 1. Procedure declaration 2. Access specifier 3. Procedure call 4. Step Intoarrow_forwardWhich event occurs when the user either types a value in the text portion of a combo box or selects a different item in the list portion? a. ChangedItem b. ChangedValue c. SelectedItemChanged d. TextChangedarrow_forwardPig Latin "ILLUSTRATE" operator runs a mapreduce job Select one: True Falsearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L