Microsoft 70-176: Designing and Implementing Desktop Applications with MS Visual Basic 6.0
#31. Your application contains a form with two PictureBox controls: PictureBox1, which contains a bitmap and PictureBox2, which is empty. You want to be able to drag the bitmap contained in PictureBox1 and drop it into PictureBox2. However, you do not want to be able to drag the bitmap from PictureBox2 and drop it into Picturebox1. How must you set the OLEDragMode and the OLEDropMode properties of PictureBox1 and PictureBox2 to accomplish this automatically?
#32. Bill creates a control array that contains four instances of a control named ControlA at design time. During execution of the form containing this array, five more instances of ControlA are created. Which instances of ControlA can be unloaded if Bill executes the Unload statement in the Immediate window?
#36. Your form contains a StatusBar control named NewBar that consists of five Panel objects. Which line of code will display the text "Please Wait..." in the second Panel object of this control?
#37. You have a procedure that is normally called with four arguments. Occasionally, you want to pass a fifth argument to the procedure. Which Visual Basic keyword will enable you to declare the procedure so that it can be called with either four or five arguments?
#39. In Visual Basic, you can add properties, methods and events to the definition of a class module. Which of the following statements describes how events are declared in a class module?
#40. You are designing a form that must contain dynamically created TextBox controls. What must you do to allow a TextBox control to be dynamically created and displayed at run time?