what are advantage of using axtive x dll instead of class modules

Posted on 2003-10-26
Last Modified: 2010-05-03
what are advantage of using axtive x dll instead of class modules
Question by:sanjusambhe
  • 2
  • 2
LVL 44

Expert Comment

ID: 9625401
an activex dll can be distributed [to different machines] as a standalone object libraries containing classes, while classes in itself cannot be distributed to run as object library but can only be compiled into other projects or activex dlls

Expert Comment

ID: 9625514
Besides, activex dlls are compatible across languages etc, provided they got gud n standard interfaces.
As in, i cud create an activex dll in c++ and use it in vb as well.

Jus see the advantages of doing some things ezier in one language n using em across.

Activex dll's help to enforce ones intellectual prop stuff, i.e if u are working in a company, u mite want to do so. Sending out class modules doesnt get u anythin except technical satisfaction.

Expert Comment

ID: 9625518
Not like tech satisfaction is nothin. :D
LVL 28

Accepted Solution

AzraSound earned 250 total points
ID: 9627067
A big advantage is you remove portions of logic in a program into separate installable components.  For example, say you put all your math computations into an ActiveX DLL.  Assume you later find a bug in one of your computations.  If this was a large program, you would have to recompile and send out this huge executable to all of your clients to get them updated.  However, if resides within a DLL, you simply recompile the DLL, and distribute that and your clients will be updated.
LVL 28

Expert Comment

ID: 10167115
Split points between bruintje, agj, and AzraSound

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
z = x + y – 1 6 67
consolidate or create a new vba code for performing tasks 5 63
VBA error replacing data 6 37
Excel Automation VBA 19 30
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

19 Experts available now in Live!

Get 1:1 Help Now