If this works correctly, it will open the Forms 11R2 New Features document.
If the file lives within the Forms directories, you can even use a relative path rather than the fully qualified one above. For example, if the files live in \forms\java\foo then you can do this:
This makes the application a little more flexable given that you would not need to change the app code if the server name changed. Once the file has been opened on the client side, whatever pdf reader the end-user is using will offer a "Save" option. So if they choose to save the file locally, they can do so as they desire.</blockquote>
-- The exact entry may differ slightly depending on which -- Forms version you are using and where you locate the files WEB.SHOW_DOCUMENT ('/forms/java/foo/my.pdf','_blank');
This is a bit of an old school way of accomplishing the task, but it is very effective and flexiable. Alternatively, you could use CLIENT_HOST to directly call the file, but this may not always work. For example:
-- In this example, the value of myPathAndFile is the path and filename. -- For example, myPathAndFile := 'C:\Users\<USER_NAME>\Documents\foo.pdf'; CLIENT_HOST('rundll32 shell32,ShellExec_RunDLL '|| myPathAndFile);