473,385 Members | 1,863 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,385 software developers and data experts.

using com+ in .net

Hello, i still have my snmp in .net problem. But i thought i would write the
snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i learn
about that.....I really need to use snmp in my C# program.

Thank you :)
Feb 13 '06 #1
5 2408
Samples of using COM is here http://samples.gotdotnet.com/quickstart/howto/
(Interoperability section)
What's the problem with COM+? .NET has namespace EnterpriseServices that
incorporates classes to build COM+ components

"Deleo" wrote:
Hello, i still have my snmp in .net problem. But i thought i would write the
snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i learn
about that.....I really need to use snmp in my C# program.

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Feb 13 '06 #2
Deleo,

You can consume COM+ services in .NET, but I don't think that is what
you want. Rather, you want to create a regular COM component and then set a
reference to it in your project.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Deleo" <De***@noemail.noemail> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
Hello, i still have my snmp in .net problem. But i thought i would write
the snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i
learn about that.....I really need to use snmp in my C# program.

Thank you :)

Feb 13 '06 #3
"Deleo" <De***@noemail.noemail> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
Hello, i still have my snmp in .net problem. But i thought i would write
the snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i
learn about that.....I really need to use snmp in my C# program.


Hmm - do you mean COM or COM+?

..NET will work with a (properly registered) COM component through InterOp,
and a COM+ component through the EnterpriseServices namespace...

Neither should present any problems...
Feb 13 '06 #4
thank you all for your answeres :)
I thought about using regulare COM and I think i will try that first to see
how it goes.
But COM+ has some nice advantages that COM doesnt have, so I will try that
out too after the COM to check out the differences :)

Again thank you for your quick response.
"Deleo" <De***@noemail.noemail> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
Hello, i still have my snmp in .net problem. But i thought i would write
the snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using
the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i
learn about that.....I really need to use snmp in my C# program.

Thank you :)

Feb 13 '06 #5
Hi Deleo,
Welcome to MSDN Newsgroup!

I hope the following article is helpful for you:
Title: Creating COM+ Objects using EnterpriseServices in .NET
URL: http://www.codeproject.com/csharp/estransactions.asp

Title: COM+ and .NET - A practical approach - Part 1
URL: http://www.codeproject.com/dotnet/co...ticalapp01.asp

I hope the above information is helpful for you. Thanks and have a nice day!

Best Regards,

Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security

--------------------
From: "Deleo" <De***@noemail.noemail>
References: <Op**************@TK2MSFTNGP09.phx.gbl>
Subject: Re: using com+ in .net
Date: Mon, 13 Feb 2006 20:32:25 +0100
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
Message-ID: <uM*************@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: 11.84-48-178.nextgentel.com 84.48.178.11
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.languages.csharp:385643
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

thank you all for your answeres :)
I thought about using regulare COM and I think i will try that first to seehow it goes.
But COM+ has some nice advantages that COM doesnt have, so I will try that
out too after the COM to check out the differences :)

Again thank you for your quick response.
"Deleo" <De***@noemail.noemail> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
Hello, i still have my snmp in .net problem. But i thought i would write
the snmp program in c++ and make a COM.
Now i want to be able to use that COM in .net C# so i thought about using the COM+

Can i easily implement a COM+ in .NET? how do i do that or where can i
learn about that.....I really need to use snmp in my C# program.

Thank you :)



Feb 14 '06 #6

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

Similar topics

9
by: * | last post by:
i am using include("http://".$_SERVER."/db.php"); to include a file. It isnt returning anything or connecting to the database (which is what it is supposed to be doing). any ideas? if i put in...
13
by: Andrew | last post by:
I use conditional compiler constants, set through the VBA IDE in Tools, <projectname> Properties, that I refer to throughout my code to control which code is used during development, and which...
5
by: Marcel Gelijk | last post by:
Hi, I am trying to create a User Control that is located in a seperate class library. The User Control contains a textbox and a button. The page generates an exception when it tries to access...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
8
by: Mike Owen | last post by:
Hi, I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005, to putting it onto a live server. The reason for doing this is that other people have access to the server, and I...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
5
by: ssg31415926 | last post by:
Does anyone have any experience using SCPs (serviceConnectionPoints) in C#? Specifically, I'm trying to use an SCP to locate a service on a server, once the service has created the SCP. I've...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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.