Open file in internet expolorer

I have created a jbutton, and from this i want to open a file in internet exploror. ie, c:\test.html
how would i go about doing this

ok i have created it compiles fine, what i want to do is open a saved file in internet explorer. code used is
          JButton tViewButton = new JButton("VIEW");
          tViewButton.addActionListener
               new ActionListener()
                    public void actionPerformed(ActionEvent e)
                         try 
                              String searchStr = JOptionPane.showInputDialog("Please enter the path and file name of the saved file");
                              Runtime.getRuntime().exec("c:/program files/internet explorer/iexplore.exe" +searchStr);
                              JOptionPane.showMessageDialog(null,"Opened sucessfully",
                                   "Opened sucessfully",JOptionPane.INFORMATION_MESSAGE);
                         catch (IOException ex)
                              ex.printStackTrace();
               );

Similar Messages

  • I keep getting the same message when I try to open files on Internet.  Before viewing doc must agree

    I keep getting the same message when I try to open files on Internet.  Before viewing doc must agree to end license agreement & Quit & relauch browser. I've done this.over & over.  Now what?

    Test Screen Name wrote:
    When you launch Adobe Reader you should get the license agreement.
    - Do you get the license agreement?
    When you launch Adobe Reader you should NEVER get a message that it is already installed. That would mean you were trying to install it. NOT launch it.
    I agree.
    Installer:
    Application:
    If you're launching the first one... you're trying to reinstall it.

  • Will not open anymore, asking is I want to open file in Internet Explorer.

    I was upgrading my firefox to 5.0 and after that my comuter told me a had a virus threat. I pressed: to put the treat in the "vault" for further dicition, and it starded to remove the threat instead. When it was done and I tried to start firefox again it didn't work. I tried to download it again but it won't start it. It keeps asking me if I want to open the file in "Internet explorer". even if I go to "all progams" and click on it there it wont open. What can I do to make it work agan??? Do I have to delete it and reinstall everything??? The window I had open is still working but I cannot open another window. I really like firefox so I want to fix it!

    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.com/kb/Firefox+crashes
    If you have submitted Breakpad crash reports then post the IDs of one or more Breakpad crash reports (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)
    *https://support.mozilla.com/kb/Mozilla+Crash+Reporter
    *https://developer.mozilla.org/en/How_to_get_a_stacktrace_for_a_bug_report

  • Problem with 9.3 Reader when opening files from internet

    I keep receiving the message 'There is a problem with Adobe/Acrobat Reader.  Please exit Adobe Acrobat/Reader and try again' when trying to open come files on the internet.  I am able to open files from my hard drive and some files from the internet.  I have uninstalled and re-installed Reader, but get same result.  Any ideas?

    As I posted on Feb. 19 this is what works for me.  OS is Windows 7 64-bit, AdoveReader 9.3.1., IE8.
    Open Adobe Reader,
                go to edit menu,
                under Preferences
                go to Internet, uncheck "Display pdf in browser"
    The pdf files then open, but not in the browser
    or if you have Google tool bar installed:
    On the Google tool bar
                            click on the options icon (a wrench)
                            go to Tools
                            scroll down to the bottom
                            uncheck Translate
    Or uninstall the Google tool bar.
    Pdf files open without a problem in Firefox.
    All of these solutions are easy.
    Good luck,
    Too Green

  • Hyperlinks opening files in internet browser

    Hi,
    I'm going to get straight to the problem I seem to be enountering....
    I am running Adobe X 10.1.3.
    What we have on our system, is a load of documents, which get created in MS Word 2010.  In these documents are hyperlinks, to individual .pdf files which are stored on an always acessible network drive.
    I am aiming to print all my documents to .pdf versions (so that people can't accidentally edit them) and this will/should allow easy hyperlink navigation between linked files.
    However... If I open the index file in Adobe Reader, and click a hyperlink, it is automatically opened in Internet Explorer?? which really thwarts my whole plan.  The same index file opened in MS Word 2010, will (hyper)link to the file itself, opening it in Adobe Reader X.
    I have already googles this, and have checked my hyperlink 'type' by hovering in Adobe Reader X, it says "file://xxx/xxx/xx.pdf" so Word is not creating url-type hyperlinks...
    I don't understand why then these links are opening in IE...?
    Please advise.
    Thanks,
    Will

    ok, would you mind telling me what that is? I dont have acrobat (seems silly that you would need it for hyperlinks seeing as they are already registered in the word pdf exporter
    I am going to optimistically try to put them into word and see what happens, not expecting great things though.
    I am still a little confused about this, they hyperlinks are to files, I know they are... If I open them from the word .doc they will open the pdf in adobe reader.  Also, if I link to a folder (in the explorer/finder window) this link will open that folder in explorer using both the .doc and the .pdf to travel there.  This implies to me that it is hyperlinks to other pdfs which are getting corrupted for me, coming from pdfs.
    Just disproved myself as I wrote that, hyperlink to picture was opening too in IE when I accessed it from the pdf...
    So: MS Word is making nice hyperlinks, the the files, which open the file in it's native program (ie Pictures in win pic*fax viewer, pdfs in adobe reader etc)  However, when I export word doc to pdf, these hyperlinks are being changed to url-style hyperlinks...
    Any ideas? (and again, thanks for your input Test Screen Name, I have never forked out for Acrobat so don't knw the in's-and-out's of the program...

  • Opening file in internet explorer

    hi
    i have a html file which is in the same directory as the class file
    from which i have to call the file. i am using
    Runtime r=Runtime.getRuntime();
    Proces p=r.exec("path<internet explorer> path<file.htm>");
    but i want that the file to be executed without giving the absolute path
    i.e the class file and html file may reside in any drive and get executed.how to do that without giving absolute paths?

    In order to not affect other things, just open AR9 before you start IE8. You will likely get comments about AR and AA not being compatible and that is an issue you have to be careful with. Also, note that if you delete either, you will have to repair the other. They will work together, but issues like you are having will continue to be an issue.

  • ERROR MESSAGE  Can't open file in DW8

    After downloading Dreamweaver 8 trial version.
    Download was sucessful. Installation was successful. I opened the
    program to proceed to build a webpage. I was able to open a HTML
    file. and I was UNABLE to open any image file... I attempt to open
    jpg file... I get error message saying Dreamweaver can't open jpg
    file Please open HTML, XML or other compatible files. When I
    attempted to open a gif file ... another error message same but for
    gif in place of jpg. I checked the other programs and other
    programs did not have the same problem. I was able to open file
    from Internet Explorer or WS FTP. but NOT in Dreamweaver. IT is the
    only program that I am not able to open ANY of the image files. I
    am not able to continue to evaluate this version before deciding
    whether it is what I would like to order. I have heard many good
    things about it so I wanted to give it a try but no... I did not
    get a good start. I need advise what to do about it. Thank you. A
    quick reply will be greatly appreciated.

    Are you trying to open a .jpg file directly in Dreamweaver?
    Or are you
    trying to insert an image into your page?
    Dreamweaver is not an image editor so the former would not
    work.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "12345xy" <[email protected]> wrote in
    message
    news:e3vot6$hnq$[email protected]..
    >
    After downloading Dreamweaver 8 trial version.
    Download was
    > sucessful.
    > Installation was successful. I opened the program to
    proceed to build a
    > webpage. I was able to open a HTML file. and I was
    UNABLE to open any
    > image
    > file... I attempt to open jpg file... I get error
    message saying
    > Dreamweaver
    > can't open jpg file Please open HTML, XML or other
    compatible files. When
    > I
    > attempted to open a gif file ... another error message
    same but for gif in
    > place of jpg. I checked the other programs and other
    programs did not have
    > the
    > same problem. I was able to open file from Internet
    Explorer or WS FTP.
    > but
    > NOT in Dreamweaver. IT is the only program that I am not
    able to open ANY
    > of
    > the image files. I am not able to continue to evaluate
    this version
    > before
    > deciding whether it is what I would like to order. I
    have heard many good
    > things about it so I wanted to give it a try but no... I
    did not get a
    > good
    > start. I need advise what to do about it. Thank you. A
    quick reply will
    > be
    > greatly appreciated.
    >

  • There,are,restrictions,to,opening,PDF,files,on,an,Pad,or,Android,Device,that,will,open,in, Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,Ad obe,reader,installed,would,I,then,be,able,to,open,the,secure,document,wit

    There,are,restrictions,to,opening,PDF,files,on,an,iPad,or,Android,Device,that,will,open,in ,Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,A dobe,reader,installed,would,I,then,be,able,to,open,the,secure,document,with,Internet,Explo rer?

    What's,with,the,commas?
    If you have a tablet that runs full Windows 8 - not Windows 8 RT, which is limited.
    And if you install the full Adobe Reader for Windows, not the special Adobe Reader Touch for Windows 8.
    Then you will have the same features as a desktop.
    Unless they can't be accessed in touch mode, since it isn't a touch app.

  • Unable to open pdf files using Internet Explorer and Adobe 9.1

    We are unable to open any/all pdf files in Internet Explorer 6 or 7 using Adobe Reader 9.1 on Windows XP SP2.
    The error message is that IE has a problem and sorry for the inconvenience.
    Clicking "OK" closes IE.
    We did not have any issue with Adobe Reader 8.1.
    What we did to date:
    1. Uninstall Adobe Reader 9.1
    2. Run Windows Clean Utility to remove any remnant of Adobe Reader 8
    3. Re-install Adobe Reader 9.1
    Any other suggestions?
    Need to have this upgrade.

    I'm having a similar issue. Prior to upgrading to Acrobat 9.1 I was able to view PDFs from IE 6. No longer. Instead I get a message: "Error opening document. File cannot be found."
    Help?

  • Unable to open PDF files in Internet Explorer

    Hello,
    One of our users has a problem with opening PDF files in Internet Explorer.
    Translation:
    Adobe PDF-document
    There is a problem with Adobe Acrobat/Reader. Close Adobe Acrobat/Read and try again.
    The user is using Adobe Acrobat 8 Standard in combination with Windows XP and Internet Explorer 6. I reinstalled Adobe Acrobat (under an administrator account), deleted the local user profile and the problem is still there.
    Does anyone have an idea about this? The error message doesn't really say what is wrong. Adobe Reader is not installed.

    What exactly means "unable"?  Do you see a little x in a box on the top left of IE11?  If so, this may be the solution: http://support.microsoft.com/kb/2716529

  • Inquiry about opening any file with internet explorer

    Dear all,
    i am opening any file with internet explorer on the client machine.but i want to open it as READ-ONLY. so is there any parameter i should add to the command.
    the command i am using is :
    client_host('"\Program Files\Internet Explorer\iexplore.exe " "'||v_file_name||'"'; );
    Thanks in advance

    Hi,
    I don't think there is a way to open a file as read only using Client_Host. But i can give you another suggestion. Change the permission of the file to readonly (may be using chmod command) before opening the file in the browser.
    client_host('chmod -w '||v_file_name);Regards,
    Arun

  • Have MacBook Air, double clicking on track pad won't open files in finder but opens mail and links, and internet sites

    I have a MacBook Air.  I can not open up files in the finder when I double click on the track pad.  Double clicking does open up mail, internet, links, etc.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Opening a .tif or .tiff file in Internet Explorer using Quicktime in Window

    How do you open a .tif or .tiff file within Internet Explorer using Quicktime in Windows 7?
    Thank you for looking.

    Open the QuickTime control panel to Browser>Mime Settings>Images-Still image files and select TIFF image then click-ok apply ok. You want to do this without the browser running. If this doesn't help you may want to post a website with the TIFF, for myself or others to try

  • Opening Teststand XML file in Internet Explorer

    I have TestStand 4.1 installed on my PC.
    The test station PC has TestStand 4.0 installed.
    When I open the XML report file in Internet Explorer on my PC, I just get run-on text.
    What am I doing wrong?

    What do you mean with "run-on text"?
    If you refer to the XML content (including the tags, "raw XML"), then the Internet Explorer fails to display the content of the XML using the style sheet.
    Another option is that you configured the Internet Explorer to always display the raw content instead of using the style sheet.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Downloaded file from Firefox but it is not opening in the internet explorer

    1. I have java script file where it will download the content to a xml file . Below is the java script code
    // "data:application/octet-stream," + encodeURIComponent(content);
    var dataURL = "data:application/octet-stream," + encodeURIComponent(textToEncode);
    window.location.assign(dataURL); // To change the current page
    2. when we are trying to open downloaded xml file in internet explorer through the javascript it is throwing Type Error : Access denied . But, when we open the xml in notepad++ and re- save it is able to open in internet explorer.
    below is java script code to open the xml file -
    if (window.ActiveXObject) {
    xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.async = false;
    xmlDoc.load(fname); // fname refers to the file path where we downloaded
    return (xmlDoc);
    i am not able to resolve the problem .can you please help me on this . Thanks in Advance

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • Blackscreen?

    Lately my screen will, randomly, go black and the CPU will keep running for like 2 seconds and then restart. After this happens and my pc restarts a window says I had a problem and it was a bluescreen, 6.1.7600.2.0.0.256.1; Local Id: 9226; BCCode 116

  • Outbox in Fax server status

    I am try to export Outbox and Send status in windown 2012 Fax server. I don't need actual fax image. I only want Recipient number, Status.... etc showing in wfc.exe. It's showing in WFC.exe application but I just can't find a way export the list to a

  • Edit Query through RRMX

    Hi, experts, Iu2019m trying to use BW with office 2007 and windows vista. Although when I start RRMX transaction and every time Iu2019m going to u201Cedit queryu201D the excel stops working. How can I solve this problem? Thanks in advance! Kind regar

  • InterApplication Navigation in java webdynpro

    Hi Gurus , Please guide me for the following scenario : -   I have developed an application for InterApplication Navigation  i.e one Webdynpro Projcet containing multiple application. My project contained two applications and defined one parameter to

  • How to install multi language in Portal?

    Hi, Can someone give me the directions in how to install multi language in Portal? I found the "langinst.cmd" file under ORACLE_HOME\portal30\admin\plsql, also another file "langinst.sql" under ORACLE_HOME\portal30 \admin\plsql\nlsres. I am not quite