1.
You are creating a Windows Forms application by using the .NET Framework 3.5.
You plan to develop a new control for the application. The control will have the same properties as a TextBox control. You need to ensure that the control has a transparent background when it is painted on a form. You want to achieve this goal by using the minimum amount of development effort. What should you do
2.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to deploy a new application. You need to ensure that on deployment, the application meets the following requirements:
It is executed on the client computer.
It is removed from the client computer after the application is closed.
It is not displayed in the Add/Remove programs panel on the client computer.
What should you do
3.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to deploy a new Windows Presentation Foundation (WPF) XAML browser application (XBAP).
The deployment must meet the following requirements:
A shortcut is added to the Start menu.
The most recent version of the application is installed and executed on client computers.
Users can uninstall the application from the control panel.
You need to identify a deployment technology that meets the specified requirements. You want to achieve this goal by using the minimum amount of development effort.
Which deployment technology should you use
4.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to use the Windows Installer to deploy a new application. The application must meet the following requirements:
Support deployment to 32-bit and 64-bit operating systems.
Use the 64-bit Program Files folder when deployed to 64-bit platforms.
You need to ensure that the application is deployed appropriately. What should you do
5.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to use a setup project to deploy a new Windows Forms application. The application uses a component that requires the Microsoft .NET Framework 1.1. You need to create a launch condition so that the application
can be deployed on client computers. What should you do
6.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to deploy a new application by using the ClickOnce deployment technology. The application is signed by using a certificate obtained from a trustworthy authority. You need to ensure that the application can be deployed as a trusted application to Windows Vista client computers on a corporate network. What should you do
7.
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to deploy a new application by using the ClickOnce technology. During deployment, the application performs the following tasks:
Modifies registry keys
Modifies the files located in the %PROGRAM FILES% folder
Administrative permissions are not granted to users who install the application.
You need to ensure that the following requirements are met:
The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain.
When the application is deployed, users are not prompted to elevate their permissions.
What should you do
8.
You create Windows Forms applications by using the .NET Framework 3.5.
You create a new application for Windows Vista client computers. The application requires elevated access to
read files from the local file system. You need to ensure that the application requires elevated permissions on
execution. What should you do
9.
You are creating a Windows Forms application by using the .NET Framework 3.5.
You create a new form in the application. You add a ContextMenuStrip control named ctxMenu to the form. You have a user-defined class named CustomControl. You write the following code segment in the application. (Line
numbers are included for reference only.)
01 CustomControl myControl = new CustomControl();
02
You need to ensure that an instance of CustomControl is displayed on the form as a top-level item of the ctxMenu control. Which code segment should you add at line 02
10.
You are creating a multiple-document interface (MDI) application by using the .NET Framework 3.5.
You configure the frmParent form to be an MDI parent. You write the following code segment. (Line numbers are included for reference only.)
01 Form frmChild = new Form();
02 Form frmParent = this;
03
You need to associate and display the frmChild form and the frmParent form. Which code segment should you add at line 03