Microsoft 70-176: Designing and Implementing Desktop Applications with MS Visual Basic 6.0
#51. You are given the following Visual Basic subroutine: Sub Test1() Dim Total As Integer Dim W as Integer Dim X as Integer Dim Y as Integer Dim Z As Integer X = 1:Y = 1:Z = 1 For W = 1 To 3 X = X + 1 Next W Do While Y < 3 Y = Y + 1 Loop Do Until Z <= 4 Z = Z + 1 Loop Total = W + X + Y + Z End Sub What is the value of Total when this subroutine is finished executing?
#54. Procedure1 in your application has error-handling code containing the statement Resume Next and Procedure2 contains no error-handling code. What will happen if Procedure1 calls Procedure2 and Procedure2 raises an error?
#56. Your application calls ten DLL functions. Each DLL function has a distinct name and none of the DLL functions is named using Visual Basic keywords. Which advanced compiler optimization option would be most effective for your application?
#58. You are debugging class modules in an ActiveX component. Why might you select the Break in Class Module option on the General tab of the Options dialog box?
#60. You use Setup Wizard with the Internet Download Setup option enabled to distribute your ActiveX document over the Internet. In order for users to maintain updated and digitally signed versions of run-time components contained in your ActiveX document, you want users to download these components directly from Microsoft's web site. In which one of the following files is the URL information for these components stored?