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

.NET and COM/ActiveX

Hello there!

I would like to know how .NET manages COM/ActiveX. How do you write
COM-Clients and Servers with .NET? Or how do you provide informations and
function to the outside world without COM?

Regards,
Robert
Jul 21 '05 #1
4 1108
Robert,

If I understand your question properly, you want to know how you can share
..NET code between multiple applications? To do this you need to strongly
name your assembly and install it in the GAC (global assembly cache).
Multiple versions of your assembly can coexist in the GAC and multiple
applications can use any version of your assembly from the GAC.

To use .NET assemblies on a server machine from a client machine, you need
to use .NET remoting. This is quite a broad topic so you're better off
reading about it in the fx doco or elsewhere.

HTH,
Kent

"Robert Wehofer" <th*******@graffiti.net> wrote in message
news:dZ******************@news.chello.at...
Hello there!

I would like to know how .NET manages COM/ActiveX. How do you write
COM-Clients and Servers with .NET? Or how do you provide informations and
function to the outside world without COM?

Regards,
Robert

Jul 21 '05 #2
> If I understand your question properly, you want to know how you can share
.NET code between multiple applications? To do this you need to strongly
name your assembly and install it in the GAC (global assembly cache).
Multiple versions of your assembly can coexist in the GAC and multiple
applications can use any version of your assembly from the GAC.


Ok, it's possible that two .NET processes can communicate each other by
using strong names.

But is it possible, that a .NET process could communicate with a COM server?
And is it possible, that a VB application could communicate with a .NET
application?

Robert
Jul 21 '05 #3

"Robert Wehofer" wrote:
If I understand your question properly, you want to know how you can share
.NET code between multiple applications? To do this you need to strongly
name your assembly and install it in the GAC (global assembly cache).
Multiple versions of your assembly can coexist in the GAC and multiple
applications can use any version of your assembly from the GAC.


Ok, it's possible that two .NET processes can communicate each other by
using strong names.

But is it possible, that a .NET process could communicate with a COM server?
And is it possible, that a VB application could communicate with a .NET
application?

Robert


Via interop, yes. See if the following helps:

HOW TO: Call Visual Basic .NET Assembly from Visual Basic 6.0 and Call Visual Basic COM Component from Visual Basic .NET

http://support.microsoft.com/default...b;en-us;817248

--
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)

Jul 21 '05 #4
>
Via interop, yes. See if the following helps:

HOW TO: Call Visual Basic .NET Assembly from Visual Basic 6.0 and Call Visual Basic COM Component from Visual Basic .NET
http://support.microsoft.com/default...b;en-us;817248


Thank you for your link! I'm going to study this site.

Robert
Jul 21 '05 #5

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

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
6
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
0
by: Ike | last post by:
I have an Activex Control created in VB6, which, displays no problem on any machine I have, but, on some machines of others, it does not. All machines are running either XP or Windows 2000, and all...
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
4
by: Wilfried Mestdagh | last post by:
Hi, I have a C# application (VS2005) with Microsoft Mappoint activeX control on a form. At a certain moment I want to create a second one temporary in code. This seems not to work, when I try to...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
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: 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,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.