Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppressing Printing in Preview Mode
Message
From
25/01/2001 16:53:57
 
 
To
25/01/2001 16:41:22
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00468801
Message ID:
00468812
Views:
26
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform