Microsoft 70-176: Designing and Implementing Desktop Applications with MS Visual Basic 6.0
#91. You have two classes ClassA and ClassB that both contain a Bookmark property to speed up processing. How should the Bookmark property be declared so that it is not visible from someone accessing the object?
#92. A variable MyVar is declared in each of the forms in your project. An error occurs in form1 that is related to the MyVar variable. How do you set the context and scope of a watch on MyVar so that it will only evaluate it for form1?
#93. You have created an object in VB that provides information about Window NT Services. The object has a class, clsServices that contains information about each service installed on the workstation. You do not want the user of this object to be able to create instances of the clsServices class but rather the object should create the clsServices based on what services are available. How should you set the instancing of this object?
#94. What is the outcome of the following section of code? On Error GoTo eh: Sub ProcA() Dim x as integer x = 1000 ProcB(x) msgbox "x = " & x Exit Sub eh: msgbox "An Error has occurred" End Sub Sub ProcB(n as integer) dim y as integer, z as integer z = n/y msgbox "z = " & z msgbox "y - " & y End Sub
#98. In Visual Basic you can use the collection object to create a collection of objects in an object model. What built in methods or properties does the Collection data type have? (Choose 3)
#99. You are having one textbox on form1 and another form with listbox When you click the item in the listbox the text of the list which Is clicked should come into the textbox which of the following code U will use
#100. You have to prepare the chart of a dept and its employee using the Treeview then which code U will use You have a nod x as a node object and Treeview named tvdeptt. You want that the Employee should come under the Dept various options were there with the code some points I remembered is