declare long ShellExecute in "shell32.dll" ; long hwnd, string lpszOp, ; string lpszFile, string lpszParams, ; string lpszDir, long nShowCmd ShellExecute(0,'Open','c:\My Path\myFile.pdf',0,0,1)PS: If you meant to open pdf in a VFP form then place a web browser control and navigate2('file://'+lcPDFFullPath)