OutlookInterop.ContactItem newContact = (OutlookInterop.ContactItem)app.CreateItem(OutlookInterop.OlItemType.olContactItem); newContact.FirstName = (txtfirstname.Text); newContact.LastName = (txtlastname.Text); newContact.Email1Address = (txtemail.Text); newContact.WebPage = (txtwebpage.Text); newContact.BusinessTelephoneNumber = (txtlandline.Text); newContact.BusinessFaxNumber = (txtFaxno.Text); newContact.MobileTelephoneNumber = (txtmobileno.Text); newContact.BusinessAddressStreet = (txtstreet1.Text); newContact.BusinessAddressCity = (txtcity1.Text); newContact.BusinessAddressState = (txtstate1.Text); newContact.BusinessAddressPostalCode = (txtpostal1.Text); newContact.BusinessAddressCountry = (txtcountry1.Text); newContact.Display(true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)