473,387 Members | 3,820 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,387 software developers and data experts.

DCOM componet from .Net Assembly

Dear friends,

I have implemented COM componet from .Net Assembly
to be used by my old apps by creating a class and compiling it as an
assembly and also regestring it.

How can we implement the same component as
DCOM?

I have tried "DCOMCNFG.EXE" to setup DCOM.
But My Component does not show up in list.

Please advise

Imran Saroia

Jul 21 '05 #1
2 1814
DCOM only supports DCOM servers. What you did was a simple COM server. VB6
has the ability to create those, but I'm not sure if .NET does.

If you want to access the component remotely you might want to look into
..NET's remoting technology; otherwise you can also use COM+ proxies.

--
Klaus H. Probst, MVP
http://www.vbbox.com/
"IMRAN SAROIA" <im*************@hotmail.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Dear friends,

I have implemented COM componet from .Net Assembly
to be used by my old apps by creating a class and compiling it as an
assembly and also regestring it.

How can we implement the same component as
DCOM?

I have tried "DCOMCNFG.EXE" to setup DCOM.
But My Component does not show up in list.

Please advise

Imran Saroia

Jul 21 '05 #2
Hi,
The easiest way of doing it is to develop class inherited from
System.EnterpriseServices.ServicedComponent, and register it with server
aplication [assembly:ApplicationActivation(ActivationOption.Se rver)].

-Valery.

http://www.harper.no/valery
"IMRAN SAROIA" <im*************@hotmail.com> wrote in message
news:uc**************@tk2msftngp13.phx.gbl...
Dear friends,

I have implemented COM componet from .Net Assembly
to be used by my old apps by creating a class and compiling it as an
assembly and also regestring it.

How can we implement the same component as
DCOM?

I have tried "DCOMCNFG.EXE" to setup DCOM.
But My Component does not show up in list.

Please advise

Imran Saroia

Jul 21 '05 #3

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

Similar topics

1
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
8
by: Paul van't Klooster | last post by:
Hi, I have a situation where I need to register a COM/COM+ object that I have written in C# as DCOM. I have no problems creating COM or COM+ classes using C#, but I have not been successful...
0
by: David Dolheguy | last post by:
I am in desperate need to get help in answering some questions in regards to building a DCOM Server using C#. I need to create a DCOM server using C#.NET, I realise that you first need to create...
1
by: Bruno van Dooren | last post by:
Hi, currently we have an intern writing an OPC server for us in C++. OPC is a hierarchy of classes based on DCOM. When the intern leaves I will have to maintain that server. since i am new to...
3
by: Alex | last post by:
I'm having a problem porting an ASP solution to ASPX. In the ASP solution I'm accessing a DCOM server, create sub DCOM objects and call functions from VB script on the ASP pages. The DCOM object...
0
by: Raja | last post by:
I have written a VB.net assembly that internally uses VB 6.0 DCOM component and I am getting the output as I expected when I use the VB.net assebly when i try to test it in a VB.NET windows...
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...
2
by: IMRAN SAROIA | last post by:
Dear friends, I have implemented COM componet from .Net Assembly to be used by my old apps by creating a class and compiling it as an assembly and also regestring it. How can we implement...
2
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, in a existing application (DCOM server and client, both in VC++) we have very often problems with the DCOM-configuration. Is the requiered configuration (open ports) in applications using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.