Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReaderWrapper to control Adobe Reader - Use in VFP?
Message
De
13/12/2004 10:54:45
 
 
À
13/12/2004 10:51:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00968303
Message ID:
00968760
Vues:
9
Can you post your code you are actually using in testing? I'm not sure what you mean.

Tracy

>>I don't have any crashes using this code. Strange... It works fine on my system...
>>I'm using Adobe Reader 6.02...
>>
>>>>I don't know what I was thinking (or not thinking). This does it:
>>>>
>>>>
>>>>*--Do not hide the print dialog window (/h switch hides it)
>>>>IF ShellExecute(0, "open", "acrord32.exe", " /p "+lcpfile, "", 0) <= 32
>>>>
>>>
>>>Yep. I just tried that too :-)
>>>But the /p still crashing Adobe, right after the "printing..." dialog window disappear.
>
>I tried not to use /p. So, I'm using CreateProcess and not showing the Adobe window then make the heigth and width to 0. Runs & print very fine.
>
>I'm spying on what the /p do exactly. It using the same technique! But why it crashed ? I'm confused now...hehehe..
>
>Cheers
.·*´¨)
.·`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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform