a question causes timeout and other problems

X

x_maras

I ll try to explain my problem as good as I as can.

We ve got a program that communicates with ms word via the developers kit.
The user through some actions can edit a specific value , for example a
price, in
a word template.

When he does this a question dialog with a text field to insert the value
appears.
The user has to insert a value there and the value will be inserted in the
document.

Now comes the problem:
When the user click the button and the word question dialog appears, then
the user has a sort amount of time to insert the data. If he does not fill
the form quick, a message appears.

"This action can not be completed because the other program is busy. Click
to Activate this program to switch and the problem"

if you still press to submit the value to the doc file, It does submit it
but then the word appears without the menu. It only shows the rulers and the
text .

I think that if the first problem will be fixed then the second maybe fixed
too. I think that this happens because of the first error.

So here comes my question. Can we set/change the timeout time, or even
better to manage the timeout?

Thanks in advance
 
J

Jean-Guy Marcil

x_maras was telling us:
x_maras nous racontait que :
I ll try to explain my problem as good as I as can.

We ve got a program that communicates with ms word via the developers
kit. The user through some actions can edit a specific value , for
example a price, in
a word template.

When he does this a question dialog with a text field to insert the
value appears.
The user has to insert a value there and the value will be inserted
in the document.

Created from the template, right?
Now comes the problem:
When the user click the button

What button?
Where is that button?
and the word question dialog appears,
then the user has a sort amount of time to insert the data. If he
does not fill the form quick, a message appears.

"This action can not be completed because the other program is busy.
Click to Activate this program to switch and the problem"

When, in relation to the button being pushed, does the hidden Word instance
get instantiated?
if you still press to submit the value to the doc file, It does
submit it but then the word appears without the menu. It only shows
the rulers and the text .

I think that if the first problem will be fixed then the second maybe
fixed too. I think that this happens because of the first error.

So here comes my question. Can we set/change the timeout time, or even
better to manage the timeout?

What Word version?

In any case, try to instantiate the Word object AFTER having handled the Pop
up to the user.
 
X

x_maras

Jean-Guy Marcil said:
x_maras was telling us:
x_maras nous racontait que :


Created from the template, right?

Yes it's from the template.
What button?
Where is that button?

There is a button in our program that opens the specific template.
When, in relation to the button being pushed, does the hidden Word instance
get instantiated?


What Word version?

word 2007
In any case, try to instantiate the Word object AFTER having handled the Pop
up to the user.

We ll try this and I ll inform you soon.
Thanks for the response.
 

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