Free 070-543 Questions for Microsoft TS: Visual Studio Tools for 2007 MS Office System (VTSO) 070-543 Exam as PDF & Practice Test Engine

  • Exam Code/Number: 070-543
  • Exam Name/Title: TS: Visual Studio Tools for 2007 MS Office System (VTSO)
  • Certification Provider: Microsoft
  • Corresponding Certification: MCTS
  • Exam Questions: 120
  • Updated On: Jul 18, 2026
You are creating an add-in for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO). The add-in contains a custom task pane named MyPane. MyPane is docked by default on the right of the Word application frame. You need to prevent users from changing the default docked position of MyPane. Which code segment should you use?
Correct Answer: C Vote an answer
You create a Microsoft Office Word 2007 document.
The OpenXML package for the document is shown in the exhibit. (Click the Exhibit button.)
You create an XML file named item2.xml. The item2.xml file uses the same schema as the item1.xml file. You add the item2.xml file to the OpenXML package.
You need to ensure that the document uses data from the item2.xml file instead of the item1.xml file.
What should you do?
Correct Answer: A Vote an answer
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.)
Correct Answer: C,D Vote an answer
You create a Microsoft Office Excel 2007 workbook.
You save the workbook in the C:\Data folder as an OpenXML package. You copy a file named Data.xml from the C:\Data folder to the CustomXML folder in the package. You rename the copied file to Item1.xml.
You add the following XML fragment to the Document.xml.rels file in the package.
<Relationship Id="rId1"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/CustomXML "
Target="..." />
You need to ensure that the workbook can use the custom XML document part.
Which value should you use for the Target attribute in the XML fragment?
Correct Answer: A Vote an answer
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 contains a DataRow named custrow. A serialization of custrow contains the following XML fragment.
< ClientProjects >
...
< description > Upgrade from Windows XP < /description >
... < / ClientProjects >
The solution will create an XMLNode control named ProjectDescriptionNode in a Word document.
You need to ensure that the text in the description element is displayed as unformatted text.
Which code fragment should you use?
Correct Answer: B Vote an answer
You are creating a custom workbook for Microsoft Office Excel by using Visual Studio Tools for the Microsoft Office System (VSTO).
The workbook will be used to import elements from an XML file named Expense.xml. The Expense.xml file is located in the C:\Data folder.
The schema of the Expense.xml file is stored in a file that is located at C:\Data\Expense.xsd. The schema contains the following XML fragment.
< xsd:element minOccurs ="0" maxOccurs ="unbounded" name=" ExpenseItem ">
< xsd:complexType >
< xsd:sequence >
< xsd:element name="Date" type=" xsd:date "/>
< xsd:element name="Description" type=" xsd:string "/>
< xsd:element name="Amount" type=" xsd:decimal " />
</ xsd:sequence > </ xsd:complexType > </ xsd:element >
You add the schema to the workbook by using a root element named root. You map the cells of the workbook to display the data from each element described in the XML fragment.
You need to ensure that the custom workbook validates the data against the schema.
Which code segment should you use?
Correct Answer: A Vote an answer
You are creating an application by using Visual Studio Tools for the Microsoft Office System (VSTO). The application contains the following objects:
a DataSet object named OrderData
a ServerDocument object named sd1
You write the following lines of code. (Line numbers are included for reference only.)
01 System.Text.StringBuilder stringIn =
02 new System.Text.StringBuilder ();
03 System.IO.StringWriter stringOut =
04 new System.IO.StringWriter ( stringIn );
05 ...
06 sd1.Save();
You need to store the contents of the OrderData object in the document cache for offline use.
Which code segment should you insert at line 05?
Correct Answer: C Vote an answer
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?
Correct Answer: C Vote an answer
You create a Microsoft Office Word 2007 document.
The OpenXML package for the document is shown in the exhibit. (Click the Exhibit button.)
You create an XML file named item2.xml. The item2.xml file uses the same schema as the item1.xml file. You add the item2.xml file to the OpenXML package.
You need to ensure that the document uses data from the item2.xml file instead of the item1.xml file.
What should you do?
Correct Answer: A Vote an answer
0
0
0
10