Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB Question: Advantage of ActiveX DLL over Active Exe

Posted on 2004-10-05
3
Medium Priority
?
356 Views
Last Modified: 2008-02-01
Hi EveryOne,
Otherday I had a interview. They asked me few questions, some question needs extensive knowledge. Which i don't have being a newbie...

I would like to get remarks from experts on these queston.s

-Advantage of ActiveX DLL over Active Exe ?

Regards,
0
Comment
Question by:ExpertPro
3 Comments
 
LVL 36

Assisted Solution

by:Zyloch
Zyloch earned 800 total points
ID: 12231012
Hi ExpertPro,

An ActiveX DLL shares the client program's address space. The main advantage is that it's faster. That's pretty much it. However, make sure you catch all errors if you use ActiveX DLL otherwise an uncaught one will cause the program to end.

Regards,
Zyloch
0
 
LVL 10

Accepted Solution

by:
anv earned 600 total points
ID: 12234142
hi ExpertPro

check the link below, for indepth knowledge

http://p2p.wrox.com/topic.asp?TOPIC_ID=2394
0
 
LVL 15

Assisted Solution

by:babuno5
babuno5 earned 600 total points
ID: 12236334
hello,
Although ActiveX documents are usually built as EXE projects, the benefit of DLLs is that applications
that use in-process servers usually run faster than those that use out-of-process servers because the
application doesn’t have to cross process boundaries to use an object’s properties, methods, and events.
In addition, the performance of an in-process component, or DLL file, surpasses that of the same
component compiled as an EXE. Also, multiple programs accessing the same EXE can overwrite
global data, but that doesn’t happen if they each have their own in-process server.
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question