Online Access Free 070-543 Practice Test
Exam Code: | 070-543 |
Exam Name: | TS: Visual Studio Tools for 2007 MS Office System (VTSO) |
Certification Provider: | Microsoft |
Free Question Number: | 120 |
Posted: | Sep 01, 2025 |
You create a custom template for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO). You add a content control to the custom template. The content control is a placeholder for the first paragraph in the documents that use the custom template. You need to ensure that the users can edit the first paragraph but cannot delete it. Which code segment should you use?
You create an add-in for Microsoft Office Excel 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO). The add-in has a custom task pane named MyPane. MyPane contains a user control named MyUserControl. You write the following method that resizes MyUserControl.
Public Sub ResizeControls ()
...
End Sub
You need to call the ResizeControls method when MyPane is not docked to the Excel 2007 application window.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You create an add-in for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO).
The add-in contains a Ribbon1.xml file that customizes the Ribbon user interface (UI). The Ribbon1.xml file contains the following element.
< dropDown id=" CountryCodes " getItemCount =" GetItemCount "
getItemLabel =" GetItemLabel "/>
You write the following line of code in the add-in.
Private countries As System.Collections.ArrayList
...
countries = New System.Collections.ArrayList ()
countries.Add ("USA")
countries.Add ("JPN")
countries.Add ("IND"}
You need to bind the drop-down list to the countries collection.
Which code segments should you use? (Each correct answer presents part of the solution. Choose two.)
You are creating an add-in project for Microsoft Office by using Visual Studio Tools for the Microsoft Office System (VSTO). You create a data source named ContactRef from a class in an assembly. The author digitally signs a new version of the assembly. You need to ensure that the add-in can load a new version of the assembly. What should you do?
You create an add-in for Microsoft Office Outlook 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO). You deploy the add-in to a network share named OfficeSolutions. The OfficeSolutions network share is located on a server named LONDON. You need to grant permission for the add-in to run. Which command should you use?