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

Component Question

Hi
I want to develop a C# component that any developer can integrate into their
application.
Q1. Can i develop in C# and the developer integrate the component in say
"Java" or VB 6?
Q2. If Q1 is "yes", when the application is installed, does .Net framework
have to also be installed?
Q3. Do you have any sites where i can reference some more info on this
subject?

--
Thanks
Richard
Apr 18 '06 #1
2 1209
You can develop a C# component and expose it via COM or WebServices that way
VB6, Java, Python developers can use your component. for both webservices
and COM interop
you would need the .NET framework on the hosting machine for the former and
the client machine for the later .

www.devcity.net/Articles/28/1/20020328.aspx
http://whitepapers.zdnet.co.uk/0,390...000416q,00.htm
http://msdn2.microsoft.com/en-US/lib...33(VS.80).aspx

"Richard Steele" <Ri***********@discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com...
Hi
I want to develop a C# component that any developer can integrate into
their
application.
Q1. Can i develop in C# and the developer integrate the component in say
"Java" or VB 6?
Q2. If Q1 is "yes", when the application is installed, does .Net framework
have to also be installed?
Q3. Do you have any sites where i can reference some more info on this
subject?

--
Thanks
Richard

Apr 18 '06 #2
Yes you can BUT, and this is a HUGE but, there is an unbelievable
performance hit when transitioning between managed code and unmanaged code.
When I say HUGE, that's exactly what I mean. I've done that and, on a 1.8
gigahertz machine, I can make only about 200 calls a second. All in all, it
depends on what your primary market is - consumers of a COM server or
consumers of a .NET assembly. There are mechanisms that can make the
transition from unmanaged to .NET and others that can go from .NET to
unmanaged.
--
Richard Lewis Haggard
www.Haggard-And-Associates.com

"Richard Steele" <Ri***********@discussions.microsoft.com> wrote in message
news:4A**********************************@microsof t.com...
Hi
I want to develop a C# component that any developer can integrate into
their
application.
Q1. Can i develop in C# and the developer integrate the component in say
"Java" or VB 6?
Q2. If Q1 is "yes", when the application is installed, does .Net framework
have to also be installed?
Q3. Do you have any sites where i can reference some more info on this
subject?

--
Thanks
Richard

Apr 27 '06 #3

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

Similar topics

9
by: Ornac | last post by:
I understand that there is much involved in figuring up I/O throughput, but I'm hoping the answer to the following question will be a simple A, B OR C. Given the configuration below, what...
2
by: brazilnut52 | last post by:
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better I have created a simple COM DLL in .NET by using the COM class...
6
by: TnCoder | last post by:
Hi; I just moved from vb 6.0 to vb.net. I am trying to add MS Calendar control to my toolbox. After the control is added, it is not enabled. Is there dll I have to add? Can anyone who could give...
2
by: Edward Diener | last post by:
How does one specify in a component that a property is a pointer to another component ? How is this different from a property that is actually an embedded component ? Finally how is one notified in...
1
by: Gary Townsend | last post by:
Server OS: Windows 2000 Server SP4 IIS: 5.0 Component Language: Visual Basic 6.0 Hey folks quick question hopefully be a quick answer too... I built an ActiveX DLL Component to manipulate file...
1
by: Jim Bancroft | last post by:
I have an aspx page that calls a component living in an out-of-process assembly; specifically, a dll that's hosted in a COM+ server package. Whenever I debug my page and hit a breakpoint on the...
1
by: kanepart2 | last post by:
Hello , I have to install 2 dlls to the GAC using an MSI created by WIX. The following piece of code works as desired :- <Directory Id='TARGETDIR' Name='SourceDir'> <Directory...
4
by: =?Utf-8?B?V2lsbWVyIEhlcm5hbmRleg==?= | last post by:
An ActiveX component created using ATL under Visual Studio 2003, and it is used in a ASP, runs perfectly under administrator or power users group, however this same object does not run under the...
11
by: BillGatesFan | last post by:
I have a web service which calls a .NET queued serviced component in COM+. I turned statistics on for the component. I call the component 10 times, 10 objects get created but they do not go away....
1
by: Reggie | last post by:
Hi and TIA. I have some question about designing a component and how to use it and where to place it. VS2005/ .net2.0/ Vista Business/ IIS7.0 I have a component DataSetToExcel.dll that I use in...
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
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...
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
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
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...
0
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...
0
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...

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.