Hello,
I have an MSWord problem. I've had this problem a couple of times in the past, and have never arrived at a good solution. The other times I think I just McGiver'd it. This time I can't do that.
Here's what I have:
wApp=createobject('word.application')
wapp.documents.open('mypath\myfile')
wapp.printout
wapp.quit
release wapp
Pretty simple, huh?
Anyway, the problem is (as you may have guessed) that FoxPro tries to quit Word before it's finished printing and you get that error message that asks you if you really want to quit, because if you do, you'll cancel your print job.
So, how do I prevent FoxPro from closing Word before Word is finished printing??? I keep seeing this "asynchronous" word here and there and don't know if that applies.
Thanking you in advance.
-Mike
I have an MSWord problem. I've had this problem a couple of times in the past, and have never arrived at a good solution. The other times I think I just McGiver'd it. This time I can't do that.
Here's what I have:
wApp=createobject('word.application')
wapp.documents.open('mypath\myfile')
wapp.printout
wapp.quit
release wapp
Pretty simple, huh?
Anyway, the problem is (as you may have guessed) that FoxPro tries to quit Word before it's finished printing and you get that error message that asks you if you really want to quit, because if you do, you'll cancel your print job.
So, how do I prevent FoxPro from closing Word before Word is finished printing??? I keep seeing this "asynchronous" word here and there and don't know if that applies.
Thanking you in advance.
-Mike