473,569 Members | 2,406 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

converting from legacy COM objects

I have a large "legacy" web application written in asp.old that relied
on some COM objects. While I am aware that it is possible to use legacy
COM objects within an asp.net application, is it possible to do the
reverse? In other words, would it be possible to rewrite some of the
legacy COM objects in .NET (provided all the methods & properties have
the same definitions) and integrate it into the asp.old application? If
so, are registration procedures the same as with legacy COM objects
(regsvr32.exe)?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
2 1988
Philip,

It is definitely possible to create COM objects in .NET, and then expose
them to ASP. Check out the section of the .NET framework titled "Exposing
..NET Framework Components to COM", located at (watch for line wrap):

http://msdn.microsoft.com/library/de...nentsToCOM.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Philip Townsend" <pt*******@v1te ch.com> wrote in message
news:u8******** *****@TK2MSFTNG P09.phx.gbl...
I have a large "legacy" web application written in asp.old that relied
on some COM objects. While I am aware that it is possible to use legacy
COM objects within an asp.net application, is it possible to do the
reverse? In other words, would it be possible to rewrite some of the
legacy COM objects in .NET (provided all the methods & properties have
the same definitions) and integrate it into the asp.old application? If
so, are registration procedures the same as with legacy COM objects
(regsvr32.exe)?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
Very much possible. You would need to create a regular .net application
If you look in MSDN theres a lot of infomation on how you can do that
Philip Townsend wrote:
I have a large "legacy" web application written in asp.old that relied
on some COM objects. While I am aware that it is possible to use legacy
COM objects within an asp.net application, is it possible to do the
reverse? In other words, would it be possible to rewrite some of the
legacy COM objects in .NET (provided all the methods & properties have
the same definitions) and integrate it into the asp.old application? If
so, are registration procedures the same as with legacy COM objects
(regsvr32.exe)?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


--
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com
Nov 16 '05 #3

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

Similar topics

3
1664
by: Lloyd | last post by:
I'm currently creating the next version of our company's education product, and it seems that we still need to support legacy hardware & software (Win 95/Pentium-1, MacOS 8). To that end, we've been using C++ and wxWindows to minimize the separate code bases between Mac & Windows. However, we've reached the point where we need a total redesign...
3
1760
by: masood.iqbal | last post by:
In this day and age, you never say no to any work that is thrown at you ---- so when I was offered this short-term contract to convert legacy C code to C++, I did not say no. Personally I believed that it was a somewhat futile exercise since one of the main requirements was for the existing API (a functional interface written in C) to remain...
3
3998
by: Sai Kit Tong | last post by:
Hi, I am developing a new application running on Windows platform that needs to interface with existing legacy code - written in basic C / C++. I am trying to evaluate Java vs C# implementations. Originally, I have the impression that C# should be a clear winner. I started with Java and using the guideline from the book "Java Native...
3
2361
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached response). My first reply directed me to source code migration but I didn't have the source code. The second reply mentioned about .NET interoperability...
2
364
by: Philip Townsend | last post by:
I have a large "legacy" web application written in asp.old that relied on some COM objects. While I am aware that it is possible to use legacy COM objects within an asp.net application, is it possible to do the reverse? In other words, would it be possible to rewrite some of the legacy COM objects in .NET (provided all the methods & properties...
2
1574
by: genc_ymeri | last post by:
Hi, Well, I'm looking around for another opinion. We have two webservers, the legacy one writen in ASP and the new one in ASP.Net. Once a user logs in the ASP.Net web app, the session of the Login page gets stored in a DB (in a binary format). Meantime, if the user chooses to go and run the web legacy system, he doesn't want to log in...
15
9543
by: dm1608 | last post by:
We have a number of COBOL programs, and some were currently developing, that simply read TEXT based reports and scrap the reports for various information. I'm curious to know if anyone has attempted to do this sort of thing using C#? I would love to get rid of my COBOL programmer and especially the code, if I can. Apparently, it is...
4
1600
by: Jason Madison | last post by:
I would like to create a .net application that still uses a few screens from an old legacy application we have. I can list records from the database in my .net app, but when it comes to making updates I still need to legacy screens as the update logic is very complex. I have found I can use SetParent to "embed" some of the legacy screens...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8132
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6286
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5222
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.