RE: How to launch remote browser from UniVerse server? (In Training...)

2004-04-02 Thread Donald Kibbey
I will be attending a training session in room 2B.  If you require assistance, please 
page me.

Thanks,



 u2-users 04/02/04 09:44 

Does anyone have an example of how to do this if the terminal emulator
is QPC Software, QVT/Term?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michael Polak
Sent: Thursday, April 01, 2004 8:17 AM
To: U2 Users Discussion List
Subject: RE: How to launch remote browser from UniVerse server?


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


It depends on what you use for a terminal emulator.

For Accuterm you need to place something like the following in a Basic
program to open IE:

PRINT CHAR(27):CHAR(2)::iexplore:CHAR(13):

There are numerous ways to get reports to display in the browser. One
easy
way to start testing is to set up a file that can be accessible by both
U2
and mapped to the user's PC. For example create a U2 file called TEMP
that
is pointing to a location that can be mapped to by the user PC.  Map
that
location to the S:\temp directory. Write your U2 report to the TEMP file
with a record name of FILE.NAME.  Then un the command:

PRINT CHAR(27):CHAR(2)::iexplore S:\temp\:FILE.NAME:CHAR(13):

This will load IE with the written data.

Once your comfortable with this, you can explore tools like txt2html,
txt2pdf, and the U2 print spooler.  With these tools you can have a
print
queue automagically translate a print job into html or pdf and write
them
out to a file directory.

mike

- -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of LeRoi Keiller
Sent: Wednesday, March 31, 2004 10:40 PM
To: [EMAIL PROTECTED]
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
-BEGIN PGP SIGNATURE-
Version: PGP 8.0

iQA/AwUBQGwkcLAst3KQK8kYEQKDogCg0bzg1ozWLQNeh2dYnXbY2fm6kUEAoOFm
QDZOX7Cy0/cJqFR+ACkGAPla
=oYUN
-END PGP SIGNATURE-

-- 
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


RE: How to launch remote browser from UniVerse server?

2004-04-02 Thread Bruce McAdoo
Using QVT/Term to connect to unidata  5.1.19 running on AIX 4.3.2.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: How to launch remote browser from UniVerse server?

In a message dated 4/2/2004 6:45:47 AM Pacific Standard Time, 
[EMAIL PROTECTED] writes:

 Does anyone have an example of how to do this if the terminal emulator
 is QPC Software, QVT/Term?
 
 
 For Accuterm you need to place something like the following in a Basic
 program to open IE:
 
 PRINT CHAR(27):CHAR(2)::iexplore:CHAR(13):
 
 PRINT CHAR(27):CHAR(2)::iexplore S:\temp\:FILE.NAME:CHAR(13):

If you are running Universe, D3, or MvBase on Windows, you have other
options 
which are presumtively faster since they are lower level.  Can you tell
us 
what your setup is?
Will
-- 
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


Re: How to launch remote browser from UniVerse server?

2004-04-02 Thread FFT2001
In a message dated 4/2/2004 5:27:20 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

 Using QVT/Term to connect to unidata  5.1.19 running on AIX 
 4.3.2.

Bruce the Help on QVT might indicate the ability to run scripts, launch windows, etc 
so that's where to start.  However, there are two very different requirements for web 
content.  One is to launch a browser so that a human can view, interact, manipulate 
that window.  The other requirement is merely to get the web page contents INTO your 
MV (Unidata) environment.  For this latter requirement, you do not need to launch a 
browser then scrape it.  So would just getting the contents into your app be 
sufficient? Or do you need the user to interact with the window in some way?
Will
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to launch remote browser from UniVerse server?

2004-04-02 Thread FFT2001
In a message dated 4/2/2004 5:27:20 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

 Using QVT/Term to connect to unidata  5.1.19 running on AIX 
 4.3.2.

Bruce the Help on QVT might indicate the ability to run scripts, launch windows, etc 
so that's where to start.  However, there are two very different requirements for web 
content.  One is to launch a browser so that a human can view, interact, manipulate 
that window.  The other requirement is merely to get the web page contents INTO your 
MV (Unidata) environment.  For this latter requirement, you do not need to launch a 
browser then scrape it.  So would just getting the contents into your app be 
sufficient? Or do you need the user to interact with the window in some way?
Will
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: How to launch remote browser from UniVerse server?

2004-04-02 Thread Bruce McAdoo
I've created the html file from a spooled hold file and placed it in a
Samba drive, but the icing on the cake would for the user to generate
the file and launch the browser from within the unidata session.

QVT/Term Help does not mention anything about launching windows, and the
scripts seem limited to starting up QVT/Term sessions.  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 4:39 PM
To: U2 Users Discussion List
Subject: Re: How to launch remote browser from UniVerse server?

In a message dated 4/2/2004 5:27:20 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:

 Using QVT/Term to connect to unidata  5.1.19 running on AIX 
 4.3.2.

Bruce the Help on QVT might indicate the ability to run scripts, launch
windows, etc so that's where to start.  However, there are two very
different requirements for web content.  One is to launch a browser so
that a human can view, interact, manipulate that window.  The other
requirement is merely to get the web page contents INTO your MV
(Unidata) environment.  For this latter requirement, you do not need to
launch a browser then scrape it.  So would just getting the contents
into your app be sufficient? Or do you need the user to interact with
the window in some way?
Will
-- 
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


Re: How to launch remote browser from UniVerse server?

2004-04-02 Thread FFT2001
In a message dated 4/2/2004 5:52:10 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

 I've created the html file from a spooled hold file and placed it in a
 Samba drive, but the icing on the cake would for the user to generate
 the file and launch the browser from within the unidata session.
 
 QVT/Term Help does not mention anything about launching 
 windows, and the scripts seem limited to starting up QVT/Term sessions.  

It may not be a really fully featured emulator.
Is there any barrier to moving to Accuterm or Wintegrate?
You could at least do a proof-of-concept with one of them and present it to your 
bean counters to see if they'd go for it.
Will
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: How to launch remote browser from UniVerse server?

2004-04-01 Thread Mark Johnson
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=TmapnewFL=Use+Address
+Belowaddr=:ADDR:csz=:ZIP:Country=usGet%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


RE: How to launch remote browser from UniVerse server?

2004-04-01 Thread Anthony Youngman
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=TmapnewFL=Use+Address
+Belowaddr=:ADDR:csz=:ZIP:Country=usGet%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

RE: How to launch remote browser from UniVerse server?

2004-04-01 Thread Michael Polak

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


It depends on what you use for a terminal emulator.

For Accuterm you need to place something like the following in a Basic
program to open IE:

PRINT CHAR(27):CHAR(2)::iexplore:CHAR(13):

There are numerous ways to get reports to display in the browser. One easy
way to start testing is to set up a file that can be accessible by both U2
and mapped to the user's PC. For example create a U2 file called TEMP that
is pointing to a location that can be mapped to by the user PC.  Map that
location to the S:\temp directory. Write your U2 report to the TEMP file
with a record name of FILE.NAME.  Then un the command:

PRINT CHAR(27):CHAR(2)::iexplore S:\temp\:FILE.NAME:CHAR(13):

This will load IE with the written data.

Once your comfortable with this, you can explore tools like txt2html,
txt2pdf, and the U2 print spooler.  With these tools you can have a print
queue automagically translate a print job into html or pdf and write them
out to a file directory.

mike

- -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of LeRoi Keiller
Sent: Wednesday, March 31, 2004 10:40 PM
To: [EMAIL PROTECTED]
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
-BEGIN PGP SIGNATURE-
Version: PGP 8.0

iQA/AwUBQGwkcLAst3KQK8kYEQKDogCg0bzg1ozWLQNeh2dYnXbY2fm6kUEAoOFm
QDZOX7Cy0/cJqFR+ACkGAPla
=oYUN
-END PGP SIGNATURE-

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users