Disable startup/Exit dialogs

Y

Yogi Watcher

Hello,

I am developing a program to convert files to PDF using PostScript printer
and GhostScript. This program requires application to copy file to the server
in a particular directory. I wrote a program to watch this directory and
print this file to PostScript printer using Windows SDK function
ShellExecuteEx. Since this program runs on server, it is not monitored by any
user and it runs as SYSTEM user.

During testing of this program on my machine, I ran this program as myself.
There ware no issues. Then I moved this program to server for final testing.
This server had fresh installation microsoft office. When I tested this
program on server (running as SYSTEM account), I found that it hangs Word,
but PowerPoint prints correctly. When I copy word file to the watch
directory, I can see WINWORD.exe starts as SYSTEM account, but I don't see
that document queuing for the PostScript printer. But when I copy PowerPoint
file in the watch directory, it gets queued and converted to PostScript file
correctly.

I am guessing that becuase it's fresh installation of Microsoft Office, it's
waiting for user confirmation for some onetime Word setup (may be asking for
username and user initials??). But I can't be sure. Since this server is not
going to be monitored actively any user, there won't be anybody to accept or
close those dialog boxes. Further since this program runs as SYSTEM account,
I am not sure if anybody will have any access to the processes.

Many office applications prompts user to save file, if the file was created
in earlier version.

Is there anyway to disable any startup or exit confirmation dialog boxes for
office applications?

If this is not possible then what are my options?

Thanks and Regards
 

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