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

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.

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


"Gordian" <cit42@xxxxxx> wrote in message news:O%23LZctCbFHA.1152@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>
>
>
.


Quantcast