ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what is COM Object in Dot net?
 Question Submitted By :: S.ramkumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is COM Object in Dot net?
Answer
# 1
actually COM means component object model, but this raises 
the problem of versioning known as DLL conflicts. so dot 
net uses other functionalities to avoid it..
 
Is This Answer Correct ?    5 Yes 2 No
Amol
 
  Re: what is COM Object in Dot net?
Answer
# 2
Component Object Model is a method to facilitate 
communication between different applications and languages.
The following steps explain the way to create the COM 
server in C#: 

Create a new Class Library project. 
Create a new interface, say IManagedInterface, and declare 
the methods required. Then provide the Guid (this is the 
IID) for the interface using the GuidAttribute defined in 
System.Runtime.InteropServices. The Guid can be created 
using the Guidgen.exe. [Guid("3B515E51-0860-48ae-B49C-
05DF356CDF4B")] 
Define a class that implements this interface. Again 
provide the Guid (this is the CLSID) for this class also. 
Mark the assembly as ComVisible. For this go to 
AssemblyInfo.cs file and add the following statement 
[assembly: ComVisible (true)]. This gives the accessibility 
of all types within the assembly to COM. 
Build the project. This will generate an assembly in the 
output path. Now register the assembly using regasm.exe (a 
tool provided with the .NET Framework)- regasm 
\bin\debug\ComInDotNet.dll \tlb:ComInDotNet.tlb This will 
create a TLB file after registration. 
Alternatively this can be done in the Project properties -> 
Build -> check the Register for COM interop. 
The COM server is ready. Now a client has to be created. It 
can be in any language. If the client is .NET, just add the 
above created COM assembly as reference and use it.
 
Is This Answer Correct ?    1 Yes 0 No
Srividya_gopalan
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?  1
What tags do you need to add within the asp:datagrid tags to bind columns manually  2
What are the disadvantages of view state / what are the benefits?  2
When we are requesting a new URL through Response.Redirect() the new page wil open on the new browser window or it wil open in the same window? If we use Server.Transfer() what wil happen?  1
What is Active Directory? What is the namespace for that?  2
What is the Global.asax used for?  7
Define an assembly?  6
How to compare two strings with out Case sensitive ? Protech4
What are the two properties that are common in every validation control?  4
What is viewstate? Microsoft3
What is HTTPContext and HTTPModule. What is the use of them?  1
what are the sitemap providers in Asp.net 2.0?  2
How to do Forms authentication in asp.net?  2
What is runtime host ? Digital-GlobalSoft2
In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected  1
What is customer control and user control? Perot-Systems1
In which interface the template of any control like Gridview would Initiate?  2
What is CTE in sql server 2005? Minecode2
Where does the Web page belong in the .NET Framework class hierarchy? Visual-Soft1
Differences between VB.Net and C#, related to OOPS concepts CSC5
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com