Answer: C Question: 92. (D) You use Visual Studio .NET to create an accounting application. Within this application, you are debugging a function named XYZValidate. This function contains several dozen variables and objects. One of the variables is named bValidationStatus. You create a breakpoint at the top of XYZValidate and run the application within the Visual Studio .NET IDE. As you steep through the code in XYZValidate, you need to view the contents of the bValidationStatus variable. However, you want to avoid seeing the contents of the other variables and objects in the function. You also need to complete the debugging process as quickly as possible. What should you do?A. Open the Locals window. B. From the Command window, print the contents of bValidationStatus by using ? bValidationStatus . C. Open the QuickWatch dialog box for bValidationStatus. D. Add a watch expression for bValidationStatus. Answer: D Explanation: Watch window updates itself after each step and is easy to open by just right-clicking the bValidationStatus variable and select Add Watch. Reference: 70-306/70-316 Training kit, The Watch Window, Pages 214-215 Incorrect Answers A: The Locals Windows would display all variables of the code in the CompanyValidate procedure. B: This would only display the current value. The requirements of the scenario is that we need to view the variable as we step through the code, not just at a single point of time. C: The Quickwatch window is a dialog that has to be opened and closed after each debug-step. Question: 93. (D) As a developer at XYZ inc. you develop a Windows-based application by using Visual Studio .NET. The application tracks information about customers, orders, and shipping. Ten users will use this application on the client computers running Windows 2000 Professional. You deploy the application by copying the contents of the project’s \bin folder to the client computers. Nine users report that the application runs as expected. One user receives the following error message when the application is first executed:
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 68 of 159 “The dynamic link library mscoree.dll could not be found in the specified path C\Program Files\Orders App;.;C:\WINNT\System32;C:\WINNT\System;C:\WINNT\System32;C:\WINNT;C:\WINNT\System32\ Wbem.” You need to correct this problem on the client computer. What should you do?A. Install MDAC 2.7. B. Install Internet Explorer 6. C. Install the redistribute package for the .NET Framework. D. Recopy the contents of the \bin folder. Answer: C Explanation: If you attempt to run a console application or a Windows Form application from a computer on which the .NET runtime is not installed, you will receive the error "Unable To Locate DLL: The dynamic link library mscoree.dll could not be found in the specified path..." To solve this problem, install the .NET runtime on the computer and try running the application again.
You've reached the end of your free preview.
Want to read all 159 pages?
- Spring '16
- .NET Framework, Microsoft Visual Studio