473,387 Members | 1,678 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.

C# Component for non .NET clients

Using C# Express, I am able to create a DLL that is usable by non .NET
clients such as Excel.
// Create a late bound instance, works
Set CDLL = CreateObject("ClassLibrary1.Class1")
// Call a method in it, works
CDLL.MyMethod

That is, all the methods are exposed. However, none of the properties within
the DLL are exposed (are visible) and neither are the events.

How do I expose the Properties & Events?

Thanks for your help.
Jan 11 '06 #1
2 1207
"AA2e72E" <AA*****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
How do I expose the Properties & Events?


http://www.codeproject.com/csharp/com_object_in_c_.asp
Jan 11 '06 #2
Thanks Mark.

I also found this useful:

http://www.codeproject.com/dotnet/nettocom.asp

"Mark Rae" wrote:
"AA2e72E" <AA*****@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
How do I expose the Properties & Events?


http://www.codeproject.com/csharp/com_object_in_c_.asp

Jan 11 '06 #3

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

Similar topics

1
by: Plantex | last post by:
Hello, I have a DLL, created by VS .Net and written in C#. I would like to create a COM component from this dll, 'cause I'd like to call this component from a MSMQ Trigger... How could I...
5
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
1
by: Ambush | last post by:
I am currently working on one of those projects that we all dread. The type that keeps growing out of scope faster than you can finish the component to deliver what they've already asked for. ...
2
by: Mark Broadbent | last post by:
Please guys save me from throwing my laptop throught the window grrr. No one answered my original post so here is a reworded version. I am working through some study material but have hit a brick...
2
by: yaron | last post by:
Hi, I am writing a new networking component (dll). I have a few questions : 1. if i write it with .NET 2 , am i decreasing the number of potentials clients of my component ? 2. if the API to...
7
by: Joe | last post by:
Is it possible to have a component which is global to the entire application? I need to have a single component act sort of like a server which components in any of the forms can access. For...
1
by: Lucy Luo | last post by:
Hi, I'd like to create a "component" for web page. It should contain menu/ buttons and will have pop up dialogs. It should also be able to access user's PC (installation of java/activeX is OK)....
0
by: Juan Zamudio | last post by:
Hi, i asked this question in the component services group but appears to be dead, so i hope is ok to ask the question here, Is possible to use the same DLL for a .net application and for COM+?....
3
by: iyengar.sheshadri | last post by:
Hi All, Currently we have COM component(dll) implemented using ATL. Because of the current business requirements, we would like to rewrite the COM component in Managed C++ and the clients will...
0
by: fiona | last post by:
Yucca Valley, CA, - October 2007: Catalyst Development Corporation, publisher of SocketTools, SocketWrench and LogicGem, today announced the release of Catalyst File Transfer .NET V5.0. For...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.