You want to pass a BSTR to a DLL procedure that expects an LPSTR as an argument. Howmust you pass the BSTR?*(A) by value(B) by reference(C) by pointer
Each client contains a reference to the CCVerify component, which exposes an notifyinterface for this class. To enable this communication, a reference to notify must be passed fromyour application to CCverify. You must use the register method of CCverify to do this. Which codesegment should be used to implement the register method in the CCverify component?(A) Private pNotify As object ; sub register(oNotify as object) ; set pNotify=oNotify ;end sub(B) Private pNotify As Notify ; sub register(oNotify
A form contains only a TextBox control called TextA. The only statement in the form’sLoad Event is: TextA.Text = "Test" Which events for the form will be invoked if a user opens the form?*(A) Initialize, Load and Activate only(B) Initialize and Load only(C) Initialize only(D) Initialize, Load, Activate and Validate
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?(A) NewBar.Panels(1).Caption = "Please Wait..."(B) NewBar.Panels(2).Caption = "Please Wait..."*(C) NewBar.Panels(2).Text = "Please Wait..."(D) NewBar.Panels(1).Text = "Please Wait..."
You Use Visual Basic to create an out-of process COM component named client that exposeto enter break mode wherever the code contained in the add method is executed. Which line of codeshould you add to the top of the add method to ensure that is occurred?(A) on error goto 0(B) app.logevent "false"(C) app.startlogging "c: emp_reak.log", vblogauto*(D) Debug.Assert false
You are designing a Visual Basic desktop application that will be used to processgeographic data stored in a local database. These calculations are expected to be fast but memoryintensive. Furthermore, the calculations rely on a third-party ActiveX control. The third-partycontrol has a number of known bugs. You write the following code for a Visual Basic application.Public Sub CalcBonus()On Error Goto ErrHandlerDim curSalary, curBonus As currency, Dim dblBonusRate as DoubleCurSalary=25000 DblBonusRate=
The Caller is notified asynchronously when the operation actually completes a called ofthe AddCourse method defines a variable of type Courses. The Variable is named collegecourses.Which code fragment must a caller use to define collegecourses?(A) Dim collegecourses As Courses*(B) Dim WithEvents collegecourses As Courses(C) Public collegecourses As Courses.(D) Public collegecourses As New Courses
You want to use the Setup Wizard to distribute your ActiveX document on the Internet.Which types of files does the Setup Wizard create when you use the Create Internet Download Setupoption? (choose all that apply)*(A) an .htm file*(B) an .inf file*(C) a .cab file(D) a .vbp file
You are using a ListView control named ListView on your form to display a list of itmes.You want to sort the list in either ascending or descending order when the column header isclicked. Which code fragment will achieve this?Essay Question. (Flash Card)
You are using Visual Basic write a COM DLL. You want to debug component by steppingthrough your code one line at a time can you do this?(A) Change the project type to Standard EXE. Set a breakpoint in the Sub Main.Subroutineand execute the Standard EXE from within the Visual Basic IDE.(B) In the Add Project dialog box, select Standard EXE as the project type. Set the DLLproject as the startup project. Set a reference to the Standard EXE. Call the Component from yourStandard EXE.(C) Change the project
View page << Previous 1 2 3 [4] 5 6 7 8 9 10 Next >>

Go Top