473,396 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What is COM, COM+ ?

Hi

Im trying to really understand COM and the replacement in the newer .net
framework.

Coming from an embedded side and not riding the Windows wave in the 90s, COM
seems difficult to grasp. The msdn library documentation seems to go in
circles, saying: what is com? well its, its sort of like, com is, whats com?
its extensible, its versatile, for a better description click <here>. So
that click brings up another page, com is unique, its powerful, its made for
you, for a better description, click <here> (which is the page you came
from.)

If comparing COM to LabView, would a COM object be like a .vi ?

Where you simply bring in the .vi and connect up the interfaces?

Im running a C# Express Beta (which is awesome) and want to try COM or
COM+, is this possible?

Is ActiveX a similar thing? Its like this hidden thing, hard to understand,
is there a design wizard to help create an AX component?

mtia
Jul 21 '05 #1
7 2280
Honestly you are very late in the game. But this shows you have spirit. I
imagine most online COM/COM+ documentation is geared to the 99% developers
who have been programming in it for years.

I suggest getting a good beginner book.

You might find the following title helpful:

The COM and COM+ Programming Primer by Alan Gordon

You may have to buy it used at Amazon.com. Or you could just wing by
studying .Net. The .Net interoop documentation should be able to show you
all you need to know.

Good Luck


"Bradley1234" wrote:
Hi

Im trying to really understand COM and the replacement in the newer .net
framework.

Coming from an embedded side and not riding the Windows wave in the 90s, COM
seems difficult to grasp. The msdn library documentation seems to go in
circles, saying: what is com? well its, its sort of like, com is, whats com?
its extensible, its versatile, for a better description click <here>. So
that click brings up another page, com is unique, its powerful, its made for
you, for a better description, click <here> (which is the page you came
from.)

If comparing COM to LabView, would a COM object be like a .vi ?

Where you simply bring in the .vi and connect up the interfaces?

Im running a C# Express Beta (which is awesome) and want to try COM or
COM+, is this possible?

Is ActiveX a similar thing? Its like this hidden thing, hard to understand,
is there a design wizard to help create an AX component?

mtia

Jul 21 '05 #2
Bradley1234 wrote:
Hi

Im trying to really understand COM and the replacement in the newer .net
framework.
COM is one thing, and one thing only: an interface specification.

It is a design for letting components talk to each other.

Com allows components ( which can be writen in c, c++, java, COBOL or
anything else ) to find what each others interfaces are, and to use them.
Im running a C# Express Beta (which is awesome) and want to try COM or
COM+, is this possible?
If you right click on References, you will see that you can reference
both a .net assembly and a COM object in .net

Is ActiveX a similar thing?
ActiveX is the name for the ms equivalent of a java applet.

And yes, it is a com object.

Its like this hidden thing, hard to understand,
is there a design wizard to help create an AX component?


Why would you? ActiveX is old hat. You can build WebForms components a
whole lot easier in .net

Basically, .net insulates you from COM by taking you one level higher.

Instead of having to carry around interface instructions with each
object, the .net clr and assemblies insure that .net apps can talk to
each other.
Jul 21 '05 #3
"Bradley1234" <so*****@yahoo.com> wrote in message
news:%cDAd.14580$2X6.9881@trnddc07...
Hi

Im trying to really understand COM and the replacement in the newer .net
framework.

Coming from an embedded side and not riding the Windows wave in the 90s,
COM
seems difficult to grasp.


That's because COM is difficult to grasp. It's ugly and complicated and
there are multiple different frameworks to hide the complexity. Learning
COM now is about as usefull as learning sandscrit.

Missing the 90s is a good thing. If at all possible, leave COM, OLE and
ActiveX there.

Except for interfacing with legacy COM code and a few unmanaged API's, COM
is dead.

David
Jul 21 '05 #4
Thanks Tim, that gives me a great idea, maybe trying to find documentation
and examples of the first release and see how it was presented. That book
looks excellent, my library system doesnt have it, neither is it close by in
the UC library system. I will put this book into my search/wish list.

The Amazon search also pulled up other books (those who bought...).

And yes, the documentation does seem geared to developers who have been
using it. I was feeling kind of dumb not grasping some of the stuff.

Since dotnet is going to be widely used it seems to me folks will be
migrating up or across from COM. Here Ive been hoping to find ways to
insert machine code into C# source to make it easier but maybe I should just
learn how you all are using the dotnet platform.

Are you familiar with Labview www.ni.com ? When I hear that some
application code calls an object to do a function, it reminds me of a vi;
You create one vi to handle a com port or parse data or display data, save
it, then other apps can reference it, saving time. Sort of like a semi
independent module of code where you only interact with its interfaces, and
dont care how it works.
"Tim S." <Ti**@discussions.microsoft.com> wrote in message
news:36**********************************@microsof t.com...
Honestly you are very late in the game. But this shows you have spirit. I imagine most online COM/COM+ documentation is geared to the 99% developers
who have been programming in it for years.

I suggest getting a good beginner book.

You might find the following title helpful:

The COM and COM+ Programming Primer by Alan Gordon

You may have to buy it used at Amazon.com. Or you could just wing by
studying .Net. The .Net interoop documentation should be able to show you
all you need to know.

Good Luck


"Bradley1234" wrote:
Hi

Im trying to really understand COM and the replacement in the newer .net
framework.

Coming from an embedded side and not riding the Windows wave in the 90s, COM seems difficult to grasp. The msdn library documentation seems to go in
circles, saying: what is com? well its, its sort of like, com is, whats com? its extensible, its versatile, for a better description click <here>. So that click brings up another page, com is unique, its powerful, its made for you, for a better description, click <here> (which is the page you came from.)

If comparing COM to LabView, would a COM object be like a .vi ?

Where you simply bring in the .vi and connect up the interfaces?

Im running a C# Express Beta (which is awesome) and want to try COM or
COM+, is this possible?

Is ActiveX a similar thing? Its like this hidden thing, hard to understand, is there a design wizard to help create an AX component?

mtia

Jul 21 '05 #5
David Browne wrote:
Except for interfacing with legacy COM code and a few unmanaged API's, COM
is dead.


Obviously you don't do any Outlook interop programming.

Remember, ms office apps are not .net applications, so if you want to do
any office automation, it's still COM addressible.

When ms rewrites office as a .net app, then we can forget about com/com+
Jul 21 '05 #6

"For Your Eyes Only" <bad.007@films> wrote in message
news:fu*******************@newsread1.news.pas.eart hlink.net...
David Browne wrote:
Except for interfacing with legacy COM code and a few unmanaged API's,
COM is dead.


Obviously you don't do any Outlook interop programming.

Remember, ms office apps are not .net applications, so if you want to do
any office automation, it's still COM addressible.

When ms rewrites office as a .net app, then we can forget about com/com+


But Office apps have PIA's and you really don't have to understand anything
about COM in order to use them.

David
Jul 21 '05 #7
David Browne wrote:
But Office apps have PIA's and you really don't have to understand anything
about COM in order to use them.


Ok, I will concede.

You don't need to know COM to use a COM object in .net

The only thing I fear is that, having done quite a bit of .net interop
with Outlook recently, there are a surprising number of things that
force me to fall back on the old COM model interfaces to manipulate Office.

I really would like to see a top to bottom implementation of ms office
in pure .net

In fact, I would like to see the old IAYF model, where there are global
assemblies of /office/ methods, and maybe a whole spew of apps and
applets that do office tasks ( instead of 5 big monolithic apps, like
Word, Excel ).

The world has moved on to the web model even for office tasks (
peoplesoft ) so the ms office style is less and less relevent.

Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

50
by: Jerry Sievers | last post by:
<venting> Fellow coders; I just get off the phone today with some clueless headhunter and after listing for her (very proudly I might add) my OS and dev tools platforms of choice; ...
2
by: Hugh McLaughlin | last post by:
Hello everyone and thanks for your help in advance. I am working on an application to track visitors to my website. However, I am confused as to what data to capture for the session, specifically...
65
by: perseus | last post by:
I think that everyone who told me that my question is irrelevant, in particular Mr. David White, is being absolutely ridiculous. Obviously, most of you up here behave like the owners of the C++...
112
by: Andy | last post by:
Hi All! We are doing new development for SQL Server 2000 and also moving from SQL 7.0 to SQL Server 2000. What are cons and pros for using IDENTITY property as PK in SQL SERVER 2000? Please,...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
1
by: DickChristoph | last post by:
Hi I am interested in converting a Access 97 application to VB.Net (well okay rewriting). This would be a VB.Net client with a SQL Server backend, as opposed to my other alternative which would...
9
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
2
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
12
by: Nathan Sokalski | last post by:
What is the difference between the Page_Init and Page_Load events? When I was debugging my code, they both seemed to get triggered on every postback. I am assuming that there is some difference,...
13
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.