Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can you print a visual foxpro 5.0 report from another application?

Status
Not open for further replies.

phoelper

Programmer
Feb 24, 2000
2
0
0
US
How can you run a Visual Foxpro 5.0 report from another application?
 
It's not clear what other applications you are refering to. Is the other application a program you're writing in Visual Basic or something like MS Word?<br>
<br>
You might examine the VFP Developer's Guide and explore the possibility of building a VFP service that could be called from other apps. <br>
<br>
Another possibility would be to compile the report generator as a DLL and call it from the other program.<br>
<br>
Another possibility is to put a VBasic wrapper around your VFP and create an ActiveX (COM) control. This assumes you other application is a programming language that accepts ActiveX controls.<br>
<br>
None of these is a cinch but it can be done. Start with the VFP Developer's Guide for inspiration.<br>
<br>

 
Using Automation you can create a Visual FoxPro Application Variable and then use the DoCmd verb to execute any Visual FoxPro Command. I have never tested. <br>
<br>
I hope it helps<br>
<p>Edwin Dalorzo<br><a href=mailto:edalorzo@hotmail.com>edalorzo@hotmail.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top