If WIN.PCRUN requires 2 parameters, then I guess the second parameter should be null.
And which way of doing things is best? To throw up the url in the USER's choice of browser, or the PROGRAMMER's choice of browser? I'm afraid I come from the old school - give the user what they want, if it's easily done. I get well pissed off when my computer starts displaying things using the "wrong" app. And I don't see why I should impose such disfunctional behaviour on my users. (Plus it's a neat thing to know that windows will execute a document using its default app - it may be that IE is the default app for .html in 99% of cases, but what's the default for .jpg? - how do you know the app you're about to ask for even exists on the client?) Cheers, Wol -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson Sent: 01 April 2004 14:38 To: U2 Users Discussion List Subject: Re: How to launch remote browser from UniVerse server? I believe WIN.PCRUN requires 2 parameters. Please provide the other. Thanks. You could provide your desired browser in the first parameter and the URL in the second. Just because a small fraction doesn't use IEXPLORE doesn't mean that 99.9 percent don't either. Everyone can figure this out for themselves. ----- Original Message ----- From: "Anthony Youngman" <[EMAIL PROTECTED]> To: "U2 Users Discussion List" <[EMAIL PROTECTED]> Sent: Thursday, April 01, 2004 4:46 AM Subject: RE: How to launch remote browser from UniVerse server? Except that it assumes that IE is the default browser. And at home, where my firewall is configured to BLOCK IE, it would probably get you nowhere. I'm not sure of the syntax, but something like CALL WIN.PCRUN(URL) should fire up the url in the default browser. There were reports on u2-users a couple of weeks back that this sort of thing (executing a document) does work fine. Cheers, Wol -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson Sent: 01 April 2004 04:53 To: U2 Users Discussion List Subject: Re: How to launch remote browser from UniVerse server? If running Wintegrate this databasic command works: CALL WIN.PCRUN("IEXPLORE.EXE", URL) where URL could be any web address. I use it often to retrieve shipping from UPS.com or hooking map sites to dispatching screens. my 1 cent. can't help you on topic 2 unless you post the report as HTML to a PC file and have the URL be the file reference. In fact, here's a sub to hook to any cust maint. 001 SUBROUTINE MAP01(ADDR, ZIP) 002 *** 003 * TO INSTANTIATE THE BROWSER FOR INTERNET FOR THIS URL 004 * MAJ 121002 005 *** 006 CONVERT " " TO "+" IN ADDR 007 CONVERT " " TO "+" IN ZIP 008 PROG="C:\Program Files\Internet Explorer\IEXPLORE.EXE" 009 URL="http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address +Below&addr=":ADDR:"&csz=":ZIP:"&Country=us&Get%A0Map=Get+Map" 010 CALL WIN.PCRUN(PROG, URL) 011 RETURN 012 END I see that you are in AU so adjust the URL in this example for the appropriate country. I just go to the yahoo map page with an address and cut/paste that url into MV and fixup. Happy April 1. It's still yesterday here. ----- Original Message ----- From: "LeRoi Keiller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 10:39 PM Subject: How to launch remote browser from UniVerse server? > Hi > > I have a client (customer) who wishes to launch users' desktop browsers from > a UniVerse server. > > 1/ How can this be done (actual instructions, if possible) > So far, UniObjects has been mentioned and DDE - but, any other ideas. Or, > what are the instructions to actually do this? > > 2/ Once the above is possible, how could a UniVerse report be displayed in > the user's browser, for example? > > Thanks, > LeRoi > ___________________ > LeRoi Keiller > Client Support - Technical > > UltraData - Vision to Reality > Ph +61 3 9291 1700 > www.ultradata.com.au > > > > Disclaimer Notice > This message contains privileged and confidential information intended only > for the use of the addressee named above. If you are not the intended > recipient of this message you are hereby notified that you must not > disseminate, copy or take any action or place any reliance on it. If you > have received this message in error please notify Ultradata immediately. > Any views expressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of > Ultradata Australia Pty. Ltd. > > -- > u2-users mailing list > [EMAIL PROTECTED] > http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ************************************************************************ **** This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. ************************************************************************ **** -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
