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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE Linking Command results in Embedded object in VFP

Status
Not open for further replies.

drewp2005

Programmer
Apr 25, 2006
1
US
I am developing a compiled application in VFP 5.0 which stores refrences to pdf's as linked OLE objects in a table. My table has a general field to contain the pdf reference and I am using the following code to select pdf's to add references to in the table.



local pdfname

pdfname = getfile("pdf")
if !Empty(pdfname)
sele pdfimages
append blank
APPEND GENERAL pdfimages.pdffile from (pdfname) link
endif


I have been developing on one machine at my home and one machine at work. I noticed that when linking these pdf's at home the linked file becomes embedded and causes the VFP table size to grow huge even after adding a single pdf. I just ignored the problem because the application was to be used at work.

Everything was just fine until last week when I executed the routine and my work computer is now embedding as well.

I can't find any reference whether this is some Windows OLE setting or if something in VFP is the issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top