how call a outlook function in outlook htmlbody by clicking on hyperlink in outlook addin application

how to call CreateOutlookContacts function on click on activation link ..

outlook function code is given below

mailItem.HTMLBody = "


Welcome in Constacts World....

Please click on below link to add my contact in your address book

"Activitation Link"

**//my function which i want to call on activation link**

Public Function CreateOutlookContacts(ByVal Sid As Integer) As Boolean


Dim sql As String = "select * from SubscriberProfile" 

Dim connectionString As String = _ "Data Source=c211\c211;Initial Catalog=Ctc;User ID=sa;Password=sa" 

Dim sqlconn As New SqlConnection(connectionString)

 sqlconn.Open() ' Sets up the connection, it is closed here
NewContact.FileAs = "arnav chauhan"

NewContact.Email1Address = "" 

NewContact.Email2Address = ""

 NewContact.MailingAddress = "Meerut UP, India"

 NewContact.Subject = "Contact crated from"

 NewContact.JobTitle = "Software Engineer" 



end function


Need Your Help

multiple maps with varying latlang depending upon class name

javascript jquery google-maps

I have 9 maps within one page. I currently have nine functions and nine click events. this seemed far too bloated so I am trying to make my code more dynamic. In this process i have hit a brick wal...

Change text and background color in reCaptcha image

javascript codeigniter recaptcha tankauth

I'm using a reCaptcha class (the one that's included in the Tank Auth authentication library for Codeigniter) and wanted to know if it's possible to change the background and text color of the image

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.