|
Actually, if HTTP:// is in front of the "file name" it will load the browser regardless of the file name. -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Don Freeman Sent: Wednesday, March 17, 2004 7:18 PM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] Posting AS/400 data to web page The command is: STRPCCMD PCCMD(TheFileName) The file name has to be associated with a registered program but .html files are registered with your browser by default so you shouldn't have to worry about that part. > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx > [mailto:web400-bounces@xxxxxxxxxxxx]On > Behalf Of Bob Cozzi > Sent: Wednesday, March 17, 2004 5:01 PM > To: 'Web Enabling the AS400 / iSeries' > Subject: RE: [WEB400] Posting AS/400 data to web page > > > Bud, > You would build the URL encoded string, then call the RUNPCD > command (I > think that's the COMMAND) and just pass the URL. Windows will > automatically > launch the browser for you. > > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx > [mailto:web400-bounces@xxxxxxxxxxxx] On > Behalf Of Alvin Manz > Sent: Wednesday, March 17, 2004 3:24 PM > To: WEB400@xxxxxxxxxxxx > Subject: [WEB400] Posting AS/400 data to web page > > Hi, All! > > I am trying to develop a way that a user can press a command key in a > screen that will run an RPG program that builds a url-encoded > string and > sends that string to a web browser. > > If anyone can help at all, I will greatly appreciate it! > > Thanks, > Bud > > > Alvin (Bud) Manz, Jr. > Programmer I > Northwest State Community College > http://www.nscc.cc.oh.us/ > amanz@xxxxxxxxxxxxx > (419) 267-5511 ext. 459 > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > > > _______________________________________________ This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
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 [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.