Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppressing Printing in Preview Mode
Message
De
25/01/2001 16:53:57
 
 
À
25/01/2001 16:41:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00468801
Message ID:
00468812
Vues:
11
>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.


Well done and good solution.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform