Home » Developer & Programmer » Forms » How to call a URL from a BUTTON in Forms 6i ?
How to call a URL from a BUTTON in Forms 6i ? [message #83528] Wed, 22 October 2003 05:58 Go to next message
amit sharma
Messages: 9
Registered: October 2002
Junior Member
Hi,

I am using Oracle Forms 6i but it is not deployed on the web.
I need to call a URL in WHEN-BUTTON-PRESSED event of the button.

From the docs of 6i, I get the below.

BEGIN
Web.Show_Document(‘http://www.abc.com’, ‘_self’);
END;

And for this, the Restriction is that this can only be used from within a form run from the Web and though i am using Form 6i but it is not at all deployed on the WEB so i

can't use this.

Please let me know if you have any other method of calling a URL in WHEN-BUTTON-PRESED event of the button. Kindly reply ASAP

Regards,
Amit Sharma
Re: How to call a URL from a BUTTON in Forms 6i ? [message #83533 is a reply to message #83528] Thu, 23 October 2003 00:15 Go to previous messageGo to next message
rama krishna
Messages: 97
Registered: December 2001
Member
Use Host Built-in to open the IE or Netscape on the client machine and send the URL as parameter...

Cheers
Ram
Re: How to call a URL from a BUTTON in Forms 6i ? [message #83557 is a reply to message #83533] Mon, 27 October 2003 08:52 Go to previous messageGo to next message
amit sharma
Messages: 9
Registered: October 2002
Junior Member
Hi ram,

Can you please elaborate more on this-
The scenario is something like this-

on pressing button - i want to call say www.yahoo.com so i used-
Host('cmd'||'cd C:Program FilesInternet Explorer'||'IEXPLORE.EXE'||'http://www.yahoo.com');

But this simply invokes command prompt with the current working directory in which my Form is residing.

Kindly give the full method of invokong the command prompt and then Internet explorer/netscape with a parameter say 'www.yahoo.com'.

plz reply ASAP.

Regards,
Amit Sharma
Re: How to call a URL from a BUTTON in Forms 6i ? [message #83558 is a reply to message #83533] Mon, 27 October 2003 08:54 Go to previous messageGo to next message
amit sharma
Messages: 9
Registered: October 2002
Junior Member
Hi ,
Can you please elaborate more on this-
The scenario is something like this-

on pressing button - i want to call say www.yahoo.com so i used-
Host('cmd'||'cd C:Program FilesInternet Explorer'||'IEXPLORE.EXE'||'http://www.yahoo.com');

But this simply invokes command prompt with the current working directory in which my Form is residing.

Kindly give the full method of invokong the command prompt and then Internet explorer/netscape with a parameter say 'www.yahoo.com'.

plz reply ASAP.

Regards,
Amit Sharma
Hi ram,
Can you please elaborate more on this-
The scenario is something like this-

on pressing button - i want to call say www.yahoo.com so i used-
Host('cmd'||'cd C:Program FilesInternet Explorer'||'IEXPLORE.EXE'||'http://www.yahoo.com');

But this simply invokes command prompt with the current working directory in which my Form is residing.

Kindly give the full method of invokong the command prompt and then Internet explorer/netscape with a parameter say 'www.yahoo.com'.

plz reply ASAP.

Regards,
Amit Sharma
Re: How to call a URL from a BUTTON in Forms 6i ? [message #83572 is a reply to message #83557] Thu, 30 October 2003 06:40 Go to previous message
here ya go
Messages: 1
Registered: October 2003
Junior Member
Take out that first part:

Host('C:Program FilesInternet Explorer'||'IEXPLORE.EXE'||'http://www.yahoo.com');

You may also want to look into syncronous vs asyncronous also.
Previous Topic: CURRENT RECORD PROBLEM
Next Topic: Oracle 9i + 6i
Goto Forum:
  


Current Time: Fri Apr 19 00:17:49 CDT 2024