Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Suppressing Printing in Preview Mode
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement