Solved

opening internet explorer from client access with attached string in the url

Posted on 2004-09-17
7
390 Views
Last Modified: 2008-01-16
pls pardon any and all ignorance as I'm an as400 novice..
I have an as400 application which I run using client access..I need to be able to extract values from specific positions on the client access window and then launch a web site in internet explorer, with the extracted value attached to the web site url as a query string.

Thank you all much, in advance..
0
Comment
Question by:krisme77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 3

Expert Comment

by:Mind_nl
ID: 12093501
There is a "run pc command" command where you can have your client access session start iexplore.exe with a URL. What exactly do you want to do? I'm not sure what the exact command is... I'll check on monday when I'm @ work...
0
 
LVL 33

Accepted Solution

by:
shalomc earned 125 total points
ID: 12097028
try the following CL:

pgm
strpco
STRPCCMD PCCMD('C:\PROGRA~1\INTERN~1\iexplore.exe http://www.yahoo.com/')
endpgm

ShalomC
0
 
LVL 3

Expert Comment

by:Mind_nl
ID: 12101838
Yeah, thats the one I was talking about...
0
 

Expert Comment

by:mlaman
ID: 12105379
shalomc has the correct syntax:

in your cl program
(1)  STRPCO (this will start the pc organizer, you might have to monitor for and IWS0000 message if it is already started to avoid an informational message)
(2)  STRPCCMD (this will run the pc command on the local pc)

There is one other way that is much easier, especially if you are on a more recent version of client access...

From the pull down window, select Edit, Preferences, Hotspots...

You will see an option called 'Execute URL'  if this option is selected and the green screen is showing a web address (such as http://www.yahoo.com), all the user has to do it double click on the screen where the text is and client access will automatically open up a browser and go to the url.  It sounds like this might be your easiest bet especially if the users are already seeing the url on the green screen.

The optional 3-D buttons parameter will make the link look like a Windows GUI based link...even cooler and more intuative.

Hope that helps, we use the STRPCCMD all the time here to execute PC jobs.

</mitchel>
0
 
LVL 1

Expert Comment

by:SuperCCA
ID: 12158225
Hopefully the URL is present on your screen. If it is other information yoiu need to lift from your green screen window then you need to work either with EHLLAPI or HACL. You say you are a AS400 novice but if you have reasonable VB or C++ skills these interfaces are OK. Let me know if you need more or if the previos respondents have already given you what you need.

Cheers
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
We asked our MSP customer base what their favorite tools were and how they help them serve clients. We focused our questions on favorite tools in the following categories: >PSA tools >RMM tools >Alert management tools >Communication tools and Mo…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question