473,395 Members | 1,341 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.

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 1968
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.com

"Philip Townsend" <pt*******@v1tech.com> wrote in message
news:u8*************@TK2MSFTNGP09.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
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...
3
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...
3
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#...
3
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...
2
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...
2
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...
15
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...
4
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.