Link to home
Start Free TrialLog in
Avatar of chikersal
chikersal

asked on

Killing com

I am being told that .net is actually going to substitute COM. Infact i have read an article which says that microsoft is killing COM. I being totally unaware about what .net is all about wants to know  is COM going to give way to .net? Infact i am not sure whether my question makes any sense! But if it does then pls answer it
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

COM is dead. You will not need to register components anymore. You will be able to have multiple version of the same components for your applications.

We are back about to VB3 era when we distribute the VBX right beside the EXE!
ASKER CERTIFIED SOLUTION
Avatar of rspahitz
rspahitz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
emoreau, based on your exclamation point, I sense that you have some opinions about going back to the VB3 way.

Here's what I see as the "ideal" way:

You deliver everything that is needed for your project.
When it's installed, it checks to see if there is a matching object already registered (same version, date, size, etc.)  If so, it does not install that component.  If the component does not exist, it installs and registers it.  If there's a mismatch, it asks if you'd like to install and register the new item (in addition to the previous), replace the old item, or use the old item and ignore the new one (with possible problems.)

The problems we had in VB3 were that multiple items had to be installed in order to get the app to run, even if they were already installed elsewhere on the machine.  For example, the runtime object had to be installed in every directory where the executables existed...or in a valid path entry had to be established--which led to people having paths that where hundreds of characters long.

Any thoughts on what the future may hold?
Visual Component Manager is only a repository and have nothing to do with the subsitance of COM.

In early version of WebServices (AKA SOAP), we used COM components (with an extra layer) because VS.Net was not existing.
LOL, rspahitz, noone asked what was new in VS6.

The basic difference between COM and NET is how components are finalized (removed from memory).  COM model uses 'reference count' and is slow and predictable; the other model is simpler, faster, but I don't think it's much better.

MS didn't replace everything to work the NET way, and we'll be using COM for long time, via Interop (layer between NET and COM component)
Hmmm...MS led me to the wrong page?  I clicked from somnewhere around this area: http://www.microsoft.com/net/develop/developers.asp

No wonder it all looked familiar!!!
Avatar of billy21
billy21

I read somewhere that .Net doesn't yet support everything that com does support.  It wasn't specific but was implying that com will be around for a while yet.
from http://www.vb2themax.com/HtmlDoc.asp?Table=Books&ID=7200
"... utilizing a recordset with a server side cursor, which cannot be achieved with ADO.NET. In both these types of situations, Interop comes to the rescue by enabling the use of classic ADO technology. Also, there are some other technologies, complementing ADO, such as Microsoft ActiveX Data Objects Extensions for Data Definition Language and Security ( ADOX), Jet Engine and Replication Objects (JRO) and ADO for Multi-Dimensional Data (ADOMD) that are not supported by ADO.NET."
chikersal,

You have a large number of questions have been open for some time, and our records show you logged in as recently as today. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

https://www.experts-exchange.com/jsp/qShow.jsp?qid=11443178
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11964778
https://www.experts-exchange.com/jsp/qShow.jsp?qid=12043279
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11564958
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20104338
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20104344
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20105195
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20107021
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20117736
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20123376
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20128779
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11146525
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11559878
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11540439
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20158555
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20174325
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20176309
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20177269
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20183746
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20184309
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20188568
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20260766
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20260773
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20262003

Thanks,

Netminder
Community Support Moderator
Experts Exchange
Avatar of chikersal

ASKER

Dear netminder

do u want me to remove my questions or do u want me to accept a comment as an answer bcos i tried to remove those questions but could not. so pls tell me and i will do the needful immediately
chikersal,

I have closed all but the following of your questions. Part of your responsibility as a member of Experts Exchange is to close your questions and reward the Experts who assist you; your failure to do so can adversely affect your ability to get assistance, and can also lead to suspension of your account.

You can close them by accepting one of the comments as an Answer; however, please DO NOT accept my comments. If you received no good information you can leave a note in the Community Support area (no points needed) at https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt and we'll help you by refunding your points and closing the question.

Please try to keep on top of these and close them in good order.

https://www.experts-exchange.com/jsp/qShow.jsp?qid=20260766
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20260773
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20262003

Netminder
Community Support Moderator
Experts Exchange