|
In a CL program you can do the following:
STRPCO
MONMSG MSGID(CPF0000 CPD0000 CPC0000 IWS0000 IWS4010)
STRPCCMD PCCMD('rundll32 url.dll,FileProtocolHandler +
http://www.kellycookson.info/') PAUSE(*NO)
MONMSG MSGID(CPF0000 CPD0000 CPC0000 IWS0000)
This code will open the user's default browser to the URL given. You can use these commands to open other programs on the PC.
There may be problems with calling the CL from PHP:
I think you need a session of Access for Windows (Client Access) running on the PC. I suspect it is Access for Windows that actually starts other programs on the PC.
Even if you have a session of Access for Windows running on the PC, I don't know what the results would be of calling the CL program from PHP. The call to the CL program might have to originate from the session of Access for Windows.
Thanks,
Kelly
As an Amazon Associate we earn from qualifying purchases.
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.