hyperlink [message #326095] |
Tue, 10 June 2008 03:11 |
dillango
Messages: 145 Registered: January 2008
|
Senior Member |
|
|
Dear All,
I am using Forms 6i.
My requirement is, when I click the "pushbutton", It should open Internet explorer and open a specific site say for example www.yahoo.com
How to achieve this? what code I have to write in WHEN-BUTTON-PRESSED Trigger?
Before writing this, I searched various options like "hyperlink", "href" etc.. but I did not get required details.
Can anyone suggest please?
Ilango
|
|
|
Re: hyperlink [message #326124 is a reply to message #326095] |
Tue, 10 June 2008 04:51 |
Martin Eysackers
Messages: 80 Registered: October 2005 Location: Belgium
|
Member |
|
|
it's in the help file under web.show_document
/*
** Built-in: WEB.SHOW_DOCUMENT
** Example: Display the specified URL in the target window.
*/
BEGIN
Web.Show_Document(‘http://www.yahoo.com’, ‘_self’);
END;
|
|
|
Re: hyperlink [message #326199 is a reply to message #326124] |
Tue, 10 June 2008 10:57 |
dillango
Messages: 145 Registered: January 2008
|
Senior Member |
|
|
Mr.Martin,
Thank you for your solution.
As I mentioned, I am using Forms version 6i. I think web.show_document may not work. However, I solved this problem using "Host" command.
Thank you once again.
Ilango
|
|
|
|
Re: hyperlink [message #326646 is a reply to message #326199] |
Thu, 12 June 2008 02:44 |
dillango
Messages: 145 Registered: January 2008
|
Senior Member |
|
|
Dear All,
I still yet find 100% solution. When I issue command, say for example Host('Iexplore www.google.com');, it is working fine but unless I close the browser, I am unable to open my other forms/reports attached in the menu (it is disabled).
Is there any other alternate I can do? ie. to minimize the browser and continue to execute other options in the menu.
Ilango
|
|
|
Re: hyperlink [message #335625 is a reply to message #326646] |
Wed, 23 July 2008 00:41 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Have you read the documentation on the 'host' command in the reference manual?
Have you played with 'no_prompt' and 'no_screen'?
David
|
|
|