P
Phil Galey
I have a VB.NET application that uses SendKeys to close the open document in
QuarkXPress 5.0
I'm using the following commands:
AppActivate(QXP_Process_ID)
SendKeys.SendWait("^{F4}")
in an effort to close the document currently open in QuarkXPress. However,
it only works if I set a breakpoint on or shortly before the AppActivate
command and then hit F5 to run it through the above commands. But if it
just runs through without stopping along the way, this command pair does not
work and the document stays open.
What might be the cause and solution to this frustrating problem? Thanks.
QuarkXPress 5.0
I'm using the following commands:
AppActivate(QXP_Process_ID)
SendKeys.SendWait("^{F4}")
in an effort to close the document currently open in QuarkXPress. However,
it only works if I set a breakpoint on or shortly before the AppActivate
command and then hit F5 to run it through the above commands. But if it
just runs through without stopping along the way, this command pair does not
work and the document stays open.
What might be the cause and solution to this frustrating problem? Thanks.