Free Microsoft 070-543 Exam Dumps Questions & Answers
| Exam Code/Number: | 070-543Join the discussion |
| Exam Name: | TS: Visual Studio Tools for 2007 MS Office System (VTSO) |
| Certification: | Microsoft |
| Free Question Number: | 120 |
| Publish Date: | Sep 27, 2026 |
| # of views: | 2400 |
|
|
|
You are creating an add-in by using Visual Studio Tools for the Microsoft Office System (VSTO).
You write the following method. (Line numbers are included for reference only.)
01 Private Sub ExportDocumentCache ( ByVal path As String)
02 ...
03 End Sub
You need to ensure that the add-in saves each item in the document cache of a document to an independent XML file that is named for the item.
Which code segment should you insert at line 02?
You create a document-level solution for Microsoft Office Excel by using Visual Studio Tools for the Microsoft Office System (VSTO). You manually deploy the customized Excel workbook and the associated assembly to a network share named OfficeSolutions. The network share is located on a server named LONDON. You need to remove the reference to the assembly from the copy of the workbook. Which code segment should you use?
You are creating an add-in for Microsoft Office Outlook by using Visual Studio Tools for the Microsoft Office System (VSTO). You write the following lines of code. (Line numbers are included for reference only.)
01 Private folders As List(Of Outlook.MAPIFolder)
02 Private explorer As Outlook.Explorer
03
04 Public Sub CreateCollection()
05 explorer = Application.ActiveExplorer()
06 folders = New List(Of Outlook.MAPIFolder)
07 ProcessFolders(explorer.CurrentFolder)
08 End Sub
09
10 Public Sub ProcessFolders(ByVal folder As Outlook.MAPIFolder)
11 ...
12 End Sub
You need to ensure that the folders collection includes all the folders and subfolders within the selected Outlook folder.
Which code segment should you insert at line 11?
You are creating an application by using Visual Studio Tools for the Microsoft Office System (VSTO). The application edits a Microsoft Office Word 2007 document. The Word document contains two XML parts. The second custom XML part is used to audit changes to the first custom XML part. You need to ensure that the application adds a new element to the second XML part each time the value of a text node in the first XML part is changed. What should you do?
You are creating an add-in for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO). You write the following lines of code.
Private Pane As Microsoft.Office.Tools.CustomTaskPane
Private Sub ThisAddIn_Startup _
(ByVal sender As Object, ByVal e As System.EventArgs)
Pane = Me.CustomTaskPanes.Add _
(New MyUserControl(), "Do Something")
End Sub
You need to display the custom task pane when text is selected in a Word document.
What should you do?