VB How-ToAsk your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB How-To section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
1)What is ActiveX Dll and ActiveX Exe
2)ActiveX Exe and Dll,
3)Advantage of ActiveX Dll over Active Exe,
4)Difference Types of Instancing Property in ActiveX Dll and Exe
5)types of ActiveX Components in VB?
An ActiveX Dll runs is an in process server running in the same memory space as the client process.
An ActiveX Exe is an out of process server which runs in it's own separate memory space.
Question 2 is the same as question 1.
Advantages of ActiveX Dll
-------------------------
1) An in-process component shares its client’s address space, so property and method calls don’t have to be marshaled. This results in much faster performance.
Disadvantages of ActiveX Dll
----------------------------
1) If an unhandled error occurs it will cause the client process to stop operating.
Advantages of ActiveX Exe
-------------------------
1) The component can run as a standalone desktop application, like Microsoft Excel or Microsoft Word, in addition to providing objects.
2) The component can process requests on an independent thread of execution, notifying the client of task completion using events or asynchronous call-backs. This frees the client to respond to the user.
3)If an error occurs the client processes can continue to operate.
Disadvantages of ActiveX Exe
----------------------------
1) Generally slower than an ActiveX dll alternative.