Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > DLL (COM) with .Net

Reply
Thread Tools

DLL (COM) with .Net

 
 
Thanker
Guest
Posts: n/a
 
      05-31-2005
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
 
Reply With Quote
 
 
 
 
Mythran
Guest
Posts: n/a
 
      05-31-2005

"Thanker" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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

 
Reply With Quote
 
 
 
 
Thanker
Guest
Posts: n/a
 
      06-01-2005
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >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
>
>

 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      06-01-2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> >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
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Allication (Managed VC++ DLL to Unmanaged DLL) [Second Try] Weston Fryatt ASP .Net 2 01-01-2005 11:31 AM
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)? H. Simpson Ruby 4 08-03-2004 04:45 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments