Word Documents in my application taskbar

S

Sergio

Hi,

I'm writing a VB application that makes use of a Word Document, just as
Outlook uses Word to edit emails.

I've noticed that Word Documents produced by Outlook appear in the Outlook
taskbar group, though they are Word documents all right. From there you can
open new documents, that appear in the Word taskbar group. Moreover if you
use click "File->Exit" from this new document the Outlook message is not
closed.

In my application I use COM to create a new document:

set myDoc = new Word.Document
myDoc.ActiveWindow.Visible = True

but in this way my document goes in the Word taskbar group, and when I click
on menu "File->Exit" my document is closed as well.

Finally when using Word from Outlook the "File->Exit" menu does not seems to
close the application, and the document has a different Icon.

Does anybody knows how to reproduce the Outllok behaviour? It it possible
through the COM interface? Do I have to use a different integration method?

Thanks

Sergio Cortese
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top