Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
: Microsoft 70-306
Title
: Developing and
Implementing
Windows-based
Applications with Microsoft
Visual Basic .NET
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. You use Visual Studio .NET to create an accounting application. Within this application, you are
debugging a function named CreditCardValidate. This function contains several dozen variables and
objects. One of the variables is named bValidationStatus.
You create a breakpoint at the top of CreditCardValidate and run the application within the Visual
Studio .NET IDE. As you step through the code in CreditCardValidate, 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
2. You develop an application that will be sold commercially. You create a Visual Studio .NET setup project
to distribute the application. You must ensure that each user accepts your license agreement before
installation occurs.
What should you do?
A. Add a launch condition to your setup project. Add your license agreement to the Message property of the
launch condition.
B. Open the user interface designer for your setup project. Select the Welcome dialog box from the Start
object and add your license agreement to the CopyrightWarning property.
C. Save your license agreement in Rich Text Format and add the file to your setup project. Open the
property pages for the setup project and set the Certificate file to the name of your Rich Text file.
D. Save your license agreement in Rich Te