How to hide/visible external window
Hi,
I'm using Jdev 12c.
I have a calling BTF and it calls a called BTF (run as dialog : "true", Display type : external-window).
Now, I wanna hide/visible the calling BTF after showing called BTF
Could anybody have any ideas?
Thank you very much
Hi Timo,
Thanks for your replying.
Because of my requirement, my first place will call some windows at the same time. But your suggestion gives me some ideas
If you have any ideas for hiding external window, please let me know.
Thank you very much.
Thanh Hoang.
Similar Messages
-
How to hide items on Windows 8 File Explorer Ribbon
Scenario
This article describes how to hide items on the file explorer ribbon in Windows 8 and Windows 8.1.
Method
We can implement it via customizing the permission of the related registry keys.
Note: Before you make changes to a registry key or subkey, we recommend that you export, or make a backup copy, of the key or subkey.
Before you make changes to a registry key or subkey, we recommend that you
export, or make a backup copy, of the key or subkey.
Step 1:
Open
Registry Editor and locate to following registry key under which you can find the corresponding keys of the items on the File Explorer Ribbon.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\
In the following figure, it shows the Add a network location item on the file explorer ribbon, and the corresponding
registry key in Registry Editor.
Step 2:
Take ownership of the registry key
Note: You can take ownership
of a registry key if you are logged on as an administrator or if you have been specifically assigned the permission to take ownership of the registry key by the current owner.
Right-click on the registry key which you want to take ownership of,
and then select
Permissions... option.
Click on
Advanced button to grant special permissions in the key.
At the top to the right of the current
Owner, click on the Change link.
Enter
Administrator in the Enter the object name to select
box, and then click on Check Names.
Click on
OK twice to apply.
Step 3:
Change the permission of the registry key.
On
Permissions for the key name display dialog, click
Administrators in the Group or user names window, and then select the
Allow check box for
Full Control
option.
Click
Users in the Group or user names window, and then select the
Deny
check box for
Full Control
option.
Step 4:
Click on
Apply and OK to save the changes and the following figure shows the modified permissions and owner.
Step 5:
When you open File Explorer, the item you would like to hide disappears. For your information, the following is an example:
Item: Add a network location
Corresponding Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddNetworkLocation
For advanced users
You can also deploy script with Set-Acl which is a PowerShell command to take ownership and change permissions
of the keys. For your information, please refer to the following articles to learn more about this command:
Set-Aclhttp://technet.microsoft.com/en-us/library/hh849810.aspx
SET-ACL on registry key
http://blogs.technet.com/b/brad_rutkowski/archive/2008/09/29/set-acl-on-registry-key.aspx
Apply to
Windows 8
Windows 8.1
Welcome to your feedbacks.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.The reason they gave was it is possible for the file to stay open when done with the file. (not properly closing) As the driver would be accessing the file to retrieve the thumbnail.
The thing is a driver is nothing more than a program it self. Therefore it is capable of opening and closing a file and placing the thumbnail into the database for that folder. It then would be capable to verify if the thumbnail exists in that database. Since the driver only has to run when explorer is open in that folder's view, it really is not running that often.
The catch I can see it when both Illustrator and explorer are running at the same time. Which one should close the file? The solution would be a small app that verifies that both programs are running and has control of clean up when both have closed. The driver and Illustrator could also in theory check and see if the other is running, if it is do nothing if not then close the file.
So it really boils down to having the driver and Illustrator talking to each other. -
Hide visible command window when running cscript.exe
I'm using vbs wrappers when I'm installing applications with MDT because they offer me better control and logging capability. Currently when task sequencer executes application install with cscript.exe there is this visible command window. Is it possible
to completely hide it without big modifications to MDT?If you are using ZTIUtility.vbs then I recommend:
oUtility.RunWithConsoleLoggingAndHidden "cmd.exe /c echo Hello World!"
Keith Garner - Principal Consultant [owner] -
http://DeploymentLive.com -
How to hide the default windows inherit menu bar
Dear All,
I am using oracle Application server 10g with windows server 2003. with oracle 11g database.
When ever I am accessing the application from client machine through browser i am getting the windows inherit menu bar at the top of the working space of the form.
I want to hide that default menu bar from viewing the application users.
Please help.
Thank you in advance....actually vansul i have done this the default smart bar is removing by doing this
but i want to hide the black window bar which is displayed even if by removing
the default & smart bar. -
How to hide PNP selection windows and set default values for PNP.
Hi expert,
I am using HR logical database PNP, but I don't want to display selection windoes for running program on PNP, whereas I want to set default value for some selection items in the program. could you please tell me how to get those two targets?
Many Thanks,Hi
You have mentioned 2 things.
1. Don't want selection windows for running program for PNP - this can be achieved using the HR Report category - You can get more details on HR Report Category on
HR Report Category
2. I want to set default value for some selection items - This you need to achieve in initialization event of your program.
How you can get this can be explained by INITIALIZATION (SAP Library - ABAP Programming (BC-ABA))
Thanks,
Sreeram -
How to hide command prompt window when using system exec
Hello, I'm using the system exec VI to do some file transfers for a LabVIEW application. I'm worried that the black command prompt window with white scrolling text that pops up when system exec is called might frighten the non-tech savy users of this LabVIEW application. Is there a way to hide the command prompt window?
Solved!
Go to Solution.Wire a TRUE to the Run Minimized input.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
How to hide the main window menu ?
Hi, Im developing a Java app that has an horizontal menu bar,which has the option to exit the program . So I want to hide, or get rid of the main window menu bar, the one that has the close, minimize and maximize buttons..is it possible ?
Thanks in advance :)from java.awt.Frame api
A frame may have its native decorations (i.e. Frame and Titlebar)
turned off with setUndecorated. This can only be done while the
frame is not displayable. -
How to Hide/Rename DIAdem windows
Hi There,
I am using DIAdem 2011, I would like to hide few windows/Panel in DIAdem like the Navigator and Script and Rename other Windows/Panel (Reports and Analysis). I looked into the Bar manager help but could not get much information for my requirement.
Can someone quickly help me out.
Thanks in Advance
PriaHi Pria,
Here is a script that does something very close to what you requested, renaming the ANALYSIS and REPORT panels and hiding the rest. The icons used are in the "...\DIAdem 2011\Resource\Barsource\" folder, but you can provide a full path to your customer icon instead of just the icon name in that (default) folder if you prefer:
Set ActivePanels = BarManager.Bars("DIAPanels").UsedActionObjs
Call ActivePanels.Remove("DIAPanelNAVIGATOR")
Call ActivePanels.Remove("DIAPanelVIEW")
Call ActivePanels.Remove("DIAPanelSCRIPT")
Set AnalPanel = ActivePanels("DIAPanelANALYSIS")
AnalPanel.Caption = "Seat"
AnalPanel.Picture = "ANADlgChnDRICalc.ico"
Set AnalPanel = ActivePanels("DIAPanelREPORT")
AnalPanel.Caption = "Head"
AnalPanel.Picture = "ANADlgChnHICCalc.ico"
Call WndShow("SHELL")
You can disable existing panels and add new panels and also set the script code that will run when any panel is clicked on.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
DIAdem Seat Panel.png 35 KB
DIAdem Head Panel.png 41 KB -
How to hide report server windows while sending report directlly to printer
Hi Gurus,
I am new in adf and using jdev 11.1.2.3.
I am calling oracle report from adf application. if the destination type is preview then report open in new tab. And if destination type is printer report open in new tab displaying report server screen. i am sending url to new tab. i want if destination is printer then no tab to be open and url must be rendered (run) in background. Any idea or solution for this issueHi
I just want to share it with you people. I am able to parse the report server url in background now. Here is my sample code.
public void openUrlInBackground(String url) {
URL report;
try {
report = new URL(url);
BufferedReader in = new BufferedReader(new InputStreamReader(report.openStream()));
in.close();
catch(Exception e) {
JSFUtils.addFacesErrorMessage("Error while parsing report url:"+e.getMessage()); -
Create new external window and displays the viewdata as pdf?
Hi,
I have developped an application that will display some textviews and one table that displays 5 records,
for this I want display as new External window and dispay in PDF the data what we have in view.
advise me how to approach for external window and diplay as PDF.
Thanks,
Lohi.
Message was edited by:
Lohitha MThanks for your reply,
Here my problem is now I am getting the table values as output in the Jsp.
In Jsp I want to create Button when I click that button I need to display an external window and display the table data what ever is available that will display new external pdf.
I have developped the applcation by using of the three files table.java,tablebean.java,table.jsp and in portalapp.xml cretated the component.
Now how can I perform my action in that existed Jsp page and how to display extenal window i that how to generate the PDF.
I am in learning stage in this.
please elobarate with atleast some snippests.
Thanks,
Lohi.
Message was edited by:
Lohitha M -
Open View or Window in a external window (popup)
Hi experts!
I have the following issue:
- I know how to open a external window from a given URL, but my problem is that I want this new external window to open and show one of my own windows and I don't know how to get the window's URL. Any Idea???
Please help or redirect me to some doc or post. Thanks.
Osvaldo SilvaHi,
If you want the url of the another window in your WD Component. As per my knowledge you need to have a seperate application to be created for this window also.
For Example you have Window1 (View1 is embeded in this window) and Window2(View2 is embeded in this window). Now you need the url of the Window2.
So for this purpose you need to create two applications for this WD Component.
For example App1 (Created for Window1InterfaceView) and App2 (Created for Window2InterfaceView).
Now use this below code to open the Window2 URL in a sepearate window.
// Get name of deployable object this component belongs to
String deployableObjectName =
wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
Map urlParameters = new HashMap();
// If there are any application parameters you need to pass to App2 you can set those in urlParameters
// as urlParameters.put("key","value");
try {
// Get deployable object part of target application.
// Precondition: assume, that other application belongs to the same
// Web Dynpro Project (Deployable Object)
WDDeployableObjectPart deployableObjectPart =WDDeployableObject.getDeployableObjectPart(
deployableObjectName,"App2",WDDeployableObjectPartType.APPLICATION);
// Get target URL based on deployable object part and URL parameters
String urlToTargetApp =WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);
//Open this urlToTargetApp in external window.
IWDWindow window = wdComponentAPI.getWindowManager(.createNonModalExternalWindow(urlToTargetApp,"Window2");
window.show();
} catch (WDURLException e) {
messageMgr.reportException(e.getLocalizedMessage(), false);
} catch (WDDeploymentException ex) {
messageMgr.reportException(ex.getLocalizedMessage(), false);
Note:/Warning: We are opening another window using another WebDynpro application.
Here it creates a seperate WDComponent instacne. You can't access Window1(View1)'s existing context data in Window2(View2). The only way is you can pass some data using app/url parameters.
Apart from this as per my knowledge there is no other way to get the url for a Window.
Regards,
Charan -
hello
i want hide oc4j screen that runs along with forms. can i do it? my intention is to just hide the black screen. any idea pls...
thanks in advanceAndreas, I think he's asking how to hide the OC4J Windows Batch window that appears when you want to run a Web forms Application Server instance on your Windows platform in order to test your forms.
Here is a thread talking about starting it automatically when Windows is started:
Re: Forms 10g installed and running on Windows Vista
You can make it start minimized if you alter the OC4J shortcut properties, setting the Run property to "Minimized". That makes it appear minimized on the Windows Taskbar. I don't think you can have it running without appearing there. -
How lock or hide URL LOCATION in a external windows WDA
Hello guys...
I am traying to hide or block the URL which i am using in a external window. I have coded this:
call method lo_window_manager->create_external_window
exporting
url = lv_url
modal = abap_true
has_menubar = abap_false
is_resizable = abap_true
has_scrollbars = abap_true
has_statusbar = abap_false
has_toolbar = abap_false
has_location = abap_false
receiving
window = lo_window2.
*lo_window2->open( ).
But, firstly the MODAL parameter doesn't work with external windows (It's Obsolete) So I can't use it, because I have to forbid the navigation between windows. I tried to close the main windows before open URL but it doesn't work either.(Appear a waring that you window wants to be closed) so then I used that:
lo_windows->fire_exit_url_plg(
url = lv_url " string
lo_windows = wd_this->get_windows_ctr( ).
lo_windows->fire_exit_close_plg(
close_window = 'X' " wdy_boolean
That is Ok BUT I can't BLOCK the URL or even HIDE it. SOMEBODY give the light.!!!!! pleaseee..You are complexing with 2 problem with 2 options.
1. Blocking url on the external window
2. Closing the previous window.
1. parameter model is indeed obsolete, so only has location parameter would help you to block the URL and it will not work for the requirement 2.
2. When you use exit plug and navigate to new URL, your window would close but new window would not open with address bar blocked.
No solution is fitting for your both requirements.
Probably you have seen this example application WDR_TEST_EXIT_WITH_CLOSE
See if it fits in your case. -
How to Close external window?
Hi Experts,
1) For one of the development requirements, I am required to open my application in
external window. For the same, I have changed the property of the iView and page to
launch the iView in an external window and not to display in content area. Now, I am
able to display the application in a new window as per the requirement.
Now, I want to close this window from a button event on the screen, but can't find a way to close it.
If anyone's having an idea over it, that will be greatly appreciated???
2) Also, in another application, I am downloading data into excel sheet and the download
opens in a new window. Once the user clicks on the option (SAVE, OPEN, CLOSE),
the blank window should close which works well in IE 7 but in IE 6 the user says the blank
window is visible and they have to close it manually.
I am using the following code for this:
excelCSVFile = new FileInputStream(f);
IWDCachedWebResource cachedWebResource = null;
if (excelCSVFile!= null)
cachedWebResource = WDWebResource.getWebResource
excelCSVFile, WDWebResourceType.getWebResourceType(
"xls","application/ms-excel"));
cachedWebResource.setResourceName(fileName);
wdContext.currentVn_XL_SheetElement().setVa_Resource(cachedWebResource.getURL());
workbook.close();
* BEGIN: Open new window: download button
IWDWindow win = wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow
(cachedWebResource.getAbsoluteURL(),"Print Content",false);
win.setWindowSize(0,0);
win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
win.removeWindowFeature(WDWindowFeature.MENU_BAR);
win.removeWindowFeature(WDWindowFeature.TOOL_BAR);
win.removeWindowFeature(WDWindowFeature.STATUS_BAR);
win.setWindowPosition(200,200);
win.show();
* END: Open new window: download button
For this if I try win.destroy() or win.close() or win.hide(), after win.show
this doesn't shows the download options at all (quite obviously ).
I want to close this blank window automaticaaly once the user selects
any option for download. Is there any solution to this or am I doing something wrong?
Helpful answers will be appreciated. Thanks in advance.
Regards,
Gaurav BhardwajHi Gaurav,
If the external window contains the view of the wd component then only you can close the window.
Try like this:
Create a context attribute of IWDWindow in the calling view - component - called view and map them in all controllers.
//set the context attribute in calling view
win.show();
wdContext.currentContextelement().setWinref(win);
* END: Open new window: download button
In onActionxxx event of the downlload button
// close the window
wdContext.currentContextelement().getWinref().destroyInstance();
Regards,
Siva -
HOW TO HIDE MDI WINDOW INFORMS 9I WHEN THEY RUN IN WEB BROWSER
Hi. Will any body tell me how to hide the default MDI window title in Forms 9i when it run in Web Browser. I am using the "Look and feel" property as "Generic" in Formsweb.cfg file. I tried the RESIZE,POSITION,MINIMIZE,VISIBLE FALSE properties of SET_WINDOW_PROPERTY FUNCTION, But the horizontal Bar at the top displaying "Window" on it, is displayed. OR some time form is not displayed at all. So plz help me. This kindness of any one will be appriciated.
Regards
Inayat QaziHi Inayat,
To remove the ORACLE icon, change the line "logo=" to "logo=x" in file formsweb.cfg.
I am not sure if it is possible to remove the standard-menu (horizontal bar with word Window, as you describe it), because as far as I know it is inheritance for the Windows OS. In other words, removing the standard menu can only be achieved if you run on another OS.
Kind regards.
Maybe you are looking for
-
Smart Playlist - how to enter "or"
I wanna create a smart playlist with the following logic: Play count = 0 and Podcast is ture and (album = CNN or "BBC Radio") But i found i cannot make the smart playlist understand "or". Anyone have idea? Thanks.
-
New 6301 Wallet & Screen saver
I have just beeen upgraded from a 62301i, which I loved to a 6301. I'm afraid that my problems are a lot less'techy' than the ones you're used to and I hope someone can help. 1. My old phone had a wallet with a pin number, where I could store secure
-
Reg: HR Certification Exam
Hi Friends, Im going to give HRM certification exam in 15 days. Can you guide me to complete successfully. If possible, Please send me certification material / links. It helps alot. Please guide me. Thanks & Regards. Sam
-
Built in Camera is not working
when i start photo booth or any other program, the green led turns on, but there's no image on the screen, just go black with a white circle turning around i've tried the SMC restart but isnt working 21.5" iMac 10.8.2 OS just out of the box
-
Call a procedure that returns a refcursor, use it in another proc's sql?
I have a procedure that returns a refcursor; how can I include that refcursor in a sql statement that's in another procedure, or view etc? This is the kind of foolery I've tried so far (myproc1 returns a ref cursor): create or replace procedure mypro