× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 7/16/2015 2:20 PM, Joe W Holt wrote:

Not looking to echo the url on the screen, was hoping a menu call or a
function key could trigger a URL pass to the local browser.

Does this help? http://wiki.midrange.com/index.php/STRPCCMD

I'd use the rundll32 method myself. You can fire STRPCCMD from an RPG
program via QCMDEXEC.

In a CL program:

PGM PARM(&SITE)

DCL VAR(&CMD) TYPE(*CHAR) LEN(120)
DCL VAR(&SITE) TYPE(*CHAR) LEN(30)

CHGVAR VAR(&CMD) VALUE('rundll32.exe +
url.dll,FileProtocolHandler ' *BCAT +
'http://www.' *CAT &SITE *TCAT '.com')

STRPCO PCTA(*NO)
MONMSG MSGID(IWS4010)

STRPCCMD PCCMD(&CMD) PAUSE(*NO)

ENDPGM



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.