- Home
- Microsoft Certification
- 070-543 Exam
- Microsoft.070-543.dumpsfiles Dumps
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 |
| Question Number: | 120 |
| Publish Date: | Aug 24, 2026 |
|
Rating
100%
|
|
Total 120 questions
You create an add-in for Microsoft Office Word by using Visual Studio Tools for the Microsoft Office System (VSTO). You deploy the add-in to a folder on a network share. The folder hosts 20 assemblies. All the assemblies are signed and contain the same digital signature. The add-in runs from a local computer. When the add-in is accessed from a network share by using th e same computer, a security exception is raised. You need to ensure that the add-in can run from the network share. You must achieve this goal without elevating permissions for the other assemblies. What should you do?
You create an add-in for Microsoft Office Outlook by using Visual Studio Tools for the Microsoft Office System (VSTO). The add-in must set up a WindowSelectionChange event for the Outlook e-mail messages by using Microsoft Office Word as the editor.
You write the following lines of code. (Line numbers are included for reference only.)
01 Imports Word = Microsoft.Office.Interop.Word
02 Private Sub WindowSelectionChange ( ByVal Sel As _ Word.Selection )
03 Dim ins As Outlook.Inspector = Application.ActiveInspector
04 If ins.EditorType = Outlook.OlEditorType.olEditorWord Then
05 ...
06 AddHandler app.WindowSelectionChange , AddressOf _
Me.WindowSelectionChange 07 End If 08 End Sub
You need to bind the event to the Word application object.
Which code segment should you insert at line 05
You are creating a document-level solution for Microsoft Office Word 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO).
The solution will insert an XML data island in a Word document. The data island contains the following XML fragment.
< customer id="01AF" >
< region district="Northwest" > < /region >
< /customer >
You bind the data island to an XMLNode instance named xln.
You need to update the region element with the following data.
< customer id="01AF" >
< region district="Southwest" > California < /region >
< /customer >
Which code segment should you use?
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.
Microsoft.Office.Tools.CustomTaskPane pane;
private void CreatePane () {
pane = this.CustomTaskPanes.Add (new MyUserControl (),
"Do Something");
pane.Visible = true;
}
You need to ensure that only a single instance of the custom task pane is displayed in each single document interface (SDI) window.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You create a document-level solution for Microsoft Office Word 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO). You create a user control named MyUserControl.
You write the following code segment for your document class. (Line numbers are included for reference only.)
01 Private Sub ThisDocument_Startup _
(ByVal sender As Object, ByVal e As System.EventArgs)
02 Dim uc As MyUserControl = New MyUserControl()
03 ... 04 End Sub
You need to display userControl in the actions pane.
Which code segment should you insert at line 03?