You create an ActiveX document that uses five standard run-time components. Two of thesecomponents are written by Microsoft. You want to distribute this document over the Internet andyou are concerned that users may already have the five standard run-time components. What is theminimum number of secondary .cab files that you need to create?(A) 2(B) 1*(C) 5*(D) 3*(E) 0
You use VB to create a COM EXE. You compile the component by clicking make projectnamefrom the file menu. You now want to test this additional functionality by single-stepping throughthe new code. How can you ensure that your test project is using the lastest version of the component?(A) Compile the new version of the component project, and replace the previous versionwith the new version. Then run the test project.(B) Add the test project to the VB project group containing the component project.
What is the default setting of a Data control’s RecordsetType property?*(A) vbDynasetType(B) vbSnapshotType(C) vbTableType(D) Null
You are designing a form that must contain dynamically created TextBox controls. Whatmust you do to allow a TextBox control to be dynamically created and displayed at run time?(A) Create the control using the New statement, position the control using the Movemethod and set the Visible property of the control to True.(B) Create the control using the Dim statement and set the Visible property of thecontrol to True.(C) Create the control using the New statement, load the control using the Load statementand
Bill creates a control array that contains four instances of a control named ControlA atdesign time. During execution of the form containing this array, five more instances of ControlAare created. Which instances of ControlA can be unloaded if Bill executes the Unload statement inthe Immediate window?(A) only the first instance of ControlA(B) only the four design-time instances of ControlA*(C) only the five run-time instances of ControlA(D) all instances of ControlA(E) only the last instance of
You want the execution of your code to halt when a variable changes. Which tool providesthe simplest way to accomplish this?(A) the Properties window*(B) the Watch window(C) the Locals window
You have an in-house accounting application that uses a number of ActiveX controls. Thedeveloper of the application has just released a new ActiveX control that replaces one of theActiveX controls. What is the best way to update the ActiveX control on your computer?(A) Replace the existing ActiveX control on your computer with the newer ActiveX controland use the Regsvr32.exe utility to register the control.*(B) Run Setup Wizard to install the new ActiveX control.(C) Compile the newer ActiveX control
A variable called Name is defined locally in a procedure called pOne in the frmMain formmodule. Watch is set on the Name variable. When can the variable’s contents be inspected?*(A) Whenever the code is paused in the Open procedure of frmMain(B) Whenever the code is paused in any global procedure inside the frmMain form module(C) Whenever the code is paused anywhere in the frmMain form module(D) Whenever the code is paused
You are using Visual Basic to design a COM component that will allow the user to enter anIP address in the format nnn.nnn.nnn.nnn. This component will be used as part of a form by manyapplications within your company. The component must encapsulate the logic that controls whethera particular IP address should be accessible to a particular user. If the address isinaccessible, the component should set the address back to all zeros. Which type of COM componentshould you create?(A) COM DLL(B) COM EXE(C)
Your VB application uses a COM component. The COM component will communicate with yourapplication by calling a method of one of your applications objects. What should your applicationdo to enable this type of communication?(A) Create a callback function in a standard module, and pass that function directly tothe COM component(B) Create a callback function in a standard module, and pass the address of thatfunction to the COM component by using the addressof operator(C) Create an object, and pass
View page << Previous 4 5 6 7 [8] 9 10 11 12 13 Next >>

Go Top