Declare Long ShellExecute in Shell32 ;
Long hWnd, ;
String lpOperation, ;
String lpFile, ;
String lpParameters, ;
String lpDirectory, ;
Integer ShowCmd
* Print current document
*mKod=ShellExecute(0, "print", "uidesign1.pdf", NULL, "C:\text", 1)
* Open Adobe Acrobat if it was installed on your computer
mKod=ShellExecute(0, "open", "uidesign1.pdf", NULL, "C:\text", 1)