70-552VB MCPD Braindump
ExamSoon 70-552VB Exams
Microsoft MCAD Skills to MCPD Wdws Dvlpr by Using MS.NET Frmwk
O rder : 70-552VB Exam
Practice Exam: 70-552VB
Exam Number/Code: 70-552VB
Exam Name: MCAD Sk ills to MCPD Wdws Dvlpr by Using MS.NET Frmwk
Questions and Answers: 87 Q&As
Free 70-552VB Braindumps
Exam : Microsoft 70-552(VB)
Title : UPGRADE:MCAD Skills to MCPD Wdws Dvlpr by Using MS.NET Fmwk
1. You are customizing a Windows Form. You need to add an input control that provides AutoComplete suggestions
to the user as the user types. Which two controls can you use to achieve this goal? (Each correct answer presents a
complete solution. Choose two.)
A. TextBox control set to SingleLine mode
B. TextBox control set to MultiLine mode
C. ComboBox control
D. RichTextBox control
E. MaskedTextBox control
Answer: AC
2. You are customizing a Windows Form to update a database asynchronously by using an instance of a
BackgroundWorker component named bgwExecute. You start the component by using the following code.
Private Sub StartBackgroundProcess()
AddHandler bgwExecute.DoWork, _
New DoWorkEventHandler(AddressOf WorkHandler)
AddHandler bgwExecute.RunWorkerCompleted, _
New RunWorkerCompletedEventHandler(AddressOf _
CompletedHandler)
AddHandler bgwExecute.ProgressChanged, _
New ProgressChangedEventHandler(AddressOf ProgressChanged)
bgwExecute.RunWorkerAsync()
End Sub
If the UpdateDB method that is called by the BackgroundWorker component returns the value False, you need to
display a message box to the user that indicates that the update failed. Which code segment should you use?
A. Sub WorkHandler(ByVal sender As Object, ByVal e As DoWorkEventArgs) If Not UpdateDB() Then
MessageBox.Show("Update failed") End IfEnd Sub
B. Sub CompletedHandler(ByVal sender As Object, ByVal e As _ RunWorkerCompletedEventArgs) If Not UpdateDB()
Then MessageBox.Show("Update failed") End IfEnd Sub
C. Sub WorkHandler(ByVal sender As Object, ByVal e As DoWorkEventArgs) e.Result = UpdateDB()End Sub Sub
CompletedHandler(ByVal sende