Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB How-To Ask 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 Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 30th, 2003, 06:24 AM
Registered User
Join Date: Jul 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ActiveX Exe and Dll

I want to know the details of the following

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?

Your information is very helpful for us.

Thank & regards

Reply With Quote
  #2 (permalink)  
Old September 26th, 2003, 07:48 AM
Registered User
Join Date: Aug 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

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.

For instancing see:


For project types see:


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
Connecting to an ActiveX exe Tweety77 VB How-To 4 September 19th, 2006 01:21 PM
ActiveX.exe to standard exe Kaustav VB How-To 6 February 24th, 2006 12:10 AM
Using a ActiveX DLL in a Standard EXE earendall74 Beginning VB 6 2 November 24th, 2004 01:39 PM
Calling an ActiveX.EXE in C++ xgbnow Pro VB 6 13 February 20th, 2004 12:31 PM

All times are GMT -4. The time now is 06:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.