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

DLL (COM) with .Net

I need to rebuild a COM Dll, which is consumed by many ASP pages, and desktop
applications. By simply calling the CreateObject,... from each application.
The requirment is to use the .Net // C# To do a same funtional DLL,

While keeping in mind that it should be still accessable from for all
application either ASP pages or desktop applications.

So what is the type of the project that should use to rebuild this new (DLL)
or Webservice,...

Regrds
--
MCSD not .Net yet :(
Nov 23 '05 #1
6 1271

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I need to rebuild a COM Dll, which is consumed by many ASP pages, and
desktop
applications. By simply calling the CreateObject,... from each
application.
The requirment is to use the .Net // C# To do a same funtional DLL,

While keeping in mind that it should be still accessable from for all
application either ASP pages or desktop applications.

So what is the type of the project that should use to rebuild this new
(DLL)
or Webservice,...

Regrds
--
MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #2

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I need to rebuild a COM Dll, which is consumed by many ASP pages, and
desktop
applications. By simply calling the CreateObject,... from each
application.
The requirment is to use the .Net // C# To do a same funtional DLL,

While keeping in mind that it should be still accessable from for all
application either ASP pages or desktop applications.

So what is the type of the project that should use to rebuild this new
(DLL)
or Webservice,...

Regrds
--
MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #3
The criteria is,
It should be re-developed totally from scratch,
So I still need to create it.
Since the current COM is not functioning properly.

What is the best project libraray to use?
--
MCSD not .Net yet :(
"Mythran" wrote:

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I need to rebuild a COM Dll, which is consumed by many ASP pages, and
desktop
applications. By simply calling the CreateObject,... from each
application.
The requirment is to use the .Net // C# To do a same funtional DLL,

While keeping in mind that it should be still accessable from for all
application either ASP pages or desktop applications.

So what is the type of the project that should use to rebuild this new
(DLL)
or Webservice,...

Regrds
--
MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #4
The criteria is,
It should be re-developed totally from scratch,
So I still need to create it.
Since the current COM is not functioning properly.

What is the best project libraray to use?
--
MCSD not .Net yet :(
"Mythran" wrote:

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I need to rebuild a COM Dll, which is consumed by many ASP pages, and
desktop
applications. By simply calling the CreateObject,... from each
application.
The requirment is to use the .Net // C# To do a same funtional DLL,

While keeping in mind that it should be still accessable from for all
application either ASP pages or desktop applications.

So what is the type of the project that should use to rebuild this new
(DLL)
or Webservice,...

Regrds
--
MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #5
As is set, just write your control and tag your class with:
[ComVisible(true)]

well truth to tell you don't even need to tag the class as it's visible by
default.
however in the ComVisibleAttribute documentation they explain you how to
register your class, etc...

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
The criteria is,
It should be re-developed totally from scratch,
So I still need to create it.
Since the current COM is not functioning properly.

What is the best project libraray to use?
--
MCSD not .Net yet :(
"Mythran" wrote:

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
>I need to rebuild a COM Dll, which is consumed by many ASP pages, and
>desktop
> applications. By simply calling the CreateObject,... from each
> application.
>
>
> The requirment is to use the .Net // C# To do a same funtional DLL,
>
> While keeping in mind that it should be still accessable from for all
> application either ASP pages or desktop applications.
>
> So what is the type of the project that should use to rebuild this new
> (DLL)
> or Webservice,...
>
> Regrds
>
>
> --
> MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up
to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #6
As is set, just write your control and tag your class with:
[ComVisible(true)]

well truth to tell you don't even need to tag the class as it's visible by
default.
however in the ComVisibleAttribute documentation they explain you how to
register your class, etc...

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
The criteria is,
It should be re-developed totally from scratch,
So I still need to create it.
Since the current COM is not functioning properly.

What is the best project libraray to use?
--
MCSD not .Net yet :(
"Mythran" wrote:

"Thanker" <Th*****@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
>I need to rebuild a COM Dll, which is consumed by many ASP pages, and
>desktop
> applications. By simply calling the CreateObject,... from each
> application.
>
>
> The requirment is to use the .Net // C# To do a same funtional DLL,
>
> While keeping in mind that it should be still accessable from for all
> application either ASP pages or desktop applications.
>
> So what is the type of the project that should use to rebuild this new
> (DLL)
> or Webservice,...
>
> Regrds
>
>
> --
> MCSD not .Net yet :(


Without redesigning the COM DLL, you'll just create a C# Class Library
project. Once the C# class is created and you imported all the code
(copy/paste or through wizard), you will have to make sure you set it up
to
be COM accessible (check the docs).

HTH,

Mythran

Nov 23 '05 #7

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

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
9
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
1
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
5
by: Duane Pressley | last post by:
I'm looking for someone to help me make sense of the results I'm observing when using the ThreadPool class in a COM-Interop scenario. Here's the set up: 1.. A classic ASP page instantiates and calls...
3
by: Mike | last post by:
I have been developing ASP applications for quite a while now. Most of the apps that I deploy are a typical n-tier setup. ASP GUI on a web server, Business and Data Components written in VB6...
1
by: Brian Henry | last post by:
does anyone have a class to interact with a com or lpt port? I need to be able to send hex codes through the data lines D1 - D8 on a LPT port... or D1-D4 on serial... i have seen classes in the...
1
by: Nadav | last post by:
Hi, Introduction *************** I have a system build of a collection of 'Native COM objects' and '.NET COM interop' objects, all of the COM objects are managed through a 'Native COM' layer,...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
8
by: Z D | last post by:
Hello, I'm having a strange problem that is probably due to my lack of understanding of how threading & COM Interop works in a WinForms.NET application. Here's the situation: I have a 3rd...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.