new instance of Word that only accepts one DDE conversation

T

Tony

Hi,
Question is related to VB and not VBA. I am not sure of which group to
post. looking forward for the solution.

I need to create a instance of Word which accepts only one DDE Conversation.

I need to open a document in preview mode without any menus & toolbars and
thereby allowing user to only view the file.
and when the user closes the preview the document is closed. Till this its
done by creating a new instance of Word by CreateObject() method and playing
with it.

The Problem is when i open any existing document from Windows explorer or a
New Message in Outlook, It trys to open in the same existing instace of Word.
This creates the problem.

Known information:
We can create instance with one DDE Conversation by Word Startup Command
Line Switch "/x". but if i start the application with this how i can remove
the menus and toolbars?

Is there any option in Word Object where i can set up the same function of
switch '/x' or any other suggestions?

Thanks in advance
 

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