GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 7 of 161    Print  
Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET

  
Total Answers and Comments: 5 Last Update: September 09, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: anugrah
 
All you need to do is to add the reference of COM dll ....

Behind the curtain this will automatically create a file .interop.dll and your can now directly use the methods exposed by the COM dll in your C# code.

You need to take care that your actual COM dll is registered and the Interop dll also ships with your application i.e. both dlls are required. 

Thanks and Regards
Atreya, Anugrah

Above answer was rated as good by the following members:
markhazleton, prapthi
September 29, 2005 00:17:34   #1  
imran        

RE: Let's say I have an existing application written u...
bassically .Net is not use for developing the com components.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 1Overall Rating: -N/A-    
October 01, 2005 10:51:39   #2  
Ravi        

RE: Let's say I have an existing application written u...
COM components are accessed from the .NET runtime via a Runtime Callable Wrapper (RCW). This wrapper turns the COM interfaces exposed by the COM component into .NET-compatible interfaces
 
Is this answer useful? Yes | No
May 21, 2007 10:27:08   #3  
anugrah        

RE: Let's say I have an existing application written u...
All you need to do is to add the reference of COM dll ....

Behind the curtain this will automatically create a file .interop.dll and your can now directly use the methods exposed by the COM dll in your C# code.

You need to take care that your actual COM dll is registered and the Interop dll also ships with your application i.e. both dlls are required.

Thanks and Regards
Atreya Anugrah

 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
August 26, 2007 17:13:06   #4  
deepak        

RE: Let's say I have an existing application written u...
Use InteropService names in .Net to use COM+ like services in your .Net code.
 
Is this answer useful? Yes | No
September 09, 2008 13:44:33   #5  
vivek_upadhyay_2812 Member Since: September 2008   Contribution: 4    

RE: Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET
1) Add all reference to your application.
2) A inrop.dll file will be created automatically and you will get your code in vb

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape