VB Script to display a .pdf file on AS400
Posted on 2009-04-15
I have created a vb script that can be run from the AS400 to display a pdf file based on some screen information. The last line is causing me a problem on a few pc's. It's strange because it runs on 2 pc's with no issues, but on the other pc's it gives me an error on the following line:
ProcessID = autSystem.shell("acrobat.exe","S:\MSDS\" & Trim(RetVal) & ".pdf")
This happens to be the last line if that matters.