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.
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.