MS Publisher

MS Publisher

Post by Q3JhaWcgRm » Wed, 27 Jul 2005 00:16:03

Has anybody ever tried to incorporate MS Publisher into their app? I have
done WORD with success, but Publisher seems to be a little different. I have
an app, which call WORD docs for display, then a simple right click to edit,
saves in a GENERAL field, No Problems. But with Publisher, it will not
display the document. It edits just fine, but I am wondering if the APPEND
GENERAL does not work with Publisher.

Any Thoughts?

Thanks in advance,

MS Publisher

Post by Leem » Wed, 27 Jul 2005 00:31:59

Hi Craig:

If you cannot display the document after inserting it into a general filed,
this leads me to believe that VFP does not recognize Publisher as an OLE
Automation server.

What exactly are you trying to accomplish? If you simply need to store
publisher files, I would store them in a memo binary field and them use
StrToFile() to recreate the Publisher file on the fly. You would then
display the image in Publisher.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:

*--Purchase VFP 9.0 here:

Keep an eye on the product lifecycle for Visual FoxPro here: ;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003