:70-543VB
科目编号:70-543VB
科目名称:
描述:
70-543VB 考试是 Microsoft 公司的 认证考试官方代号,kaoccna 的 70-543VB 权威考试题库软件是 Microsoft 认证厂商的授权产品,kaoccna 绝对保证顺利通过,否则承诺全额退款!
认证作为全球IT领域专家 Microsoft 热门认证之一,是许多大中 IT 企业选择人才标准的必备条件。 如果你正在准备 70-543VB 考试,为 Microsoft 认证做最后冲刺,又苦于没有绝对权威的考试真题模拟
mcsepass 实行"一次不过全额退款"承诺。如果您购买我们 70-543VB 的考题,只要不是首次通过,凭盖有 PROMETRIC 或 VUE 考试中心钢印的考试成绩单,我们将退还您购买 70-543VB 考题大师的全部费用,绝对保证您的利益不受到任何的损失。
- 科目: 70-543VB
- 原价:
¥ 462.00 - 现价: ¥ 358.00
kaoccna 的优势
70-543VB 试题的质量和价值
mcsepass 模拟测试题具有最高的专业技术含量,只供具有相关专业知识的专家和学者学习和研究之用。
100% 保证您通过 70-543VB 的考试
如果你使用 mcsepass 模拟测试,我们将保证你的第一次参加考试即取得成功,否则,我们将全额退款!
试用后再购买
mcsepass 提供每种产品免费测试。在您决定购买之前,请检测联接,可能存在的问题及试题质量和适用性。
kaoccna认证考试题库网专业提供 Microsoft 70-543VB 最新题库下载,完全覆盖 mcsepass 考试原题。
部分考题展示
Exam : Microsoft 70-543(VB)
Title : TS: Visual Studio Tools for 2007 MS Office System (VTSO)
1. 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?
A. control.LockContentControl = True control.LockContents = False
B. control.LockContentControl = True control.LockContents = True
C. control.LockContentControl = False control.LockContents = True
D. control.LockContentControl = False control.LockContents = False
Answer: A
2. 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?
A. Delete the item1.xml file.
B. Delete the itemProps1.xml file.
C. Create a file named itemProps2.xml that marks the item2.xml file as a data store.
D. Create a file named item2.xml.rels that creates a relationship between the item2.xml file and the itemProps1.xml file.
Answer: D
3. You are creating a document-level solution for Microsoft Office Word 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO). The customization contains a predefined schema to validate the data that users add. The path to the schema is stored in a variable named filename. The Unique Resource Identifier (URI) for the schema is stored in a variable named uri. The alias for the schema is stored in a variable named alias. You need to ensure that the schema that the user selects is applied to the solution document. Which code segment should you use?
A. Me.XMLNodes.Add (filename, "", uri )
B. Me.Application.XMLNamespaces.Add (filename, uri , [alias], True)
C. Me.XMLSchemaReferences.Add ( uri , [alias], filename, True)
D. Dim doc As ThisDocument = Globals.ThisDocument Me.Application.XMLNamespaces.Item(uri). _ AttachToDocument(doc)
Answer: C
4. You develop a document-level solution for Microsoft Office Excel 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO).
You write the following lines of code in the worksheet class.
Private Sub Handle_Change ( ByVal Target As Excel .Range )
...
End Sub
You need to ensure that the Handle_Change method runs only when the data in the range A1 through E5 changes.
Which code segment should you add to the Startup event of the worksheet class?
A. Dim rng As Excel.Range = Me.Range ("A1", "E5") Dim rng1 As Microsoft.Office.Tools.Excel.NamedRange = _ Me.Controls.AddNamedRange ( rng , " MyRange ") AddHandler rng1.Change, AddressOf Me.Handle_Change
B. Dim rng As Excel.Range = Me.Range ("A1", "E5") Dim rng1 As Microsoft.Office.Tools.Excel.NamedRange = _ Me.Controls.AddNamedRange ( rng , " MyRange ") AddHandler rng1.SelectionChange, AddressOf Me.Handle_Change
C. Dim rng As Excel.Range = Me.Range ("A1", "E5") AddHandler Change, AddressOf Me.Handle_Change
D. Dim rng As Excel.Range = Me.Range ("A1", "E5") AddHandler SelectionChange , AddressOf Me.Handle_Change
Answer: A
5. You create a custom template for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO).
You add two Text content controls named control1 and control2 to the template.
The template contains the following custom XML fragment.
< ProductList >
<Product id="1">
<Name> Chai </Name>
</Product>
<Product id="2">
<Name>Chang</Name>
</Product> </ ProductList >
You need to ensure that control1 displays the id of the Product and control2 displays the name of the Product.
Which code segment should you use?
A. control1.XMLMapping.SetMapping _ ("/ ProductList /Product/id", "", _ Me.ActiveWindow.Document.CustomXMLParts (1)) control2.XMLMapping.SetMapping _ ("/ ProductList /Product/Name", "", _ Me.ActiveWindow.Document.CustomXMLParts (1))
B. control1.XMLMapping.SetMapping _ ("/ ProductList /Product/@id", "", _ Me.ActiveWindow.Document.CustomXMLParts (1)) control2.XMLMapping.SetMapping _ ("/ ProductList /Product/Name", "", _ Me.ActiveWindow.Document.CustomXMLParts (1))
C. control1.XMLMapping.SetMapping _ ("/ ProductList /Product[1]/id", "", _ Me.ActiveWindow.Document.CustomXMLParts (1)) control2.XMLMapping.SetMapping _ ("/ ProductList /Product[1]/Name", "", _ Me.ActiveWindow.Document.CustomXMLParts (1))
D. control1.XMLMapping.SetMapping _ ("/ ProductList /Product[1]/@id", "", _ Me.ActiveWindow.Document.CustomXMLParts (1)) control2.XMLMapping.SetMapping _ ("/ ProductList /Product[1]/Name", "", _ Me.ActiveWindow.Document.CustomXMLParts (1))
Answer: D
6. You create a custom workbook for Microsoft Office Excel 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO).
The workbook contains the following data:
Static data
Data that is imported from .xml files
The workbook displays the imported data by using mapped ranges.
You need to send only the imported data to a user.
What should you do?
A. Save the workbook as an .xml file, and then send the Workbook.xml file to the user.
B. Save the workbook as a .zip file, and then send the Workbook.xml file that is contained in the .zip file to the user.
C. From the Developer Ribbon user interface, export the XML data as an .xml file by using the Export command. Send the .xml file to the user.
D. From the Design Ribbon user interface, export the XML data to a Microsoft Windows SharePoint Services list by using the Export command. Send the link from the Microsoft Windows SharePoint Services list to the user.
Answer: C
7. You are creating a document-level solution for Microsoft Office Word 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO).
You write the following lines of code in the solution.
Dim tag As SmartTag = New _
SmartTag("http:// MySmartTag/ST#MySmartTag", "My Tag")
tag.Terms.Add("Bug")
tag.Terms.Add("Error")
tag.Terms.Add("Issue")
Dim action As Action = New Action("Add Reference")
tag.Actions = New ActionBase() {action}
AddHandler action.Click, AddressOf Me.action_Click
You need to add the string "Reference: " before either "Bug", "Error", or "Issue" when the smart tag is clicked.
Which code segment should you use?
A. Private Sub action_Click ( _ ByVal sender As Object, ByVal e As ActionEventArgs ) e.Range.Text = "Reference: " & e.Text End Sub
B. Private Sub action_Click ( _ ByVal sender As Object, ByVal e As ActionEventArgs ) e.Range.Text = "Reference: " & e.Range.XML (False).ToString() End Sub
C. Private Sub action_Click ( _ ByVal sender As Object, ByVal e As ActionEventArgs ) e.Range.Text = "Reference: " & e.Properties.Read ("Text") End Sub
D. Private Sub action_Click ( _ ByVal sender As Object, ByVal e As ActionEventArgs ) e.Properties.Write ( e.Range.Text , "Reference: " & e.Range.Text ) End Sub
Answer: A
8. You are creating a document-level solution for Microsoft Office Word 2003 by using Visual Studio Tools for the Microsoft Office System (VSTO). A transformation file is used to convert the solution document to an HTML file. The path to the transformation file is stored in a variable named filename. The Uniform Resource Identifier (URI) is stored in a variable named uri. An optional alias is stored in a variable named alias. You need to ensure that the solution document uses the transformation file that the user provides. Which code segment should you use?
A. Me.Application.XMLNamespaces.Add (filename, uri , [alias], True)
B. Me.XMLSchemaReferences.Add ( uri , [alias], filename, True)
C. Me.XMLNodes.Add (Name:=filename, Namespace:="")
D. Me.XMLSaveThroughXSLT = filename
Answer: D
9. 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?
A. Me.ActionsPane.Controls.AddRange _
(New Control() {uc, New MyUserControl()})
B. Me.ActionsPane.Controls.Add(uc)
C. Me.Controls.AddControl(uc, 100, 100, 100, 100, "Action s Pane")
D. Me.ActionsPane.Parent.Controls.Add(uc)
Answer: B
10. 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 document refers to the following bugs:
bug123
Bug514
BUG512
The solution document must provide more details about a bug whenever a reference to the bug is found in the document.
You need to create a smart tag that identifies each bug.
Which code segment should you use?
A. Dim tag As SmartTag = New SmartTag _ ("http: / / MySmartTag/ST#BugRecognizer", "Bug Recognizer") Dim regex As Regex = _ New Regex("bugddd", RegexOptions.IgnoreCase) tag.Expressions.Add(regex)
B. Dim tag As SmartTag = New SmartTag _ ("http: / / MySmartTag/ST#BugRecognizer", "Bug Recognizer") Dim regex As Regex = New Regex("[B|b][U|u][G|g]000") tag.Expressions.Add(regex)
C. Dim tag As SmartTag = New SmartTag _ ("http: / / MySmartTag/ST#BugRecognizer", "Bug Recognizer") tag.Terms.Add("bugddd")
D. Dim tag As SmartTag = New SmartTag _ ("http: / / MySmartTag/ST#BugRecognizer", "Bug Recognizer") tag.Terms.Add("[B|b][U|u][G|g]000")
Answer: A
11. 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?
A. /Data/Data.xml
B. /CustomXML/Item1.xml
C. C:/Data/Data.xml
D. C:/Data/CustomXML/Item1.xml
Answer: B
12. You are creating a custom template for Microsoft Office Word 2007 by using Visual Studio Tools for the Microsoft Office System (VSTO).
The template contains a custom XML part that consumes data from an XML source. The XML source contains the following XML fragment.
<Products> mother board, memory, hard drive,
floppy drive, DVD drive </Products>
You need to display the Products element as a comma-separated list within a paragraph of text.
Which code segment should you use?
A. Application.ActiveDocument.ContentControls.Add _ (WdContentControlType.wdContentControlRichText, range)
B. Application.ActiveDocument.ContentControls.Add _ (WdContentControlType.wdContentControlText, range)
C. Application.ActiveDocument.ContentControls.Add _ (WdContentControlType.wdContentControlDropdownList, range)
D. Application.ActiveDocument.ContentControls.Add _ (WdContentControlType.wdContentControlCombobox, range)
Answer: B
13. You create a Microsoft Office Word 2007 document. The document will use data from a file named Data1.xml. The file is located in the C:Data folder. You create an application by using Visual Studio Tools for the Microsoft Office System (VSTO). You need to ensure that the application adds the data from the Data1.xml file to the document. Which code segment should you use?
A. document.CustomXMLParts.Add(XML:="") document.CustomXMLParts(1).Load("C:data1.xml")
B. Dim control As ContentControl control = document.ContentControls.Add _ ( WdContentControlType.wdContentControlText, range) control.XMLMapping.SetMapping( _ "C:data1.xml", "", document.CustomXMLParts(1))
C. Dim xmlPart As CustomXMLPart xmlPart = document.CustomXMLParts.Add(XML:="") xmlPart.DocumentElement.AppendChildNode( _ "xmlPart", uri, MsoCustomXMLNodeType.msoCustomXMLNodeElement, _ "data1.xml")
D. Dim control As ContentControl control = document.ContentControls.Add( _ WdContentControlType.wdContentControlText, range) control.XMLMapping.SetMapping( _ "/data1.xml", "", document.CustomXMLParts(1))
Answer: A
14. You create an application by using Visual Studio Tools for the Microsoft Office System (VSTO). The application modifies a Microsoft Office Excel custom workbook. The custom workbook displays the data that is contained in an XML file named Salesorder.xml. The Salesorder.xml file uses an XML schema that is stored in a file named Salesorder.xsd. Both the Salesorder.xml file and the Salesorder.xsd file are located in the C:Data folder. You need to ensure that the data in the Salesorder.xml file is available for mapping. Which code segment should you use?
A. Dim map As Excel.XmlMap = _ Me.XmlMaps.Add ("C:DataSalesorder.xsd", "Root") Me.XmlImport ("C:DataSalesorder.xml", map, _ True, Globals.Sheet1.Range("A1"))
B. Dim map As Excel.XmlMap = _ Me.XmlMaps.Add ("C:DataSalesorder.xml", "Root") Me.XmlImport ("C:DataSalesorder.xsd", map, _ False, Globals.Sheet1.Range("A1"))
C. Dim map As Excel.XmlMap = _ Me.XmlMaps.Add ("C:DataSalesorder.xsd", "Root") Me.XmlImportXml ("C:DataSalesorder.xml", map, _ True, Globals.Sheet1.Range("A1"))
D. Dim map As Excel.XmlMap = _ Me.XmlMaps.Add ("C:DataSalesorder.xml", "Root") Me.XmlImportXml ("C:DataSalesorder.xsd", map, _ False, Globals.Sheet1.Range("A1"))
Answer: A