Web browser - Emply Alert window

Hi Forum
I have my interent working (solaris 10)except when I start Mozilla in both CDE and Gnome a blank Alert window comes up. When I close the window nothing happens.
When Im using the file explorer in Gnome and I type in a web address, the same window comes up.
Anyone have this same problem or know why its not happy?
Thanks
Brian

you can open browsers new window using jdic...
unfortunately Desktop.browse() doesnt allow to do that, but we can do that another way:
        String urlToOpen = "http://forum.java.sun.com/thread.jspa?threadID=5236723";
        BrowserService browserService = (BrowserService) ServiceManager.getService(ServiceManager.BROWSER_SERVICE);
        try {
            // exactly "_blank" allow to open necessary url in a new window :)
            browserService.show(new URL(urlToOpen), "_blank");
        } catch (LaunchFailedException e) {
            e.printStackTrace();
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }

Similar Messages

  • Will the firefox web browser run on windows 2000?

    I'm new to firefox and have one question.
    Will the firefox web browser run on windows 2000?
    System details: Win 2000, Version 5, SP 4. X86 @ 930MHz.
    Will download and try. Thank you for your help.

    Firefox should run on windows 2000, what are the system specs?
    Let me know if it doesn't.

  • How to open a web browser from an windows phone app

    Hi everyone,
    I am pretty new to Windows Phone 7, and now what I am trying to do is to create a simple app. When a user click to start this app, a browser will open and show the content of a webpage from a specific address.
    I tried to use a webbrowser object, but it seems like that doesn't sport cookies. So I need my app to open a real web browser (maybe IE mobile) to do the job.
    Thank you.

    copying from stackoverflow: "If you want to embed a browser window inside your application then use  the WebBrowser control.  Add an instance of the WebBrowser control to  your form then you can reference it in code using the name you
    give  it.  (Default name is "webBrowser1")"
    Microsoft MVP J# 2004-2010, Borland Spirit of Delphi 2001

  • Visual Studio 2013. Viewing a PDF file via the Web Browser control in Windows 8.1

    I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate() command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and
    XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
    Thanks in advance.
    Mike Saunders

    Hi Mike,
    It seems that we could use Internet Explorer to open a local .PDF file if it has the Adobe Reader. I doubt that the web control would be related to it. Like the MVP's suggset in the following thread, maybe it would be related
    to certain plug-in tools in your side like the adober reader.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/a717117e-41ae-4775-9c28-d5a1042b396e/pdf-is-not-opening-in-web-browser-control-in-vbnet?forum=vbgeneral
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "Cannot use adobe reader to view pdf in your web browser" error in Windows 7 and Acrobat pro 8.1.7

    I get the error "Cannot use adobe reader to view pdf in your web browser.  Reader will now exit.  Please exit your browser and try again" in Windows 7 x32 and Windows 7 x64 with Acrobat pro 8.1.7.  This happens when trying to open  a PDF file in Internet explorer 8.0.760 or when I open a PDF in Quickbooks 2008.  If I answer ok or cancel the file opens normally.  If I open acrobat 8 first then the pdf files open as expected.  I also tried a copy of Acrobat reader with no difference in the outcome.  Since this happens on two different computers one fresh copy of windows 7 x64 the other an upgrade to windows 7 x32 and they used to work before the change to windows 7, I assume there is some kind of incompatibility with windows 7 and acrobat.  Is this a known issue and will it be fixed in an update to acrobat in the near future?

    tvandersluijs - I'm sorry if that screwed up your machine however:
    1. What version of Adobe Reader are you using because as you can see the registry entry is for Adobe Reader 9, if ur using Adobe Reader 8 then u need to specify ur version as PAllens entry suggested - "E.g. "C:\Program files\Adobe\Acrobat [version]\Reader\AcroRd32.exe""
    2. I've used this solution significantly because I have come across this specific issue for multiple users.
    3. All the registry entry does is tell Windows what program to use by default to open/view PDF documents.
    My intention wasn't to screw up ur machine or anybody elses as I said I've used this solution many times however what I've should gave is the disclaimer to backup ur registry before u make mods so u can revert back in case. Also the ony other thing I can think of is that this solution was for Windows XP using registry editior 5, I'm noticing that the title of this thread is Windows 7.

  • Open a URL in default web browser's new window

    HI
    As i have posted a question in my previous post
    http://forum.java.sun.com/thread.jspa?threadID=5235957&tstart=200
    I have formulate a code for that as follows :->
    String url= "http://www.google.com";
    String os = System.getProperty("os.name").toLowerCase();
            Runtime rt = Runtime.getRuntime();
            try{
                   if (os.indexOf( "wie" ) >= 0) {
                                        // this doesn't support showing urls in the form of "page.html#nameLink"
                rt.exec( "rundll32 url.dll,FileProtocolHandler " + url);
                 } else if (os.indexOf( "mac" ) >= 0) {
                     rt.exec( "open " + url);
                 } else if (os.indexOf( "nix") >=0 || os.indexOf( "nux") >=0) {
                                  // Do a best guess on unix until we get a platform independent way
                                    // Build a list of browsers to try, in this order.
               String[] browsers = {"epiphany", "firefox", "mozilla", "konqueror",
                                              "netscape","opera","links","lynx"};
         // Build a command string which looks like "browser1 "url" || browser2 "url" ||..."
                    StringBuffer cmd = new StringBuffer();
                  for (int i=0; i<browsers.length; i++)
              cmd.append( (i==0  ? "" : " || " ) + browsers[i] +" \"" + url + "\" ");
                      rt.exec(new String[] { "sh", "-c", cmd.toString() });
                              }catch (IOException e){
                                 System.out.println("OS not compatible");
                                         }but it opens a page in already last opened window...and over writes it ....
    what i required to open it in a new window of the web browser
    so please suggest me the way to do it....
    Thanks
    vivek
    .

    you can open browsers new window using jdic...
    unfortunately Desktop.browse() doesnt allow to do that, but we can do that another way:
            String urlToOpen = "http://forum.java.sun.com/thread.jspa?threadID=5236723";
            BrowserService browserService = (BrowserService) ServiceManager.getService(ServiceManager.BROWSER_SERVICE);
            try {
                // exactly "_blank" allow to open necessary url in a new window :)
                browserService.show(new URL(urlToOpen), "_blank");
            } catch (LaunchFailedException e) {
                e.printStackTrace();
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }

  • RegisterHotKey(....) to disable hotkeys such as ALT+F4 is not working in C# Web Browser control

    Disabling hot keys like "ALT+F4" using register RegisterHotKey(..) function and wndproc(..) function in c# windows application is not working as expected in few cases. Below is the description.
    I am using C# Web Browser control in windows application to display Web Pages. We are disabling hot keys like ALT+F4 by calling the method RegisterHotKey(..) and capture the hot key message in Wndproc(..) function. Initially This is working as expected
    normally.
    But as part of new requirement, we need to set the "title of Web browser page" to its parent class(Win form) text property. when we are assigning text property of winform using below code, the hot keys could not be disabled.
    this.Text = webBrowserCustom.DocumentTitle; //this keyword refers to WinForm which loads web browser control
    If webBrowserCustom.DocumentTitle is empty then this.text is set to Empty string. In such case the hot keys are not getting disabled.
    I am not sure what is the relation between text property of winform and hot keys disabling.
    Could you please let us know why hot keys are not getting disabled when we setting empty string to Winform(which is loading Web Browser control) text property.?

    Hi,
    How did you use RegisterHotKey and winproc function in your project, could you please post the code here so that we can reproduce the problem firstly?
    If you just want to prevent the user from closing the form, you could register Form_Closing event handler, and cancel the closing behavior by the user. 
    private void Form1_FormClosing(object sender, FormClosingEventArgs e)
    e.Cancel = (e.CloseReason == CloseReason.UserClosing);
    private void btnCloseForm_Click(object sender, EventArgs e)
    this.FormClosing -= new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
    this.Close();
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Open word document in web browser

    i need to open the word document using activex web browser. just like windows 7 shows the preview panel.
    any body know this?
    Regards,
    Balaji DP

    Hi Rick,
    Did this issue occur with all the files?
    If yes, I recommend to verify the things below:
    Check if the Office Web Apps feature is activated on the site collection.
    Check if the Office Web Apps service applications and proxies have been created.
    Check if the Office Web Apps service applications and proxies are associated with the proxy group of the Web application that the site collection belongs to.
    Check if the service account permissions for the Web application and the Office Web Apps services are appropriate.
    More references:
    http://technet.microsoft.com/en-us/library/hh269604(v=office.14).aspx#bkmk_CannotViewInBrow
    http://social.technet.microsoft.com/wiki/contents/articles/21739.sharepoint-2010-word-web-app-cannot-open-this-document-for-viewing-because-of-an-unexpected-error.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Close Web Browser Window Button.

    Is there a way to create a button that users can click to close the web browser window?  Is it possible to do it through javascript embeded on the button action?
    Thank you.

    Hi Eric
    As I said earlier. Play with JavaScript all you like. Good luck in finding a JavaScript method that will work 100% of the time. I've very doubtful you will.
    The simplest test of JavaScript is the Alert, which you have tried. Often testing JavaScript will fail when testing locally. Sometimes it's because the Flash Security is blocking things. To fix that, click here and follow the instructions.
    As for the slide, it all depends on your Captivate settings. If you want it blanked you can insert an image or something that would cover the background. Nav bar is another story. Probably just have to live with it that way or turn it off if you don't wish to see it. Or maybe insert a caption or image that indicates the movie has finished and to please close the window (since it didn't close automatically).
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • I recently purchased an older model computer with Microsoft Me from 2000. It doesn't have a web browser and I would like to download Firefox. Where do I find the download compatible with Windows Me and how do I download it?

    I have looked in your web site product downloads and I am unable to find a web browser download that is compatible with Windows Me from 2000. What am I missing? Is there a web browser download that is even compatible? It is just a second computer for my grandsons to use and do homework on, but I am unable to get up the internet.

    Firefox 2.0.0.20 is the last ever version of Firefox for Win98 / SE / ME.
    Get it from here:
    ftp://ftp.mozilla.org/pub/firefox/releases/2.0.0.20/win32/en-US/

  • I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with. with a

    I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with.

    I suspect if you're trying to open a file in 08 that's been opened in 09 the file has been updated to 09 and will not open in 08.

  • Getting out of memory exception while loading images in web browser control one by one in windows phone 8 silverlight application?

    Hi, 
    I am developing a windows phone 8 silver light application . 
    In my app I am displaying images in web browser control one by one , those images are the web links , the problem is after displaying 2 to 3 images I am getting out of memory exception .
    I searched for this exception how to over come , everybody are saying memory profiling ,..etc but really I dont know how to release the memory and how to clear the memory .
    In some sites they are adding this
    <FunctionalCapabilities>
    <FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM"/>
    </FunctionalCapabilities>
    by doing this am I free from out of memory exception?
    Any help ,
    Thanks...
    Suresh.M

    string HtmlString = "<!DOCTYPE html><html><head><meta name='viewport' content='width=device-width,initial-scale=1.0, user-scalable=yes' /></head>";
    HtmlString = HtmlString + "<body>";
    HtmlString = HtmlString + "<img src=" + source +" />";
    HtmlString = HtmlString + "</body></html>";
    innerpagebrowser.NavigateToString(HtmlString);
    that image source is the web link for example www.sss.com/files/xxx/123.jpg .
    Note this link is not real this is sample and image is of size 2071X3097
    Suresh.M

  • Why cant i download itunes on my windows 7 pc? i used to have it once but it was not updated for a while and got deleted...i have tried to download it on other web browser but all i got was "thanks for downloaing itunes" and nothing happened

    why cant i download itunes on my windows 7 pc? i used to have itunes on my pc once but it was not uploded for a while and got deleted...and now i have tried to download it and all i got was "thanks for download itunes"...after that i have tired to dwnload it from another web browser and ive got the same thing.....!!

    Perhaps try downloading and saving a copy of the installer to a different PC. (If you're on a 32-bit Windows system, try to download on a different 32-bit Windows system.) Copy the iTunesSetup.exe installer to an external hard-drive, or a large-enough thumb drive or burn it to a CD-R. Carry the installer back to your PC, copy the installer to your hard drive. (Don't run the install from the ExHD, thumb or CD-R.) Start the install by doubleclicking the iTunesSetup.exe file.

  • Issues showing PDF files in web-browser (Windows 7 x64, 32-bit version of AdobeReader X)

    I'm not sure if this is the right way to share my experience, but at least I know Google will discover this thread eventually and maybe someone else will find what I have been looking for the past 3 hours
    I'm deploying the 32-bit based AdobeReader X (http://www.adobe.com/support/downloads/detail.jsp?ftpID=4950) to Windows7 32-bit and 64-bit based machines. This is a MSI deployement done through our Active Directory. Everything goes well - no errors. Except for the x64-based machines having trouble showing PDF-files in the web-browser.
    I used Adobe Customization Wizard X to customize our MSI installation - this showed out to be the solution once again.
    Common for the installation on Windows7 32-/64-bit were that the value in the registry database for HKCR\Software\Adobe\Acrobat\Exe (Default) was set to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe". This is valid for the 32-bit installation as Program Files is situated in C:\Program Files, but since it's a 32-bit edition of AdobeReader that I'm installing on the 64-bit based system as well, it's installed in C:\Program Files (x86) and the reference in the registry database to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" is therefore not valid - which explains why PDF files could not be displayed in the web browser. Changing the registry to "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" solved it. Now this is a manual solution which might be useful on 1-2 machines but on a bigger scale it's not the right way to do it.
    I could change it with a batch/vbs script but still this is only a solution of the symptom and not a solution to the core issue. I therefore focused on Adobe Customization Wizard X again.
    The problem was easily solved. I opened the MSI file, loaded the transform file that I've made previously. Went to Registry > HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe . I then changed the (Default) value from "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" to "[INSTALLDIR]Reader\AcroRd32.exe", generated the MST file and replaced my current one for distribution. Problem solved! :-) The entry in the registry now shows : "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" and PDF files are open without any issues.
    I hope someone can save a bit of time on this one.
    Best regards!
    Alex Mikkelsen

    I was able install and view the files in adobe reader 10.1.1 and in web browser window 7 64 bit machine.  But when I go to Edit-preferences-internet and  unchecking "display PDF in Browser" , I am not able to view the pdf files in ie 9 browser.  I have used this javscript to check for pdf version.
    Immediately after installing adobe--
    when I do adobe test in ie 9---https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html--  launches a test pdf file--Acro_Test.pdf
    After unchecking-- it stays in the  https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf
    Tried to go back to "display PDF in Browser"--it is showing it is checked(eventhough I did not check it)
    and in ie
    it stays in the https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf

  • PDF-in web browser - open link in new window

    I've done a lot of searching for JavaScript code to solve this: if a PDF is being viewed in a web browser, and the user clicks a link in that PDF, the default is to have the linked page replace the original. I would like it to open a new window in the browser. E.g., if there is a link in the PDF to abc.com, then when the user clicks that link, the original PDF stays open and a new window opens to abc.com. Any help?

    In the JavaScript for Acrobat API Reference look up the app.launchURL() method. The second parameter is a boolean value that describes whether or not you want the URL to open in a new window.

Maybe you are looking for