473,382 Members | 1,373 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,382 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 1967
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...
1
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...

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.