Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Interop / June 2005

Tip: Looking for answers? Try searching our database.

How to use WordMail Editor? ... with .Net 2.0 & Office 2003 (Word / Outlook) ... in a c# application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gordian - 08 Jun 2005 14:10 GMT
Good Day!

Context
--------
My question is about .NET2.0 (c#) and Office 2003 (Word/Outlook).

I try to write an c# application, which uses the Word-Editor(in some
postings called WordMail) for emailing.

What I know
-----------
I found a way to display the WordMail-Window indirectly with the aid of
wdDialogFileNew:

............................................
 private void button1_Click(object sender, EventArgs e)
        {
            showDialog(Word.WdWordDialog.wdDialogFileNew);
        }

 private void showDialog(Word.WdWordDialog dialogId)
        {
            Object timeOut = Type.Missing;
            Word.Dialog dlg;
            dlg = appWord.Dialogs[dialogId];
            dlg.Show(ref timeOut);
        }
...............................................

Problem
--------
I cannot investigate how to display the WordMail-Window directly with
c#-code e.g. by clicking on a LinkLabel.

Does someone knows how I can do this?
Thank You for your Tips

Gordian
Sue Mosher [MVP-Outlook] - 14 Jun 2005 16:00 GMT
I'm not a C# programmer, but I do know that if you want to display a new message using WordMail as the editor (a) the user must already have WordMail set as the editor and (b) you'd use standard Outlook automation code (Application.CreateItem, MailItem.Display) from the LinkLabel's LinkClicked event handler.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Good Day!
>
[quoted text clipped - 34 lines]
>
> Gordian
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.