|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Master
1) You are creating a client application that calls ActiveX DLLs.
Which of the following properties of the Err object provides the name of a component that sends an error back to the client application? 2) If the Cancel Error Property of the CommonDialog Box is set to true then which of the following statement is true: 3) What is the extension of the Visual Basic project file that stores the design of a user control. 4) A __________ control defaults to displaying the files in the current directory: 5) To destroy an object and free the memory space occupied by it, the keyword used is: 6) Which event of a text box would you use for validating the data entered by the user? 7) Which of the following statements forces inline error handling? 8) The _______ method resets the contents of bound controls to their original values when the user clicks on the cancel button. 9) To deactivate the Form UnLoad event, you make the following change in the function definiton: Private Sub Query_Unload(Cancel as Integer,UnloadMode as Integer) To prevent the Form from closing, you will set the: 10) How many root nodes can a TreeView control have? 11) A project group is a Project which: 12) Procedures declared in a _____ are local whereas procedures declared in a ______ are available to the whole application. 13) How can you keep the user from exiting a form by clicking the Close button? 14) In order to provide a transparent background to the Form, you must change the _________ property to _______. 15) The _______ property enables Visual Basic to draw complete images in memory before displaying them on the Screen. 16) You want to display the code and the description of an error. What would be the correct syntax? 17) What is the purpose of the Image List Control? 18) Which method would you use to get a free or unused File identifier while opening 19) Which property procedure is used to retrieve the value of a property? 20) Which of the following can be shown to the user using the Common Dialog control in VB? 21) Which event is triggered when the user moves to another open form? 22) Which event of an ActiveX control data provider runs every time a bound control extracts data through the provider 23) Which of the following are not properties of Command Button 24) You are creating an ActiveX component that raises user-defined errors. Which of the following statements correctly raises an error to the client with error number 20000? 25) Which events enable you to determine which key was pressed by the user? 26) In order to access a file in Non-textual format, you have to open file in: 27) Visual Basic displays information depending upon the current value of two properties of the form, called: 28) Which of the following procedure types will execute when you assign a value to a property of an object? 29) In order to overlap the controls (say a command button) during design time, we use the 'Send To Back' or 'Bring To Front' option from the Edit menu. To change it dynamically (i.e. during program execution) we need to change: 30) Name the only property supported by a collection? 31) Which of the following situations would not cause the Initialize event of an ActiveX control to occur? 32) Which event occurs only once in the entire life cycle of an ActiveX control? 34) You are creating an ActiveX component that raises user-defined errors. What is the valid range of error numbers that you can use for user-defined errors? 35) Which property of the ProgressBar determines how much of the bar is filled? 36) The ______ function can be used to run any .com, .exe, .bat or .pif file from a Visual Basic program. 37) One can convert a Visual Basic Application into ActiveX Document using 38) The caption and the name properties of the command button: 39) You try to initialize a new Object variable with the following line but receive an error. What could be the possible cause? 40) Which of the following will perform a direct execution of a Command object? 41) The vbCritical symbol displays: 42) What does the forms collection contain? 43) Which method of the Recordset object should you use to navigate multiple recordsets returned by a stored procedure? 44) Which of the following cannot be included in the Open method of the recordset? 45) The settings for the Color properties in Visual Basic are indicated by: 46) What you must do before you make calls to an ActiveX DLL project in the same Project Group? 47) The _______ property changes the tab order at runtime 48) What do CurrentX and CurrentY return? 49) The Kill command in Visual Basic is used for 50) If one needs to use an ampersand(&) in a Label but does not want it to be an Access Key, the _______ property of the label must be set to False. 51) Which of the following is the only drag related event? 52) Which property of the form changes the form's title? 53) Labels do not respond to _____ and ______ events 54) Which of the following statements is capable of abandoning a series of modifications made to a recordset locked with a BatchOptimistic lock? 55) Which three methods does the collection object support? 56) Which line of code listed here can be used to create a string of fixed length: 57) Consider the following program code: 58) Which property of the Err object returns the numeric value associated with the most recent runtime error? 59 ) In Visual Basic, which method can you use to send key strokes to other Window applications? 60) The ______ property is used to show Tool Tips or Help Balloons when the mouse rests on the object: 61) What is the sequence in which the following events are triggered when a form is loaded? 62) Which parameter of the WriteProperty method can be omitted but should be included to increase the efficiency of the control? 63) Message Boxes can hold a maximum of _______ characters. 64) Which parameter of the Execute method of the Connection object returns the number of records that the operation affected? 65) Which of the following is not an element of the ADO model? 66) What data type is the HelpContextID? 67) Variables that allow sharing of values across event procedures are called: 68) Which property of the ListView control determines which field a sort is based on? 69) Consider the following subprogram: Sub ChangeText(ByVal X as String,Y as String) Y = X End Sub If you are calling it using the following code: Call ChangeText(Form1.Caption,Y$) 70) Visual Basic fires the _______ event everytime a part of the form is newly exposed. 71) Which of the following ADO recordset types provides the greatest degree of concurrency? 72) Which of the following is the only valid Resume statement in an error handler? |
|
#2
|
|||
|
|||
|
You know, if someone helps you by answering your homework questions, you may actually pass your course without knowing anything, and get a degree that gets you a job working in some nuclear facility, where your lack of knowledge doesn't stop you from writing crap code that results in a nuclear meltdown ending civilization.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Give some effort
Why not do your work yourself? No one is going to answer all of those for you. And in the workplace, no one is going to do your work for you there either...
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Master |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|