Which one of the following is a benefit of using transaction processing with Data AccessObjects (DAOs)?*(A) enhanced data integrity(B) cross-platform compatibility(C) the ability to use two-phase commits(D) the ability to implement Union queries
You are using the LogEvent method to log error events in your Visual Basic application.Where can you find the logged information on a Windows NT computer?(A) in a file named VBevents in the default application directory(B) in the Windows NT System Event Log(C) in the file specified in the LogPath property in your Visual Basic application*(D) in the Windows NT Application Event Log
You have 3 option buttons in a frame - how many event procedures must you have torespond to a user clicking on any button?(A) 2*(B) 1(C) 3(D) 4
You are using Visual Basic to retrieve class information from a Microsoft SQL Serverdatabase named ClassList. The database Resides on a server named Neptune. Which code fragmentwill create a connection to this data source?(A) Set conn = New connection ; With conn ; .Provider = "SqlOleDB" ; .ConnectionString ="User ID=sa;"&& "Data Source= Neptune;"&& "Initial Catalog=ClassList"(B) Set conn = New connection ; With conn ; .Provider = "Neptune"
These routines are contained in a module named basError that is stored in a VisualComponent Manager repository. What must you do to add this component to your project?(A) Select component in the Visual Component Manager explorer, read the description ofthe component to find out the riginalsourceproject, and copy the component from that project.*(B) Select component in the Visual Component Manager explorer, and click add to on theshortcut menu.(C) Select component in the Visual Component Manager
Which of the following items can be displayed using the Object Browser?(A) classes, properties, events and methods only(B) classes and properties only(C) classes, properties and events only*(D) classes, properties, events, methods and constants
You use VB to develop a reusable component. To make classes in your project easier touse, you intend to add descriptive text and context-sensitive Help for each of the properties,methods, and events in the classes. Which procedure must you follow to add descriptive helpinformation for each class?*(A) Open the code window for the class module, in the procedure attributes dialog box,enter a description and a HelpcontextlD for each procedure.(B) Open the code window for the class module, in the procedure
You have a Visual Basic application in which your own error handler. You create variablesto needed to display your own error message. Which code fragment will invoke your error?(A) Err.Number:=vbObjectError + intCustom, Source:=strErrSource,Description:=strErrDescription, HelpFile : =strHelpFile, HelpContext : =conContext(B) Err.HelpContext:=vbObjectError + intCustom, Source:=strErrSource,Description:=strErrDescription, HelpFile : =strHelpFile(C) Err.SourceNumber:=vbObjectError + intCustom, Source
You are using VB class modules to modularize your desktop application. You expect thisapplication to be used by a wide variety of users, including preschool children, universitystudents, business users, and users with visual or hearing impairments. How should you designyour application?(A) Develop a single user service component that includes all elements required by alltypes of users.(B) Develop an application that displays a dialog box prompting users at startup for thetype of user he or she is.(C)
The stored procedure takes a single parameter, the store number of A particular store,and returns the product sales for that store. The user can choose A store and view the sales forthat store, and can repeat this operation many times to view the sales for different stores.Which ADO object should you use to execute the Sp_store_sales stored procedure?(A) Parameter(B) Recordset(C) Connection*(D) Command
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top