Solved

Visual Foxpro

Posted on 2013-01-11
5
814 Views
Last Modified: 2013-01-26
I use visual foxpro 6.0 in my app. I need to modify the print preview to remove or block
the print button on some reports in my program.
Sometimes the print button is needed.

Dan Landry
0
Comment
Question by:DanielBLandry
  • 3
5 Comments
 
LVL 41

Expert Comment

by:pcelba
ID: 38767164
The Report Preview toolbar is defined in resource file (FOXUSER.DBF obviously). So if you set the appropriate resource file before the REPORT FORM command it will display the toolbar with or without the Print button.

The code and instructions to prepare appropriate resource files are published e.g. here: http://support.microsoft.com/kb/317466
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 38808929
Hi,

I suggest FoxyPreview Report Viewer. you can easily customize button in this Report Viewer.

http://foxypreviewer.codeplex.com/
0
 
LVL 41

Expert Comment

by:pcelba
ID: 38810437
Just FYI, FoxyPreviewer does not work under VFP 6.
0
 

Author Comment

by:DanielBLandry
ID: 38822068
I found a solution that works with vp 6
0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 38822171
Yes, the solution based on the resource file should work in all VFP versions. Of course, VFP 9 requires appropriate REPORTBEHAVIOR to implement it.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now