How to to add com references manually to the aspx page? I want to send email using Microsoft outlook from my aspx page, I have used some code as the following:
Dim obj as new Outlook.Application
but I got some compilation error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'Outlook.Application' is not defined.
Line 12: Sub btn_Click(sender as Object, e as System.EventArgs)
Line 13: If Request.Form("Email") <> "" Then
Line 14: Dim outObj As New Outlook.Application
Line 15: Dim Item As Outlook.MailItemClass
Source File: http://localhost/mailTest.aspx
how to solve this problem?