How can I bring a process to the foreground?
I work in a manufacturing facility, and I'm working on developing a system to send process related notifications to assembly line workers. Events in an Oracle database trigger the display and use the UTL_TCP package to send a message containing a URL to the target PC. The PC has a small Java program listening for the message, which then opens the URL in Internet Explorer in kiosk mode using:
Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore.exe -k \"" + request + "\"");where "request" is a variable that contains the URL.
The problem I'm having is that when other applications are running, the IE window often opens behind them. I need to be able to force it to be on top of all other windows. How can I do this? I'm also open to suggestions for other approaches that don't involve using IE.
Thanks,
Shaylan
Edited by: Shaylan on Mar 11, 2013 6:25 AM
Edited by: Shaylan on Mar 11, 2013 6:26 AM
Thanks for the suggestion. That does indeed cause the browser to open on top of other applications, but it still leaves me with a few different issues. I want the displayed page to take up the entire screen, hence launching IE in kiosk mode, which I don't see a way to do through the Desktop class. I also need to be able to close the browser window when I want the message to go away. In the current implementation, I'm doing this by calling the destroy() method of the Process returned from Runtime.exec().
Similar Messages
-
When importing songs of a same album but different artist iTunes will separate the artists. How can I bring all together in the same album?
Generally setting a common Album Artist will fix things. For deeper problems see Grouping tracks into albums.
tt2 -
How can I bring an UIAnnotationView to the front of a MKMapView ?
Hello!
My MkMapView has a layer with special buttons. Hence, my MapView has some UIAnnotationViews. The problem: The UIAnnotationViews are not at the top-layer, but under the buttonLayer of my MapView.
how can I fix this?
thx
alexcould you create a demo project that show you problem ,and upload your project,so i can help.by the way,English is not my mother-language
-
How can I bring my photo library from my desktop or external HDrive into aperture itself
Good morning,
How can I bring my photolibrary from the desctop or external harddrive into Aperture itself?Marcus,
is the Aperture version on your new Mac Aperture 3.5.1?
the contents of aperture on to a external drive
Is that your old Aperture library? Does it look like this?
If it is an Aperture library, that you copied to your Desktop, click it to open it in Aperture. Aperture should update/upgrade it to your current Aperture version. What happens, when you try?
If it is not an Aperture library, but a folder of referenced images files, search for your old Aperture library and transfer that to your new mac.
Do you already have an Aperture library on your new mac and want to import/ merge your old library into it? Then You first need to let Aperture upgrade the old library to your current Aperture version, before you can import and merge the library with "File > Import > LIbrary".
Could you perhaps post a screen capture of what you are now having on your Desktop? And any exact error messages that you might get, when you are trying to open your Aperture library? -
How can I bring in 2 photos to use in Creative Cloud to work on? I would like one as a background and the other I would like to cut something out and put it in the background picture. Help Please!
Creative Cloud is not a program, it is a marketing and delivery process
http://www.adobe.com/products/creativecloud/faq.html
http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
Cloud Getting Started https://helpx.adobe.com/creative-cloud.html
So... what is the name of the program you are using? -
I just bought a iTunes card and its not accepting it. It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work. How can I expedite this process?
Has it been 24 hours?
I take it this was a gift card. iTunes Store: Invalid, Inactive, or Illegible codes http://support.apple.com/kb/TS1292 - gift cards
I don't know if this provides an alternative means: https://expresslane.apple.com ; select 'iTunes' in the first column; 'iTunes Store' in the second column
If you are really desperate you could buy the app yourself, then request reimbursement. -
Acrobat 9 standard. The adobe inons on my desktop turned white, how can I bring back the normal pdf icons?
Please don't post the same question mutliple times! I have deleted your duplicate post.
Have you tried a System Restore to a time before the change occurred? -
PS CS6 on the mac pro: the bruch in hard and soft is the circle of the bruch bigger than then the effect. How can i bring it to normale?
Go to System Preferences>Accessibility>Display and the set the Cursor Size to Normal
-
How can I pass environment variables to the child process?
How can I pass environment variables to the child process? This is what I tried and it didn't work.
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("The value of custom.property is : " + System.getProperty("custom.property"));
}and the result is:
The value of custom.property is : nullComplete test:
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-Dcustom.property=my property value", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my environment value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("Property value of custom.property is : " + System.getProperty("custom.property"));
System.out.println("Environment value of custom.property is : " + System.getenv("custom.property"));
} -
How Can I Bring Up the Download Window Again?
Hi,
I downloaded an update for a program. I want to burn it to a CD for safety. How can I bring the downloading window again to find it? Just looking in the download folder doesn't help. I need to see the downloading window to see the last thing downloaded. Or is there another way to search for the downloads where it has them listed by date downloaded? I'm using Leopard 10.5.8 Thanks in advance.
-THi again,
I just found the answer, here: http://discussions.apple.com/thread.jspa?messageID=10800893�
So this is answered! -
I've updated my iPad mini to iOS 7.0.2 and now AirPlay disappeared across the hole system. How can i bring it back?
Hi Simon,
If you are having issues with AirPlay, you may find the following article helpful:
iOS: Troubleshooting AirPlay and AirPlay Mirroring
http://support.apple.com/kb/TS4215
Regards,
- Brenden -
i have an ipad mini, how can i bring in to the ical, events from my yahoo and google calendars
You might ask at the iPad forum, the forum here is for developers of software.
https://discussions.apple.com/community/ipad/using_ipad -
i'm not sure what i have done...either i reinstalled forefox or updated it before and then..i didn't find any of my bookmarks..i restored already the oldest one of the last ten packups...but i couldn't find any of them too..i don't know how this could happen with firefox..plz tell me how can i bring them back?..
Hi youssef8888, you might also want to search your entire C drive to see whether your bookmark backup files might be in an unexpected location. I would try this pattern:
bookmarks-2013*.*
To make sure your search checks for hidden files and folders, see this article from Microsoft: [http://windows.microsoft.com/en-us/windows/show-hidden-files]. -
How can I bring back the default setting in photshop elements 4.0
HP Pavilion desktop M7240UK
Monitor HP vs19 LCD
Windows XP
Explorer 8
Service Pack 3
Photoshop Elements 4.0
Hi
How can I bring back the default setting in Photoshop elements 4.0
Thank You
York44In the editor? Quit the editor , then restart it while holding down Ctrl+Alt+Shift. Keep holding the keys till you see a window asking if you want to delete the settings file. You do.
-
How can I bring the recordset count inside the same recordset?
I have a query inside a procedure where I'm paging the results.
I dont know how to bring the total results inside the recordset.
How can I bring the recordset count inside the same recordset?
SELECT *
FROM ( select a.*, rownum rnum
FROM (SELECT
FROM table
ORDER BY id DESC) a
WHERE rownum <= pg*50 )
WHERE rnum > (pg-1)*50My query is much more comples, so that is why I'm using the other script.
When I included the "COUNT(*) OVER() tot_cnt AS total" it didn't worked:
ORA-00904: "TOT_CNT": invalid identifier
What is the tot_cnt?
SELECT *
FROM (SELECT a.*, rownum rnum
FROM (SELECT
ed_fotos.id AS COD_FOTO,
ed_fotos.arquivo AS NOM_ARQUIVO,
ed_areas.nome AS NOM_REDACAO,
COUNT(*) OVER() tot_cnt AS total
FROM edt.ed_fotos ed_fotos
INNER JOIN edt.ed_volumes ed_volumes ON ed_volumes.id = ed_fotos.volume_id
INNER JOIN edt.ed_caminhos path_alta ON path_alta.id = ed_volumes.caminho1
INNER JOIN edt.ed_caminhos path_baixa ON path_baixa.id = ed_volumes.caminho2
INNER JOIN edt.ed_areas ed_areas ON ed_areas.id = ed_fotos.redacao_id
ORDER BY id DESC) a
WHERE rownum <= 200 )
WHERE rnum >= 100
Maybe you are looking for
-
My music is all in a folder in D drive and the folder is called I tunes Music. When I open the I Tunes program it gives me the option to go to library and then to add files. I want to add the entire folder as there are too many individual files(son
-
Photoshop cs6 for mac os x 10.6.8 with problem
I downloaded photoshop cs6 this adobe.com to my mac, and when I open says no and open 'compatible with this type of mac. because this appearing this? My mac is ' mac os x 10.6.8. how do I download it compatible with my mac?
-
Problem with language showing in addons
I have the following problem: When I open the addons in my mozilla I see odd characters totally unreadable in the tab where I download more addons. I can send a screenshot of the problem if my problem is not understood. Thank u.
-
How can i work jsp with ms dos
i want to send a form to particular person ,where that particular person have selected in the form,if the particular person has logged-in in the Window NT4.0, then he should receive the message like, u hava a msg from so and so person etc. that messa
-
When I create an xml document and print it to a string I find that I can only get 900 characters at a time from the output string (using substring) even though its length is reported as > 900 Running on Oracle 8.1.7