My mistake for not reading carefully - the previous post I sent is to
display a file with the default handler.
This will load a web page (you can put site url in a variable
CHGVAR VAR(&CMD) VALUE('START +
http://www.google.com')
STRPCO PCTA(*NO)
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD(&CMD) PAUSE(*NO)
Jim
-----Original Message-----
From: franz9000@xxxxxxxxx <franz9000@xxxxxxxxx>
Sent: Wednesday, August 19, 2020 11:25 PM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Calling IE Edge or Chrome via IBM I
Brian - I think your IE should be "iexplore"
There is another way - which calls the user's default browser and default
handler for the file type (from this list... long ago)
CHGVAR VAR(&CMD) VALUE('rundll32 +
url,FileProtocolHandler +
&PATH *TCAT &FILENAME)
STRPCO
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD(&CMD)
Jim Franz
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brian
Garland via RPG400-L
Sent: Wednesday, August 19, 2020 2:52 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: Brian Garland <Brian.Garland@xxxxxxxxxx>
Subject: RE: Calling IE Edge or Chrome via IBM I
We use the following commands depending on user choice:
Chrome: start chrome
Firefox: start firefox
IE: start iexpore
Edge: start msedge
--
Brian J. Garland
Vermont Information Processing, Inc.
brian.garland@xxxxxxxxxx
--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or company to whom they are addressed.
Do not disclose, distribute, or copy this email to others outside your
company. If you have received this email in error, please notify the sender
immediately and delete this email from your system.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.