Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nocturnal print via MUTEX and Run-App-and-Wait
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Nocturnal print via MUTEX and Run-App-and-Wait
Miscellaneous
Thread ID:
00254699
Message ID:
00254699
Views:
54
Printing reports at night with a 16-bit application (QUEST) requires a single instance, therefore I refer to George's MUTEX class.
There are many reports to be generated but QUEST can run only one-at-a-time and I must know when the previous QUEST has finished, referring to Ed's Run-App-and-Wait prg.
I want to combine these two great ideas together!
Run Quest Print, Wait, After Quest Print spooled start NEXT QUEST.

I can't use a timer, end up with dead time...
IDEAL would be
=LaunchAppAndWait(cCmdLineOut, "C:\Gupta\", "HIDE")

but the 'handle' is a number, ((that is consistent))
WHICH is not recognized as a Screen title (as dictated in the MUTEX)

The command line runs an instance of QUEST
I do not know nor can I seem to assign handle/title for property testing.

Any help would be great.
Edgar L. Bolton, B.S. B.B.A.
Next
Reply
Map
View

Click here to load this message in the networking platform