General information
Category:
Reports & Report designer
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only