I have a VB 6.0 application that creates an instance of Word, opens a
document with a specific template and makes it visible. If the user manually
opens Word, a new document is opened in the VB object referencing Normal.dot.
How can I force a new instance of Word if the user manually opens Word while
the VB object is present or is it possible to pass a startup switch (/w)
while creating the object in VB?
Tony Jollans - 25 Jan 2007 19:03 GMT
You can create a new instance of Word in your program but you can't stop the
user opening documents in it if you cede control.

Signature
Enjoy,
Tony
>I have a VB 6.0 application that creates an instance of Word, opens a
> document with a specific template and makes it visible. If the user
[quoted text clipped - 5 lines]
> the VB object is present or is it possible to pass a startup switch (/w)
> while creating the object in VB?
Jezebel - 26 Jan 2007 05:57 GMT
Keep your VB instance of Word hidden.
>I have a VB 6.0 application that creates an instance of Word, opens a
> document with a specific template and makes it visible. If the user
[quoted text clipped - 5 lines]
> the VB object is present or is it possible to pass a startup switch (/w)
> while creating the object in VB?