C. Set the Dock property of the frmIssueDescription form to Fill. D. Set the Dock property of the RichTextBox control to Fill. Answer:D Explanation: Setting the Dock property to Fill causes the RichTextBox control to completely fill the available client area. Question: 218. (E)You are going to deploy your shareware application. You want to write registration settings for registered owners of your application to the system registry. Which of the following actions should you perform to accomplish this task? (Select the best choice.) A. Use the Custom Actions editor to write the appropriate registry entries when the application setup is committed. B. Configure all of the settings in the Registry Editor. Use the Condition property of the entries to control which settings are actually entered into the user's registry. C. Use the File Types editor to write the appropriate settings to a .reg file. Have the installation program install the .reg file after the session is closed. D. Use the File System editor to write the appropriate settings to a .reg file. Have the installation program install the .reg file after the session is closed. Answer:B Explanation: To determine which settings for your application will be written to the system registry based on the choices made by a user, you should configure all of the settings in the Registry Editor. You should then use the Condition property of the entries to control which settings are actually entered into the user's registry. The Registry Editor configures the registry settings that will be added by your installation program. The Condition property controls which entries are installed. The File Types editor associates a file extension with your application. The File Types editor is not used to manipulate registry files. The File System editor creates folders on the target computer, adds files to those folders or to the system folders, and creates shortcuts. The Custom Actions editor allows you to customize the installation in response to various installation events. Question: 219. (C)You develop a HR application which is Windows-Based application. The application accesses a Microsoft SQL Server database named Company1. When you test the application, you discover that the application is using too many individual connections. You must reduce the time needed to retrieve information. How should you modify the connection string?
Exam Name: Developing Windows-based Applications with Microsoft Visual Basic .NET Exam Type: Microsoft Exam Code: 70-306 Doc Type: Q&A with Explanations Total Questions: 255 Page 143 of 159 Explanation: We must use the same connection string to only use one connection pool.
You've reached the end of your free preview.
Want to read all 159 pages?
- Spring '16
- .NET Framework, Microsoft Visual Studio