Sorry, this is the code
lcFontLocFile=GETENV("SYSTEMROOT")+"\FONTS\FREE3OF9.TTF"
=AFONT(gaFontArray)
IF ASCAN(gaFontArray,"Free 3 of 9")=0 OR !FILE(lcFontLocFile)
COPY FILE ("FREE3OF9.TTF") TO (m.lcFontLocFile)
DECLARE INTEGER AddFontResource IN GDI32.DLL STRING @lpszFileName...
VFP9SP2, Windows 10
With the help of this thread I tried but no success
https://www.tek-tips.com/viewthread.cfm?qid=938702
1. I have tried myapp.exe run as Administrator
2. At DOS-Prompt CMD.EXE I found FREE3OF9.TTF file exist.
DIR c:\windows\fonts\FREE3OF9.TTF
3. But does not appear in...
User reported, this error occurs any time anywhere in exe compiled by vfp9. Is it possible to solve this error ? And myapp.exe crash and generate error log file myapperr.log
Thank you Griff
how to declare
declare integer HPDF_Page_CreateLinkAnnot in (m.dll) integer, ??????, integer
Yes. I am trying Index-Page & Details-Pages
Best Regards
Sorry.
I am trying to make pdf file by VFP. For an example
Pdf file has 10 pages. 1st page has text like
one
two
three
four
when I click on text "two" it should jump on page 2.
http://libharu.sourceforge.net/demo/link_annotation.pdf
PUBLIC ofrm
ofrm = CREATEOBJECT("MyForm")
ofrm.show(1)
RETURN
DEFINE CLASS MyForm as Form
AutoCenter=.T.
ADD OBJECT txt1 as textbox
ADD OBJECT txt2 as textbox WITH Top=50
ADD OBJECT cmd as commandbutton WITH top = 100, Height=100, Width=thisform.width, Visible=.F.
PROCEDURE Init...
oform1=NEWOBJECT("form1")
oform1.Show()
DEFINE CLASS form1 AS form
ADD OBJECT myCB as Combobox WITH FontSize=30,Height=50,Width=150
ADD OBJECT myCM as CommandButton WITH Caption="Show List",Height=100
PROCEDURE Init
thisform.myCM.Top=thisform.myCB.Height...
Thanks.
If user working with unpaid version, Invoice prints with trial.png (Watermark). User can veryfy and satisfy contents of invoice, but he may not give to his buyer.
I like your idea to generate random name files in temp folder. (Thanks)
If listner pick-up file inside from exe, this...
Thanks.
if ApplicationUnRegistered
watermarkimage="30DaysTrial.png"
else
watermarkimage="YourCompanyLogo.png"
endif
User should not modify content of watermarkimage and make it readonly attribute.
Please any other way ?
Thank you.
I am using ReportListener class for watermark. Working fine if Image exist in HDD.
What I am trying If image include in EXE. watermark does not print.
loBmp = CREATEOBJECT("GpBitmap")
loBmp.CreateFromFile(This.watermarkimage)]
Is it possible to call image/jpg/png from exe ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.