Leave out the middle part. As long as .jpg is registered on your pc to
opened with the image viewer, ShellExec will find the program for you.
So just do this:
'STRPCCMD PCCMD('rundll32 Shell32,ShellExec_RunDLL
"/Home/SMITHJM/pictestB.jpg"') PAUSE(*NO)
It will have to find your jpg. Make sure /Home is something the PC can
find.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Smith, Julius
Michael
Sent: Friday, October 24, 2008 3:06 PM
To: Midrange Systems Technical Discussion
Subject: STRPCCMD
The following command string fails after being processed via QCMDEXC to
my pc.
The failure is reported as a pc gray dialog box with the
"C:\Window\system32\shingvw.dll,ImageView_Fullscreen" not found.
I am trying to launch the the Window picture and fax viewer application.
Any ideas on how to over come this issue would be appreciated.
VAL CmdString
MDSTRING =
....5...10...15...20...25...30...35...40...45...50...55...60
1 'STRPCCMD PCCMD('rundll32 Shell32,ShellExec_RunDLL "C:\Window'
61 's\system32\shimgvw.dll,ImageView_Fullscreen" "/Home/SMITHJM/'
121 'pictestB.jpg"') PAUSE(*NO)
TIA
Michael Smith
Certegy, Inc.
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the intended recipient, please: (i) delete
the message and all copies; (ii) do not disclose, distribute or use the
message in any manner; and (iii) notify the sender immediately. In
addition, please be aware that any message addressed to our domain is
subject to archiving and review by persons other than the intended
recipient. Thank you.
_____________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.