• +91 9971497814
  • info@interviewmaterial.com

Computer Interview Questions Answers

Visual Basic 6 Interview Questions Answers

Question - 61 : - How many procedures are in VB?

Answer - 61 : - function and sub procedures

Question - 62 : - What are the Style properties of List Box?

Answer - 62 : - Simple Single Select , Extended. Multiple Select.

Question - 63 : - What is the starting Index value? How to locate it?

Answer - 63 : - It is tab control to place our controls with in the form in multiple sheets. Index starts with 1. And to identify If Tabstrip1.SelectedItem. Index = 1 Then .. End if

Question - 64 : - What the RDO Methods and Events?

Answer - 64 : - Methods Events Begin Trans Validate Commit Trans Reposition Rollback Trans Error Cancel Query Complied Refresh Update Controls Update row

Question - 65 : - What is the starting Index value? How to locate it?

Answer - 65 : - It is tab control to place our controls with in the form in multiple sheets. Index starts with 1. And to identify If Tabstrip1.SelectedItem. Index = 1 Then .. End if

Question - 66 : - What is difference between datagrid and flexgrid?

Answer - 66 : - Datagrid Editable. Flexigrid Non-Editable. (Generally used for Read only purpose.)

Question - 67 : - Different type of Instantiation?

Answer - 67 : - Private Only for the Specific Module. Public not creatable Private & Public Multi Use - Variable we have to declare. Single Use Not possible through dll. Global Multiuse Have variable not Required to Declare. Global Single Use - Only for exe.

Question - 68 : - What are the locks available in Visual Basic?

Answer - 68 : - Locking is the process by which a DBMS restricts access to a row in a multi-user environment 4 types of locks. They are 1. Batch Optimistic 2. Optimistic 3. Pessimistic 4. ReadOnly Operations in a relational database act on a complete set of rows. The set of rows returned by a SELECT statement consists of all the rows that satisfy the conditions in the WHERE clause of the statement. This complete set of rows returned by the statement is known as the result set. Applications, especially those that are interactive and online, cannot always work effectively with the entire result set as a unit. These applications need a mechanism to work with one row or a small block of rows at a time. Cursors are an extension to result sets that provide that mechanism. Cursor or lock type Advantages Disadvantages AdOpenForwardOnly (Default) Low resource requirements Cannot scroll backward No data concurrency AdOpenStatic Scrollable (Wont detect changes made at the same time by another application) No data concurrency AdOpenKeyset Some data concurrency Scrollable Higher resource requirements Not available in disconnected scenario AdOpenDynamic High data concurrency Scrollable Highest resource requirements Not available in disconnected scenario AdLockReadOnly Low resource requirements Highly scalable Data not updatable through cursor AdLockBatchOptimistic Batch updates Allows disconnected scenarios Other users able to access data Data can be changed by multiple users at once AdLockPessimistic Data cannot be changed by other users while locked Prevents other users from accessing data while locked AdLockOptimistic Other users able to access data Data can be changed by multiple users at once

Question - 69 : - What is view Port?

Answer - 69 : - The area under which the container provides the view of the ActiveX Document is known as a view port.

Question - 70 : - What is the diff between the Std and Class Module?

Answer - 70 : - Std Global with in the project. Cls Global through out the all project only thing is we want to set the type lib. Class Modules can be Instantiated.

Computer Contributors

krishan
Rajeev Katiyar
Yes Baroda

Share your email for latest updates

Name:
Email:

Our partners