Solved

VB Question: Advantage of ActiveX DLL over Active Exe

Posted on 2004-10-05
3
317 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 200 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 150 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 150 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 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