VB6 Interview Questions 3
What are the difference between ActiveX DLL and ActiveX EXE?
Define a vb6 component?
What is difference between Modal and Moduless form?
What is in-process and out-of-process?
Name the tools which are displayed in toolbox by default?
December 8, 2007 | Filed Under VB 6
Comments
One Response to “VB6 Interview Questions 3”
Leave a Reply





An ActiveX DLL is executed in main program’s address space. It behaves as if the class was created within the main program’s code. Because the code lies inside the program’s address space, calling methods is very fast.
An ActiveX EXE code is run in a separate process. When the main program calls an ActiveX EXE’s method, the system marshalls the call to translate the parameters into the ActiveX EXE’s address space, calls the method, translates the results back into the main program’s address space, and returns the result. This is slower than running an ActiveX DLL’s method inside the main program’s address space.