Ms Word - File - Properties window

S

Sanj

I have a C++ (MFC) application that automates word. How can I get to display
the File->Properties window that word has using automation. The
File->Properties window is the window with the General, Statistics, Custom
properties etc tabs.

Also on a similar note, how can I display the File->Print..., File->Page
Setup and File->Print Preview windows.

Sanj
 
C

Cindy M -WordMVP-

Hi Sanj,
I have a C++ (MFC) application that automates word. How can I get to display
the File->Properties window that word has using automation. The
File->Properties window is the window with the General, Statistics, Custom
properties etc tabs.
Dialogs(750).Show

Also on a similar note, how can I display the File->Print..., File->Page
Setup and File->Print Preview windows.
This is a bit less obscure :) As you've seen above, Word has a Dialogs
collection. And if you go into the Word VB-Editor UI you can type Dialogs( and
then get a list of available wdDialog enums. Or, you can go into the Object
Browser (F2) and search on wdDialog to get the complete list. Then click on
one to get the number, if you prefer using a number rather than a wdEnum

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
S

Sanj

*** THANKS A LOT ***

Cindy M -WordMVP- said:
Hi Sanj,

This is a bit less obscure :) As you've seen above, Word has a Dialogs
collection. And if you go into the Word VB-Editor UI you can type Dialogs( and
then get a list of available wdDialog enums. Or, you can go into the Object
Browser (F2) and search on wdDialog to get the complete list. Then click on
one to get the number, if you prefer using a number rather than a wdEnum

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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