Hi all
I’m try to open from RPG a Xls file stored in Ifs with this command : STRPCCMD PCCMD('rundll32 shell32,ShellExec_RunDLL "\\192.168.0.100\PDF\MYFLR\MYDOC_1141521.pdf") PAUSE(*NO)'). Yesterday i tested my program and it was ok; today i have retried and it dosn’t works (i don’t know why), then after some test, i have opened the folder from windows explorer. Windows have asked AS400’s user and password and then showed the folder with MYDOC_1141521.pdf. After that i have retried to run my program and now the STRPCCMD PCCMD('rundll32 shell32,ShellExec…. works fine and open the document.
Questions:
Gio
I’m try to open from RPG a Xls file stored in Ifs with this command : STRPCCMD PCCMD('rundll32 shell32,ShellExec_RunDLL "\\192.168.0.100\PDF\MYFLR\MYDOC_1141521.pdf") PAUSE(*NO)'). Yesterday i tested my program and it was ok; today i have retried and it dosn’t works (i don’t know why), then after some test, i have opened the folder from windows explorer. Windows have asked AS400’s user and password and then showed the folder with MYDOC_1141521.pdf. After that i have retried to run my program and now the STRPCCMD PCCMD('rundll32 shell32,ShellExec…. works fine and open the document.
Questions:
- Which could the problem ?
- Possible that until i don’t open MYFLR via windows, STRPCCMD PCCMD('rundll32 shell32,ShellExec…. Don’t works
- Which workaround ?
Gio
Comment