Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print PDF file from VFP directly?
Message
From
27/09/2004 10:31:21
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00904836
Message ID:
00946252
Views:
49
This is interesting. I just tested it again and still Reader never opens...
What version of Reader are you testing it with? I'm testing it with Adobe Reader 6.0.2 and Windows XP SP1.


>Tracy,
>
>I'm testing your code and the reader appears on every machine I have tested. I can kill the acrobat reader process using WMI code I found here, but without control of the reader process, the amount of time to allow printing to finish is an guessing game.
>
>I guess it really doesn't matter if the reader appears on the taskbar. Subsequent calls to ShellExecute continue to use the same process. I could always kill it when my app shuts down. The problem I have is that the initial call to ShellExecute that creates the new instance of the Reader leaves focus on the reader on the taskbar. Do you know of any way to set focus back to my app?
>
>Thanks
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform