조회 수 6289 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

https://msdn.microsoft.com/ko-kr/library/dd264733.aspx


아웃룩 주소록에 저장하는 방법


private void AddContact()
{
    Outlook.ContactItem newContact = (Outlook.ContactItem)
        this.Application.CreateItem(Outlook.OlItemType.olContactItem);
    try
    {
        newContact.FirstName = "Jo";
        newContact.LastName = "Berry";
        newContact.Email1Address = "somebody@example.com";
        newContact.CustomerID = "123456";
        newContact.PrimaryTelephoneNumber = "(425)555-0111";
        newContact.MailingAddressStreet = "123 Main St.";
        newContact.MailingAddressCity = "Redmond";
        newContact.MailingAddressState = "WA";
        newContact.Save();
        newContact.Display(true);
    }
    catch
    {
        MessageBox.Show("The new contact was not saved.");
    }
}


[How to: Create a Contact Item]


https://msdn.microsoft.com/en-us/library/office/ff184633.aspx


using Outlook = Microsoft.Office.Interop.Outlook;

private void CreateContactExample()
{
    Outlook.ContactItem contact = Application.CreateItem(
        Outlook.OlItemType.olContactItem) as Outlook.ContactItem;
    contact.FirstName = "Mellissa";
    contact.LastName = "MacBeth";
    contact.JobTitle = "Account Representative";
    contact.CompanyName = "Contoso Ltd.";
    contact.OfficeLocation = "36/2529";
    contact.BusinessTelephoneNumber = "4255551212 x432";
    contact.WebPage = "http://www.contoso.com";
    contact.BusinessAddressStreet = "1 Microsoft Way";
    contact.BusinessAddressCity = "Redmond";
    contact.BusinessAddressState = "WA";
    contact.BusinessAddressPostalCode = "98052";
    contact.BusinessAddressCountry =
        "United States of America";
    contact.Email1Address = "melissa@contoso.com";
    contact.Email1AddressType = "SMTP";
    contact.Email1DisplayName =
        "Melissa MacBeth (mellissa@contoso.com)";
    contact.Display(false);
    contact.ShowCheckPhoneDialog(
        Outlook.OlContactPhoneNumber.
        olContactPhoneBusiness);
}


Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
371 업무 H&A본부 교육 중 IoT / 로봇 관련 내용 secret 2016.08.29 0 0
370 Pi DIY 배터리팩 secret 2016.07.20 0 0
369 LINUX OpenGrok 설치 빨리하기 2016.04.27 10569 0
368 LINUX 리눅스 파일시스템 체크 하기 fsck(e2fsck) 사용법 2016.04.15 39847 0
367 일반 7zip(7z.exe) 간단 사용법 2016.04.08 12120 0
366 PHP 윈도우용 센드메일 구축 2016.03.30 8429 0
365 Android adb shell 에서 sqilte3 사용 하기 2016.03.28 12963 0
364 Android adb shell로 db 업데이트하기 1 secret 2016.03.28 0 0
363 LINUX 리눅스 계정 목록 보기 2016.03.21 7411 0
362 LINUX 우분투(Ubuntu)에서 APM 웹서버 구축하기 2016.03.17 7454 0
361 LINUX 우분투(Ubuntu) 설치된 패키지 목록 확인하기 2016.03.17 6738 0
360 LINUX 리눅스 그룹관리 (groupadd, groupmod, groupdel) 2016.02.23 8368 0
359 LINUX 삼바(SAMBA)를 이용한 윈도우 접근 가능 공유폴더 만들기 2016.02.23 17900 0
358 JAVA 자바 리스트(List,ArrayList) 이용하는 방법 2016.02.22 28808 0
357 LINUX iptables 명령어 - 방화벽 설정 2016.02.01 12751 0
목록
Board Pagination ‹ Prev 1 ... 5 6 7 8 9 10 11 12 13 14 ... 34 Next ›
/ 34

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5