Opening Email Client from Application

Posted on 2006-05-25
Last Modified: 2010-04-01
Hi Experts,

I'm developing a C++ windows application using Visual Studio 6.0. The user has the ability to

store contact information, including an email address. I want to give them the option of clicking

on a button and having the default email application (MS Outlook, etc...) open up and start a new

email with the Email Address field populated. Is there some kind of Outlook/Windows API function

call that will do this?


Question by:CPOsosky
    1 Comment
    LVL 86

    Accepted Solution

    >>Is there some kind of Outlook/Windows API function call that will do this?

    Sure, i.e.

    ShellExecute(NULL,"open","", NULL, NULL, SW_SHOW);

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now