Solved

VB Question: Advantage of ActiveX DLL over Active Exe

Posted on 2004-10-05
3
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month6 days, 4 hours left to enroll

627 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