A record is about to be updated with the LockEdits property set to False. Which of thefollowing statements is true?*(A) Optimistic locking is being used. Using the Update method will update the record andrelease the record lock.(B) Pessimistic locking is being used. Using the Update method will update the record andrelease the record lock.(C) Optimistic locking is being used. Using the Edit method will update the record andrelease the record lock.(D) Pessimistic locking is being used. Using the
These objects should not be independently creatable in a project that does not containyour control. User must be able to retrieve particular day objects into variables in their ownapplications. How should you define these objects?(A) Add a second project to the project group containing the activeX control project.Create a days class and a day class within this project. Set both of these classes to be publicnotcreatabl(B) Add a seconde project to the project group containing the activeX control project.Create
In Visual Basic, you can add properties, methods and events to the definition of a classmodule. Which of the following statements describes how events are declared in a class module?(A) Events can only be declared for an in-process class module.(B) Events in a class module can have named arguments, optional arguments or ParamArray arguments.(C) Events can only be declared for an out-of-process class module.*(D) Events are declared as Public for all class modules.
You create a Visual Basic application that will be distributed to users from yourcompany’s Web site. You want users to be prompted to enter a registration name and serial numberduring installation process. You want to use the Setup Toolkit to accomplish this. Which filemust you modify?(A) The application’s.cab file*(B) The Setupl.exe file(C) The Setup.exe file(D) The application’s.inf file
Which object variables are considered to be within the current scope of the Locals window?*(A) all object variables declared in the executing procedure(B) all module-level variables in the project(C) all object variables declared as Public
If a server component is writing error messages to the Windows NT event log, what sort ofoption must be set for the component?*(A) The component has been marked for unattended execution(B) The component does not have a help file associated with it.(C) The component is set for multiuse instancing.(D) The component is set to raise error messages.
You decide to encapsulate the business logic into a COM EXE named HRManager.exe. Withinthe user interface portion of your application, you want to create an instance of the Employeeobject exposed by HRManager.exe. Which two code fragments will instantiate an Employee objectvariable? (Choose two)*(A) set oEmployee= Createobject( "HRManager.Employee")(B) set oEmployee= getobject(,HRManager.Employee)(C) set oEmployee= getobject ("",HRManager.Employee)*(D) set oEmployee= New HRManager.Employ
COM clients that use this COM DLL must be able to retrieve information on the serviceobjects, but should not be able to create new service objects, internally, the COM DLL maintainsa pool of service objects and uses them to provide information as necessary. What value shouldyou choose for the instancing property of the service class?(A) Multiuse(B) Singleuse*(C) PublicNotCreatable(D) Globalmultiuse
You are having one textbox on form1 and another form with listbox When you click theitem in the listbox the text of the list which Is clicked should come into the textbox. Which ofthe following code will you use?(A) Some other event than the click event.(B) SubList1_Click () | Form1.text1.text = list1.itemdata | End sub*(C) SubList1_Click () | Form1.text1= list1 | End sub(D) One more click with the dataitem method
Which files are left uncompressed in the distribution set?*(A) Setup.exe*(B) Setup.lst(C) Setup.img(D) Setup.com
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top