Home Microsoft Technology Visual Basic Visual Basic Interview Questions 1

Login Form




Visual Basic Interview Questions 1 Print E-mail

1. How do you register a component?
Answer :Compiling the component, running REGSVR32 MyDLL.dll

2. What does Option Explicit refer to?
Answer :All variables must be declared before use. Their type is not required.

3. What are some benefits of using MTS?
Answer :Database Pooling, Transactional operations, Deployment, Security, Remote Execution. 

4. What are the different types of error?
Answer :Syntax Errors, Runtime , Logic.

5. What is the difference between Property Get, Set and Let?
Answer : Set Value is assigned to ActiveX Object from the form.
Let Value is retried to ActiveX Object from the form.
Get- Assigns the value of an expression to a variable or property.

6. What is frx?
Answer : When some controls like grid and third party control placed in our application then it will create frx in run time.

7. What are the scopes of the class?
Answer : Public, private, Friend

8. Can us able to set Instancing properties like Singleuse, GlobalSingleuse to ActiveXDll?
Answer : No.

9. Diff type of Datatypes?
Answer :
LOB (Large Object Data type).
CLOB (Stores Character Objects).
BLOB ( Store Binary Objects such as Graphic, Video Chips and Sound files).
BFILE(Store file pointers to LOB It may Contain filename for photo’s store on CD_ROM).

10. Suppose from form1 to form2 object property settings will arise to ?
Answer : Invalid procedure call or argument (Run time error 5)