Correct Answer: COM is the component Object Model is a system whch creates application which are binary form that is language independent , object oriented ,modular and reusable
Correct Answer: Marshalling is the process of packaging and sending interface method parameters across thread, process or machine boundaries It is not necessary when the client and the server are on the same computer
Correct Answer: IUnknown as an interface of a COM object Every COM object has to support IUnknown, besides optionally adding other interfaces IUnknown is made of QueryInterface, AddRef and Release
5. How can you have different number of cells for each row of a table?
Correct Answer: DDE (Dynamic Data Exchange) a communication protocol that let applications call each other OLE was the first protocol that enabled users and programmers to create compound documents?that is documents that contain data from different applications (for example an Excel worksheet inside a Word document)
8. What are the different ways to Declare and Instantiate an object in Visual Basic 6?
Correct Answer: Dim obj as OBJCLASS with eitherSet obj = New OBJCLASS orSet obj = CreateObject(OBJCLASS?) orSet obj = GetObject( , OBJCLASS?)orDim obj as New OBJCLASS
9. How can visual basic be used for server side scripting?
Correct Answer: Visual basic can be used for server side scripting A component designed with Visual basic will not have any user interface instead provides the functionality of Active X to other programs via COM This form of technique allows server side functionality and add in module
10. What are the rules which should be followed while naming a variable in VB?
Correct Answer: Some of the rules which should be followed while naming a variable in VB are as follows: 1) Characters should be less than 255 2) Space between characters should be allowed 3) A variable should begin with a number 4) Period may not be permitted