Mcgillivray, Donald [ITS]
donald.a.Mcgillivray at mail.sprint.com
Thu Jun 12 18:42:51 CDT 2003
Selina, Have a look at Bryan Carbonnell's (July, 2002) articles on Word automation: http://www.databaseadvisors.com/newsletters.htm I believe he covers this topic in some detail. He includes things like handling Word sessions that are running when your code fires (you want to be sure that you don't hose the user's work by closing or otherwise messing with an existing session.) HTH! Don McGillivray -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Thursday, June 12, 2003 3:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Is MSWord.exe running?? Good Morning Everyone I have an application that silently opens MS Word, merges it, saves it etc, without the user sitting watching the whole flickering effect. Problem is if it errors, the Process is left running in the Task Manager, and the novice user has to restart the PC or go into Task Manager and End Task the process. (Otherwise it causes errors next time). Can anyone please help me with code to 1. check if a MS Word process is running and 2. end it. Thanks Heaps Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com