Home » Developer & Programmer » Forms » How to close a window opened by open_window
icon6.gif  How to close a window opened by open_window [message #200090] Fri, 27 October 2006 17:57 Go to next message
MDIAZ
Messages: 3
Registered: October 2006
Junior Member
Hi.

My form display an image using "set_custom_property('CTRL.JSWINDOWPJC',1,'OPEN_WINDOW','http://asrapp:7778/forms/recdocs/images/2006/APR/3/16601583.001')". The "set_custom_property('CTRL.JSWINDOWPJC',1,'CLOSE_WINDOW','')" doesn't close the browser. Am I missing something? The CTRL.JSWINDOWPJC is bean area and implementation class is oracle.forms.samples.JScriptWindowPJC.

Thanks for you help.
Myrna

Re: How to close a window opened by open_window [message #200235 is a reply to message #200090] Sun, 29 October 2006 19:13 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I googled 'OPEN_WINDOW set_custom_property' and found http://www.orablogs.com/fnimphius/archives/001117.html

Does this help?

David
Re: How to close a window opened by open_window [message #200388 is a reply to message #200235] Mon, 30 October 2006 11:46 Go to previous messageGo to next message
MDIAZ
Messages: 3
Registered: October 2006
Junior Member
Hi, David.

Thanks for the prompt reply. I tried the java plugin from www.orablogs.com. I use "OPEN_WINDOW" and it works but it does not close the window with the CLOSE_WINDOW. The OPEN_WINDOW open the image in Microsoft Office Document Imaging. I'm hoping that I can find a java code that will close any document opened by Microsoft Office Document Imaging application.

Thank you again.
Myrna
Re: How to close a window opened by open_window [message #200423 is a reply to message #200388] Mon, 30 October 2006 19:50 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Off the top of my head, I think you need to do a 'find' of some kind, find the process number, and then close that process.

If you don't find an answer in the next few days, please post a follow-up entry on this thread.

David
Re: How to close a window opened by open_window [message #200641 is a reply to message #200423] Tue, 31 October 2006 11:19 Go to previous messageGo to next message
MDIAZ
Messages: 3
Registered: October 2006
Junior Member
Hi, David.

The form is opening the document using web.show_document and executing host command "cmd.exe" script to close any window running Microsoft Office Document Imaging. The form executes the script to close the window before displaying next page or previous page or when the user exits from form. Everytime the form executes the host command, it displays the "cmd.exe" window which is very distracting to the users. Is there any way not to display the "cmd.exe" window when the form executing the host command.

Thanks again.

Myrna
Re: How to close a window opened by open_window [message #200666 is a reply to message #200641] Tue, 31 October 2006 17:29 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please check your documentation for the 'host' command. Have you tried the 'NO_SCREEN' option?

David
Previous Topic: Oracle Forms 6i (BUG)
Next Topic: Orcale 10G forms Automation
Goto Forum:
  


Current Time: Fri Sep 20 13:35:39 CDT 2024