Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2007

Tip: Looking for answers? Try searching our database.

Forcing new instance of Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Debra DB - 25 Jan 2007 18:34 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.