process.start - slow startup times

  • Thread starter Thread starter gazza67
  • Start date Start date
G

gazza67

Hi Everyone,

I am writing a small .net forms app that rquires a word document to be
opened. I use the command
process.start(filePath).

The command does just as it should and opens the document with word.
HOWEVER the problem is that it takes forever - well about 20 seconds
anyway for the document to open.

If I go into the file browser and double click on the file it opens in
under 2 seconds.

Also I found that if my program instead of opening a .doc file instead
opens a .txt file then it works quickly i.e. it opens up the document
under word pad in less than 2 seconds.

If anyone has any suggestions they would be most appreciated.

Cheers
Gary
 
Hi Gary,

Out of curiosity, does the performance improve if you explicitly specify the
path to the Word program and submit the filePath as an argument?
 

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

Back
Top