Solved

What is different between COM and  ActiveX DLL ?

Posted on 2002-07-02
2
206 Views
Last Modified: 2010-05-02
What is different between COM and ActiveX DLL ?
Can I use VB to create COM ?

Any reference ?
0
Comment
Question by:j_script
[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
2 Comments
 
LVL 1

Expert Comment

by:eeevans
ID: 7126054
My understanding is that ActiveX is simply a marketing term given to a COM component.  COM is the contract that is agreed upon when you either build or use a COM component.  You can either have an ActiveX DLL or EXE and it will either be in-process or out-of-process respectively.

Yes, you can create a COM component with VB6 quite easily by selecting one of the ActiveX EXE or DLL project types listed in the project types when creating a new project.

eeevans
0
 
LVL 2

Accepted Solution

by:
priya_pbk earned 100 total points
ID: 7126142
Yes, one can easily make a COM component in VB. As "eeevans" mentioned 'ActiveX' is the brand name given to COM in VB. One can make COM componenents in VB very easily.

To make a ActiveX DLL or ActiveX EXE, one has to choose that project from Vb, when he opens a new project.

ActiveX dll is called "In-process" because when you call a dll from your main application, it becomes a part of your main application and executes it. "In-process" are faster as compared to Out-of-Process" which run in separate memory area other than the main application. It is obviously slower since it has to make lot of memory tranactions with the main application.

Try these links to know more abt them:

1) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconinprocessoutofprocessservers.asp

2)http://65.170.180.23/technologies/com/05_component_location.html

I hope you get the picture!

-priya

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…

739 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