Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Previewing in Word only
Message
From
13/07/2001 09:17:44
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00528482
Message ID:
00530185
Views:
29
>
>DECLARE integer Sleep in Win32API integer
>loWord.Visible=.T.
>loWord.ActiveDocument.PrintPreview
>#DEFINE nLimitation 300
>i = 1
>do while loWord.PrintPreview AND i<=nLimitation && loop until we're in the print
>                     &&preview mode or time limitation reached
>  sleep(1000)
>enddo
>loWord.ActiveDocument.CLose.....
>.....
>
That works like a charm. However, even if the VFP application is freeze, we can still click on it and we see that the sceen if not refreshed. How can we disable VFP during that time? Basically, presently, the user can click on the taskbar to bring it frontmost. I would like to lock that ability during that time.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform