- *Part A *
1. Write about .Net Assemblies?
2. List out the differences between Object oriented programming (OOP)
and Component Oriented programming (COP) ?
1. What are connectors in component framework?
2. How is DCOM different from COM.?
3. What is Appdomains?
* *
*Part B *
6. Describe the Black box component framework?
7. Discuss the mechanism about COM object Reuse?
8. Discuss briefly about the compound documents with OLE containers
and
servers?
9. Write a note on dispatch interfaces?
10.Discuss briefly about the various Component design and Implementation
tools?
11.Write briefly about .NET components?
12.How will you create a .Net component for displaying daily greeting(Good
Morning, Afternoon, Evening and Good day.. ) message to a remote system?
*(8 Mark Quest- Compulsory)*
12. How will you
create a .Net component for displaying daily greeting(Good
Morning, Afternoon, Evening and Good
day.. ) message to a remote system?
Private Sub Command1_Click()Dim objAdd As New clsAddPublic.display
MsgBox(objAdd.display())
End Sub
Namespace Tester
Public Interface Tester
Function GetTime() as Integer
End Interface
ClassInterface(ClassInterfaceType.None),_ProgId(“Tester.Numbers”)> Public class Tester Implements Tester
Public Tester()
Public Function GetTime() As integer Implements Tester.GetTime
Dim Time As Integer
Time = DateTime.Now
If (Time<12)
MessageBox(“GOOD MORNING”)
Elseif (Time≥12)
Msgbox(“GOOD AFTERNOON”)
ElseIf(Time>18)
Msgbox(“GOOD NIGHT”)
End If
End If
End If
End Function
Bool CNickDlg::OnInitDialog()
CDialog::OnInitDialog();
CString strmessage;
Tester::Time *com-ptr;
CoInitialize(NULL);
Tester::NumbersPtr p(Tester::Time);
Com-ptr = t;
Int t-Time = com_ptr -> GetTime();
SetIcon(m-hicon, TRUE);
SetIcon(m-hicon, False);
End Namespace