[AccessD] Automation of word

Jim Hewson JHewson at karta.com
Mon Feb 4 09:14:16 CST 2008


John,
I'm not sure I would even attempt to control another's machine to ensure Word doesn't close.  There might be a few irate users, if you do that.   I would probably give the user a message indicating that closing Word would not create the desired results and then ask the user if that their intent. Maybe put the message is something like yellow letters on a red background so they couldn't mistake it for a standard MS message.

Jim 
jhewson at karta.com
 
-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Monday, February 04, 2008 8:49 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Automation of word

I have a rather elaborate mail merge system in a client's system.  ATM I
open the document, merge the date and the user takes over, filling in things
that they need to fill in, then printing and closing the word instance.  It
works well enough however I do not control the save of the document, and
very occasionally Word does not close cleanly, leaving a hidden instance
open WITH the associated merge text document open as well, preventing the
next merge from occurring.

I need to know if it is possible to open word in a mode that prevents it
from being closed by the user?  I would then have the user go back to my
application and press a button saying that they succeeded in doing the mail
merge.  I would save the document and close Word down.

Can I prevent the user from closing Word?

John W. Colby
Colby Consulting
www.ColbyConsulting.com 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list