Microsoft 070-543 Exam Overview:
| Certification Vendor: | Microsoft |
|---|---|
| Exam Name: | TS: Visual Studio Tools for 2007 Microsoft Office System (VSTO) |
| Exam Number: | 70-543 |
| Available Languages: | English |
| Exam Format: | Case studies, Multiple choice |
| Passing Score: | 700/1000 |
| Certificate Validity Period: | Retired |
| Sample Questions: | Microsoft 070-543 Sample Questions |
| Exam Way: | Proctored exam at authorized testing centers or online proctoring (depending on availability at the time of exam offering). |
| Pre Condition: | Basic understanding of .NET Framework and Microsoft Office development concepts is recommended. |
Microsoft 070-543 Exam Syllabus Topics:
| Section | Objectives |
|---|---|
| Deployment and security | - Trust and security model in Office add-ins - ClickOnce deployment for Office solutions |
| Developing Office Solutions with VSTO | - VSTO architecture and runtime - Office application integration |
| Customizing Microsoft Office applications | - Word and Excel add-in development - Ribbon and UI customization |
| Data access and interoperability | - Office data binding and automation - Interacting with COM and Office APIs |
Microsoft TS: Visual Studio Tools for 2007 MS Office System (VTSO) Sample Questions:
Question #1
You create an add-in for Microsoft Office Excel by using Visual Studio Tools for the Microsoft Office System (VSTO). You create the following method in the add-in.
void DisplayTotal ( Excel.Range rng ) { //Display total }
You write the following code segment in the startup event of the add-in.
Excel.Worksheet ws = Globals.ThisAddIn.Application .
ActiveSheet as Excel.Worksheet ;
ws.SelectionChange += new Excel.DocEvents_SelectionChangeEventHandler ( ws_SelectionChange );
The add-in must display the sum of the values in a selected range. If multiple ranges are selected, the add-in must display only the sum of the values in the first selected range.
You need to meet the outlined requirements.
Which code segment should you use?
A. void ws_SelectionChange ( Excel.Range Target) { DisplayTotal ( Target.CurrentRegion ); }
B. void ws_SelectionChange ( Excel.Range Target) { DisplayTotal ( Target.Areas [0]); }
C. void ws_SelectionChange ( Excel.Range Target) { DisplayTotal ( Target.Previous ); }
D. void ws_SelectionChange ( Excel.Range Target) { DisplayTotal ( Target.Areas [1]); }
Question #2
You are creating an add-in for Microsoft Office Word 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 try { 02 Word.Paragraph par =
this.Application.ActiveDocument.Paragraphs[2]; 03 par.Range.Text = ""; 04 } 05 ...
The application throws an exception if the active Word document does not contain a second paragraph.
You need to handle the exception.
Which code segment should you insert at line 05?
A. catch (COMException ex) { // }
B. catch (IOException ex) { // }
C. catch (IndexOutOfRangeException ex) { // }
D. catch (InvalidRangeException ex) { // }
Question #3
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 = false; control.LockContents = false;
B. control.LockContentControl = false; control.LockContents = true;
C. control.LockContentControl = true; control.LockContents = false;
D. control.LockContentControl = true; control.LockContents = true;
Question #4
You develop an add-in for Microsoft Office Excel by using Visual Studio Tools for the Microsoft Office System (VSTO). The add-in contains a class that uses the following method.
Public Sub ProcessCells ()
Dim ws As Excel.Worksheet = CType _
( Application.ActiveSheet , Excel.Worksheet ) Dim values As List(Of Object) = New List(Of Object)()
'Your code goes here
End Sub
The add-in must retrieve the values for the cells in the range A1 through E3.
You need to exclude empty cell values when you retrieve cell values from the range.
Which code segment should you use?
A. Dim rng As Excel.Range = ws.Range ("A1", "E3") For x As Integer = 1 To 3 For y As Integer = 1 To 5 Dim r As Excel.Range = rng.Cells (x, y) If Not r Is Nothing Then values.Add (r.Value2) End If Next Next '...
B. Dim rng As Excel.Range = ws.Range ("A1", "E3") For x As Integer = 0 To 2 For y As Integer = 0 To 5 Dim r As Excel.Range = rng.Cells (x, y) If Not r.Value2 Is Nothing Then values.Add (r.Value2) End If Next Next '...
C. Dim rng As Excel.Range = ws.Range ("A1", "E3") For Each r As Excel.Range In rng.Cells If Not r.Value2 Is Nothing Then values.Add (r.Value2) End If Next '...
D. Dim rng As Excel.Range = ws.Range ("A1", "E3") For Each r As Excel.Range In rng.Cells If Not r Is Nothing Then values.Add (r.Value2) End If Next '...
Question #5
You are creating an add-in for Microsoft Office Excel 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 ws As Excel.Worksheet = CType _
(Globals.ThisAddIn.Application.ActiveSheet, Excel.Worksheet) 02 Private rng1 As Excel.Range = ws.Range("A1", "E5") 03 Private rng2 As Excel.Range = ws.Range("D4", "J7") 04 ...
You need to change the format of the cells that overlap between rng1 and rng2 to bold.
Which code segment should you insert at line 04?
A. rng1.Group(rng2) rng1.Font.Bold = True
B. Dim rng3 As Excel.Range = ws.Application.Union(rng1, rng2) rng3.Font.Bold = True
C. Dim rng3 As Excel.Range = ws.Application.Intersect(rng1, rng2) rng3.Font.Bold = True
D. rng1.Merge(rng2) rng1.Font.Bold = True
Solutions:
| Question #1 Correct Answer: D | Question #2 Correct Answer: A | Question #3 Correct Answer: C | Question #4 Correct Answer: C | Question #5 Correct Answer: C |


PDF Version Demo






We are confident about the products and aim to help you pass with ease. In case of failure, we will provide a no hassle full money back guarantee for the purchasing fee.
1206 Customer Reviews
Quality and ValueITbraindumps Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITbraindumps testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITbraindumps offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.