Subject |
Active X |
From |
Mustansir Ghor <mustan31@hotmail.com> |
Date |
Thu, 18 Jul 2019 09:37:10 -0400 |
Newsgroups |
dbase.getting-started |
Dear All
I am using active X object to open and read a pdf file. There is program pdf reader.prg that works perfectly. However I have modified little in that as shown below. instead of getting the pdf file using getfile function, I specify the file name. It does not work.
function PUSHBUTTON1_onClick
// form.filename = getfile("*.pdf")
form.filename="d:\docs\application form.pdf"
form.activex1.nativeobject.loadfile(form.filename)
return
Can anybody enlighten me on this.
Best Regards
Mustansir
|
|