I've been working on a project which uses automation to create Word Documents. My questions are related to the apparently excessive amount of time that it takes to open the Word session. The following code shows that it is taking longer than 5 seconds to actually create the object.
? seconds()
RELEASE ALL LIKE o*
? seconds()
PUBLIC oWord
? seconds()
oWord = CreateObject("Word.Application"
? seconds()
oWord.Visible = .T.
Questions:
1. Is there a way to shorten that interval.
2. Is there a way to use a progress bar to show the end user that something is still happening. It strikes me that it will not be possible to update the progress bar during the line of code that produces the problem.
Comments and suggestion appreciated.
Thanks in advance.
CDavis
? seconds()
RELEASE ALL LIKE o*
? seconds()
PUBLIC oWord
? seconds()
oWord = CreateObject("Word.Application"
? seconds()
oWord.Visible = .T.
Questions:
1. Is there a way to shorten that interval.
2. Is there a way to use a progress bar to show the end user that something is still happening. It strikes me that it will not be possible to update the progress bar during the line of code that produces the problem.
Comments and suggestion appreciated.
Thanks in advance.
CDavis