Solved

VB Question: Advantage of ActiveX DLL over Active Exe

Posted on 2004-10-05
3
292 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now