473,699 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Project "Simple COM Server", where?

Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel
Nov 15 '05 #1
2 1661
Axel, I would probably just use a class library project type.

--
Greg Ewing [MVP]
http://www.citidc.com

"Axel Dahmen" <No****@NoOneKn ows.de> wrote in message
news:uN******** ******@tk2msftn gp13.phx.gbl...
Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel

Nov 15 '05 #2
If you really want to maintain IDL (and REG) files you will have to use VC++ and ATL, managed languages are self describing using
embedded metadata, so no IDL files needed.
It's possible to expose your managed methods to COM clients by applying the correct interop attributes, check the "COM Interop Part
2: C# Server Tutorial" chapter in the C# reference manual.

Willy.

"Axel Dahmen" <No****@NoOneKn ows.de> wrote in message news:uN******** ******@tk2msftn gp13.phx.gbl...
Hi,

I'd like to write a simple COM Automation Server in C# but couldn't find a
matching project. I want to have the IDE maintain the IDL and the REG file
automatically.

Which project should I use to achieve this?

TIA,
Axel

Nov 15 '05 #3

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

Similar topics

2
2062
by: mantas44 | last post by:
Hello all, I have two tables tab_a id(int) tab_b id(int)
4
4615
by: Bruce A. Julseth | last post by:
This is my 2nd request. Is the question too vague? Or, too difficult to answer. I'm really a newbie at this VS.NET stuff and do appreciate some help on this problem.---I keep getting the error "Unable to Start Debugging on the Web Server." I am on a standalone, non networked computer running XP Professonal and VS.net, and doing my development using VS.C#. I "think" I have gone through eveything listed in help for this error, but...
0
376
by: Joachim | last post by:
I have copied my ASP.NET solution from one computer with VS.NET to another, but when I try to run my solution I get the following error message: "Microsoft Development Environment" "Error while trying to run project: Unable to start debugging on the web server. This project is not configured to be debugged." When I click help it says that you should have the debug property of the Web.config file set to true - which I already have. It...
8
3688
by: Beam_Us_Up_Scotty | last post by:
Hello all, I am trying to write a "simple" animation using C#, and I've tried many things but nothing seems to work for me without leaking memory. Here's a very simple piece of code that uses a timer to set the image of a label from an ImageList every 100ms or so. This is what was being used when I inherited this piece of code, and I thought it was OK, until I changed the size of the label to do animation on a larger piece of screen...
2
3065
by: a | last post by:
I keep getting this message, "unable to get the project file from the web server" when I try to open a new project that I just copied. I created a virtual director with IIS 5 (VS2002). Trying to setup Rainbow. Suggestions? Thanks, Andy ac411@bellsouth.net
4
3305
by: a | last post by:
When executing the ASP.NET app, I get: "Error while trying to run a project: Unable to start debugging on the web server. A debugger is already attached. Would you like to disable future attempts to debug ASP.NET pages for this projecty? Yes or No" There are no compile errors. If I answer "Yes", it turns off the debug option in one of my projects (data layer). If I answer "No", it returns to the IDE.
5
6570
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
1
1013
by: uzair | last post by:
hi i am the student of the final year.i 've got a project of web application server in the FYP.In this project i've taken the task of email to email,sms and vice versa. we 've got the codes but not as much powerful as i 'll require. plz tell me that how the mails are connected to POP3 and SMTP servers for receiving and sending.if u have got any compatabile code in the VB.NET then it will be great helpful to me.I need inbox and other...
19
11240
by: Scott M. | last post by:
Why do we need runat="server" on our <headtags?
0
8687
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9174
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9034
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8914
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
5874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3057
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2009
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.