Problem:
Can the Acrobat reader be launched for a PDR file from Net Express COBOL?
Resolution:
Yes - use the WinApi ShellExecute.
A demo for ShellExecute can be found at our samples page in the Internet:
http://supportline.microfocus.com/examplesandutilities/nesamp.asp#Win32API
It demonstrates how to launch the Internet Browser for an HTML-file.
Changing the name of the HTML-file to the name of the PDF-file will start the Acrobat reader.
The ShellExecute expects a zero-terminated filename, e.g. by z" ".