You create a Visual Basic application that you want to distribute over your company’sLAN. You have already packaged the application as a single.cab file by using the Package andDeployment Wizard. How should this application be distributed to users who are connected to the LAN?*(A) Use the Package and Deployment Wizard to copy the application.cab file to a servernetwork driver.(B) Use the Package and Deployment Wizard to copy the application.cab file to each client workstat(C) Use the Package
You are helping to convert an application from VB forms to active documents so that itcan be used in web browsers on the corporate intranet. You are revising code in doccustomer, anactive document created from the frmcustomer form. The current code is as follows.private sub cmdinventory_click()frminventory.showend subThe frminventory form has been converted to become the docinventory active document. Whichprocedure should you use to best preserve the functionality of the existing code?(A) private
Which property procedure is used to create a read-only property?(A) Property Set(B) Property Let*(C) Property Get
Your Visual Basic application contains the following Sub procedure.Private Sub IncreaseNumber(ByVal iNumber As Integer)Dim iCounter As IntegerFor iCounter= 1 To 5iNumber= iNumber + 1Next iCounterEnd SubThis subroutine is part of the code for a form named Forml. You define a watch Expression thevariable iNumber so that you can examine its value. You want to See the value of iNumber onlywhen IncreaseNumber is executing. What should you do ?(A) Set the module context for the expression to Forml. Set
You are using ADO retrieve data from a MSSQLserver database. If the connection attemptfails, you want to log the information in a text file. In which event handler should you writethis custom code?*(A) Connectcomplete(B) willconnect(C) Executecomplete(D) Willexecute
When is the RecordCount property of a recordset accurate?(A) only immediately after the recordset is created(B) always(C) only when the recordset is not updateable*(D) only after all records in the recordset have been accessed
One of the business rules implemented by this object is that inventory for an item cannever be negative. How should the object inform the user interface when this business rule is broken?*(A) By using an Err.Raise statement to raise a custom error message(B) By using the LogEvent method to write to the event log(C) By using the Rollback method to discard the transaction(D) By using the MsgBox function to show a message to the user
Which of the following actions triggers the Terminate event of a form?*(A) setting all the variables that refer to the form object to Nothing(B) performing the Close method on the form(C) performing the Hide method on the form(D) using the End statement within the application
Which of the following can be exposed by an ActiveX document? (choose all that apply)*(A) Properties*(B) Methods(C) User Controls*(D) Events
Which type of project can be packaged for Internet distribution by using the CreateInternet Download (choose two)*(A) an ActiveX EXE*(B) an ActiveX DLL(C) a standard DLL(D) a standard EXE
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top