CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2003
    Posts
    19

    Windows Address Book

    How can I tell if the address book is installed or not? (using mfc)

    if its installed i need a way to extract the information from it.

    I need to know how to program it, frankly.

    Not much about WAB.exe on CG or many other sites. Microsofts code examples are a solution but their code example of WAB programming is using the win32api and I want a less error prone way of doing this.

    Ideas on a postcard

    ++R

  2. #2
    Join Date
    Sep 2002
    Posts
    223
    You could try to see if you could open the address book file. It this is not possible then you must assume that no address book has been installed.

  3. #3
    Join Date
    May 2003
    Posts
    19

    wab

    apparently it can be accessed through mapi but I don't want to be bothered with profiles and logins.

    Microsoft has a gutsy sample that shows how to do it in c++ but its long winded, complicated and there has to be an easier way than their demo.

    One function call to bring it up, if it exists, and extract the email address that is highlighted by the mouse? (Easier said than done, it appears.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured