473,554 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2423
Samples of using COM is here http://samples.gotdotnet.com/quickstart/howto/
(Interoperabili ty section)
What's the problem with COM+? .NET has namespace EnterpriseServi ces 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.co m

"Deleo" <De***@noemail. noemail> wrote in message
news:Op******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP09.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 EnterpriseServi ces 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******** ******@TK2MSFTN GP09.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 EnterpriseServi ces 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.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: 11.84-48-178.nextgentel. com 84.48.178.11
Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3856 43
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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******* *******@TK2MSFT NGP09.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
2116
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 the path to the file it works, but I need it to do it over http the rest of the code is being run over a symbolic link and I need different...
13
6072
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 during production. Usually, this only wraps code used to control quitting the whole app versus just shutting a form, but it can also control many...
5
3146
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 the code variable that are supposed to be linked to the contained controls. It runs fines when everything is contained in a single web form project....
14
5761
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 SQL DATABASE, probably by the click of a button. Is this possible? & what is the BEST APPROACH for doing this? & also if any links are there do...
15
4729
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 button will verify the information that has been entered and updates the data base if the data is correct. Update will throw an exception if the data is...
8
1521
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 thereofre want to keep the code secure. If I use the 'Build/Publish Web Site' option, it asks me to tell it the 'Target location' which in this case...
4
3508
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 objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
5
3111
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 found some documentation on MSDN (at: http://msdn2.microsoft.com/en-us/library/ms676925.aspx) but it's all Win32 stuff which doesn't help me as I...
3
8234
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 build with these methods, will appear to encrypt and decrypt, but the resulting decrypted file will be corrupted. I tried encrypting a .bmp file and...
0
7611
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7535
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7812
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7574
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7894
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5442
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3579
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3561
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.