Hello all.
Having some difficulties opening a .pdf file on a label click event on a form.
Not really sure what the exact syntax is for adobe, like opening a Microsoft word document for example:
I was trying the pdf because I couldnt find out how to open the word document readonly so that the users couldnt alter the document when viewing.
I tried Ramani's solution 'gsPDF' but this just prompts user to select a file or exit. The users dont know the file name so I want to select the file programatically then just 'show' the users the file - then they can close after viewing.
Any suggestions??
All responses are appreciated!![[wiggle] [wiggle] [wiggle]](/data/assets/smilies/wiggle.gif)
Having some difficulties opening a .pdf file on a label click event on a form.
Not really sure what the exact syntax is for adobe, like opening a Microsoft word document for example:
Code:
PUBLIC oword
oword = CREATEOBJECT("Word.application")
oword.documents.open("m:\occ\btr.doc")
oword.visible = .t.
I tried Ramani's solution 'gsPDF' but this just prompts user to select a file or exit. The users dont know the file name so I want to select the file programatically then just 'show' the users the file - then they can close after viewing.
Any suggestions??
All responses are appreciated!
![[wiggle] [wiggle] [wiggle]](/data/assets/smilies/wiggle.gif)