Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing Printing in Preview Mode
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00468801
Message ID:
00468907
Vues:
12
>Hi!
>
>In the FAQ section here Ko Wisse recently added an entry with the same and some other solutions. Check it, might be interesting for you.

Exactly what I was going to suggest. We had such a long thread about it :)

FAQ #7997716 Ko Wisse How to prevent printing from the Print Preview window

>
>>I have found the answer.
>>
>>After a call to the Microsoft MSDN Tech Support for Visual Studio we were told to use the
>>foxuser.dbf as our resource file.
>>
>>First use the VFP menu VIEW, TOOLBARS, select the "Print Preview" toolbar
>>and click on the customize commandbutton. Drag the button off of the toolbar and close down the toolbar. Locate
>>the Foxuser.dbf and place it in your project as a free table and INCLUDE it into the EXE instead of excluding it. In
>>the calling program of our EXE (Do Main) for example, where we setup our enviroment, we added the program line of
>>
>>"SET RESOURCE TO FOXUSER". The dbf extension is not necessary but using it won't hurt anything.
>>
>>The Printer icon will no longer be there when you run the EXE. However, when you are back in design mode the
>>printer icon may reappear but be assured that it will be gone once you build your EXE again and run it.
>>
>>
>>Good luck.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform