VB6 Interview Question

1. How do you register a component?
2. Name and explain the different compatibility types when creating a COM component.
3. Why iss it important to use source control software for source code?
4. What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?
5. What is the tool used to configure the port range and protocols for DCOM communications?
6. What does Option Explicit refer to?
7. What are the different ways to Declare and Instantiate an object in Visual Basic 6?
8. Name the four different cursor types in ADO and describe them briefly.
9. Name the four different locking type in ADO and describe them briefly.
10. Describe Database Connection pooling (relative to MTS )
11. What are the ADO objects? Explain them. Provide a scenario using three of them to return data from a database.
12. Under the ADO Command Object, what collection is responsible for input to stored procedures.
13. What are some benefits of using MTS?
14. What is the benefit of wrapping database calls into MTS transactions?
15. Describe and In Process vs. Out of Process component. Which is faster?
16. What are the main components of the ADO object model? How are they used?
17. What’s the difference between COM and DCOM?
18. What is a dual interface?
19. Can you have two dual interfaces in one class?
20. What is marshalling by value?
21. What is a multi-threaded apartment (MTA)? Single-threaded apartment (STA)?
22. Let’s assume we have object B and aggregated object C (in-proc server), created by B. Can you access any interface of B from C? What’s the difference between aggregated and contained objects?
23. What is ROT ? GIT ? Count pros and cons of both.
24. If you have an object with two interfaces, can you custom marshal one of them?
25. Is there a way to register in-proc server without regsvr32.exe?
26. What is VARIANT? Why and where would you use it?

No comments:

Post a Comment