Open SMB Link in web browser

I would like to be able to click on a link in the browser (Safari or FireFox) and view the document. This works for the http protocol but I can't get it to work for SMB on OS X. See the examples below. The first example works but the second example requires and actual SMB file share.
Apple Discussion
HTML: <a href="http://discussions.apple.com" target="_blank">Apple Discussion</a>
Documentation MyDoc.xml.
HTML: <a href="smb://smbserver/data/MyDoc.xml" target="_blank">Documentation MyDoc.xml</a>
This is how we share documents and it Works on MS Windows in IE, anyone know if this is possible on OS X?

The following will open the IE web browser and browse to the given URL:
System.Diagnostics.Process.Start("explorer.exe", @"http://www.microsoft.com");
...or file:
System.Diagnostics.Process.Start(@"iexplore.exe", @"C:\test\test.html");
Using another browser is just a matter of specifying the path to it, e.g:
//open Chrome:
System.Diagnostics.Process.Start(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", @"http://www.microsoft.com");
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

Similar Messages

  • Hyperlink open up a new web browser

    Hello,
    I have a Logo that I have hyperlinked to a webpage.  I need to have it open up a new Browser Window instead of changing the page the Logo with Hyperlink is on.
    Any tips on how I can make a Logo with a hyperlink open up a new web browser?

    I just downloaded Acrobat XI and do not have this orange Hyperlink button.  The only hyperlink tool I can find is the Add or Edit Link button.  I am a teacher for an online school who is creating PPT presentations that I convert to PDFs, and upload them for my students.  When my students open the instructional PDF and then click on a link, it takes them away from the PDF instead of opening a new browser window.  They are very limited computer users, and I need a way to make this work! I've already tried putting in the target=blank code and haven't gotten that to work either.  Can you offer any help?

  • Using firefox 8.0.1 -- cant open email links on web pages

    using firefox 8.0.1 and cant open email links within web pages

    Hi, Cor-el. The problem isn't setting my default email client --- the problem is that when I click on a "mailto:" link in a web page, any web page, while I'm using the firefox browser, "nothing happens" ....gmail is my default email client and when I click a mailto: link using explorer or any other browser, things work as they should and my gmail opens for me. This only became a problem with firefox when I downloaded version 7 (whatever) not too log ago. Downloading the latest version has not solved the problem.
    Any other help would be very much appreciated.

  • While trying to opening Video link in IE6 browser a white screen appears and the screen hangs.

    Added a video as an internal link to a news article.
    The flash player version we are using is 7.0.0.0. This video opens fine in all the browsers except for IE6 browser.
    While trying to opening this link in IE6 browser a white screen appears and the screen hangs.
    Please find the link below :
    http://www.abnamroprivatebanking.com/global#global/au-news/global/14241
    When we try to open any videos in the above link using IE6 browser white screen appears.
    Could you please provide a solution as what can be done to resolve this issue.

    if you're using an flvplayback component, you need to use fp 8 or better.  or, use the netstream class with fp 7.

  • Unable to open Enterprise Manager in web browser

    Hi All,
    I have configured EM in my single instance database in Windows server 2008 inside VMware . But i am unable to open em in web browser.
    C:\Users\Administrator>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    https://WIN-4RW5HRZKIEB:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory C:\app\oracle\product\11.2.0\dbhome_1/WIN-4RW5HRZKIEB_dipu/sysman/log
    and my listener status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 11-APR-2013 23:06:27
    Uptime 0 days 0 hr. 58 min. 46 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File c:\app\oracle\diag\tnslsnr\WIN-4RW5HRZKIEB\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-4RW5HRZKIEB)(PORT=1521)))
    Services Summary...
    Service "arya1XDB" has 1 instance(s).
    Instance "arya1", status READY, has 1 handler(s) for this service...
    Service "dipu" has 1 instance(s).
    Instance "arya1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    But when i am entering the eterprise manager link(https://WIN-4RW5HRZKIEB:1158/em) on my web browser of windows 2008 nothing is comming. please tell me how to resolve it
    Regards,
    Arya

    I'm having a similar issue.
    Did a fresh install of 11.2.0.1.0 under Windows 2003 - latest updates - IE 8.
    I can access Enterprise Manager from other computers - but not from the local server.
    I've tried both: https://oracle.xxxx.xxx:1158/em and https://localhost:1158/em
    Both give me the generic "Internet Explorer cannot display the webpage" - but if I access from another computer it comes up - so I know everything is working...

  • Safari doesn't open, computer without other web browser

    Safari does not even open, simply quits unexpectedly within a few seconds. I have no other web browsers downloaded.

    There is no need to download anything to solve this problem.
    If Safari crashes on launch and you don't have another web browser, you should be able to launch Safari by starting up in safe mode.
    You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    Besides the files listed in the linked support article, you may also need to remove this file in the same way:
    ~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Issue with opening pdf file from web browser

    I have Acrobat Pro ver 6 and Adobe Reader 9.1 on a computer.  when my user tries to open up a pdf from the web he is getting the following error message:
    "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a WEb Browser.  Adbe Acrobat/Reader version 8 or 9 is required.  Please exit and try again."
    What also happens is that Acrobat Pro ver 6 opens up and nothing is there.
    I am not sure why he is getting that message since Reader 9.1 is installed.
    Can any one shed some light on this for me.
    This user needs to have Acrobat and Reader on his system.  I understand that there are issues with having both.
    Also he has it set up so that any PDF is opening using the Reader 9.1.
    Thanks,

    Your PC's default reader configuration for embedded PDFs has become confused, due to multiple Adobe PDF document solutions installed on one PC.
    Solution 1:
    Go to Start > Run
    Type regedit and click OK.
    Browse to the following key: HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe
    Make sure that the correct Default data value is set for the path where Adobe Reader or Acrobat are installed.
    The default installation values are:
    "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
    or
    "C:\Program Files\adobe\acrobat 6.0\acrobat\Acrobat.exe" (not sure about this path.  Check on your PC to be sure)
    depending on whether Adobe Reader or Adobe Acrobat is installed.
    Solution 2:
    Configure the browser to use Acrobat or Adobe Reader as a helper application.
    If you are using Firefox to browse the web, you can change this setting in Firefox by going to:
    Tools > Options
    Click on the "Applications" Tab.
    The first item in the list should be "Adobe Acrobat Document".  Under the Action list, click the drop down arrow and select the application you want to read PDFs within the web browser.  Click OK, and you should be done.
    If you're using Internet Explorer to view PDFs, try the below steps.
    After you configure Acrobat or Adobe Reader as a helper application, the browser starts the helper application in a separate window and displays PDF files within that window. Acrobat and Adobe Reader both include a preference that lets you specify Acrobat or Adobe Reader as the helper application.
    To configure Acrobat or Adobe Reader as a helper application:
    Start Acrobat or Adobe Reader.
    Choose Edit > Preferences.
    Select Internet on the left.
    Deselect Display PDF In Browser Using [Acrobat application], and then click OK.
    Quit Acrobat or Adobe Reader.
    The next time you select a link to a PDF file in the browser, a dialog box asks what you would like to do with the file. If you select Open It, the browser opens the PDF file in Acrobat or Adobe Reader (the helper application); if you select Save It To Disk, the browser saves the PDF file to your hard drive.

  • Open PDF link in new browser window?

    I'm viewing a newly created PDF in a browser.
    When clicking an internal link, the linked PDF loads into the same window
    I need it to launch in a new browser window.
    I have set the link to "launch new window" in Word where this file originated.
    I have also opened and resaved it in Acrobat 10 with preference "Open cross-document links in same window" deselected.
    Neither of these setting have change the behavior though all documentation I read seems to suggest they should.
    What am I missing here??
    -Blake

    That preference setting does not apply to web links and do not refer to a browser window, but an Acrobat window.
    There is a JavaScript method that might work. Try setting the link action to something like the following script:
    app.launchURL("http://www.example.com/", true);
    This was taken from the example here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html
    The problem is if a user has Reader 10 and protected mode is enabled (as it is by default), it doesn't work and opens the link in the same browser window.

  • Links in web browser opposed to Adobe Pro

    I have a problem that I am trying to fix.  I have an intranet map application(opened in IE) that allows in house users to *click* a feature to open a general Information.pdf about that map feature (ie. street sign).  the general information pdf has links to additional pdf's about that sign(inspection reports, etc)
    The preferences>Internet in Adobe Pro 9.2 are set to open in the program not the web browser because editing capabilities for the users are manditory.
    So the problem is that when the general information.pdf is opening it opens in an IE temp directory fashion and not in its network location (\\jacas02\structures\app..... etc).  The link to the additional documents are then looking for those additional documents in a location relative to the temp file location(C:\Documents and Settings\.....etc) and not the actually document location on the network.  Therefore the document/file can not be found.
    If we enable the pdf to be opened in the web browser everything works fine but we don't have the adobe pro functionality.  Any suggestions or links to related articles would be greatly appreciated.
    Also, can adobe pro functionallity be enabled in the adobe IE web browser?
    thanks for any suggestions!
    jac

    This is a map application served by ArcGIS Server.  I don't think that is relevant though.  I suspect that this is between IE and Adobe.
    How would setting a base URL be applied?  All of the General Info pdf's are in one folder on the network \\jacas02\structures\app\INFO
    Then within that INFO folder I have additional folders that contain all of the linked documents that are not being found because adobe is opening the file from IE in a temp location.
    If I set the base URL to \\jacas02\structures\app\INFO  should that work even though it is a 'UNC'?
    thanks for you interest, it seems that this should be a easy issue to solve but its got me stumped.
    Also, forgot to add.  The links have always been relative in adobe as long as you keep them organized the same as when you created the links in adobe.
    jac

  • Error when opening page with the web browser activex

    I have downloaded the example for using the web browser activeX component to display a web page. It basically works, but it keeps returning an error (from NI's web site) that I don't see when opening the site from IE. The message I get is:
    Are there things that need to be initialized when calling the browser in this way?
    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

    Mike,
    It looks like ni.com is not supplying that particular console object which is causing an issue with the embedded instance of IE9. Every other website I've tried works correctly. I've looked around the ActiveX methods to intercept and ignore this error, but I haven't found anything yet.
    For others' reference, here is the link to the example:
    https://decibel.ni.com/content/docs/DOC-2042
    Karl G.
    Applications Engineer
    ni.com/support

  • 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

  • Open about:config on web browser

    I would like to open the advanced configuration on my web browser for Firefox OS. I have tried typing about:config into the Awesome bar, and then either keying 'enter' or using the Go arrow, to no result.
    The following answer seems to imply that this is possible in Firefox for Android:
    https://support.mozilla.org/en-US/questions/960501#answer-440285

    The about:config "page" definitely exists in both desktop and Android versions of Firefox. However, when I search for about:config in the Firefox OS source code site, I don't find anything but a single comment. It sounds as though that particular page is not used on Firefox OS. Maybe there's a new name for it?

  • Opening Telnet with a web browser

    Hi,
    I don't know if I'm posting this thread in the right forum, I hope I am. I want to have a web page and, when the user selects a link, I want a telnet prompt to be opened in the user's computer. Not a embeded one, but the actual telnet program they use on their computers. Does anyone know if there's a way to do it using servlets, JSP, Java...?
    I know this does it, but it will open the prompt in the server.
    Runtime.getRuntime().exec("cmd /c telnet 201.78.23.122 1234");Is there an equivalent I can use to do it on the client's side?
    Thank you

    You could try using a telnet URL. Something like this:
    telnet://201.78.23.122:1234
    Of course, the user's browser needs to be configured correctly to call the telnet client. In Windows, try AbsoluteTelnet. It configures your browser for you so these types of telnet links will work properly. SSH links too:
    ssh://201.78.23.122:1234
    Brian Pence
    Celestial Software
    AbsoluteTelnet (for telnet and ssh)

  • Website constructed with Dreamweaver CS5.5 won't open properly in a web browser

    I’m trying to host thi site again. The site (www.nancyshalenphotography.com) does not display as programmed.
    This site exists in two forms:
    The Design form
    The Live View/Browser form.
    The site is how I envisioned it when opened  in Live & Browser view.
    So I Push (Site è Push it to the webhost).
    It opens in the Design form (ugly and links don’t work) and not the Live View/Browser form.I tried editing the code by pasting in the Live View code. Didn’t work.
    I called support and they said all of my files refer to my computer and no hosting company could get to those files. It doesn’t entirely make sense to me as something (albeit the wrong thing) opened, viz. the Design form. This is the first time they have seen such a circumstance.
    This is the code they are referring to:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Nancy Shalen: Homepage</title>
    <link href="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/CSS/menu_tabs.css" rel="stylesheet" type="text/css" />
    <link href="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/css/Menu/basic/SpryMenuBas ic.css" rel="stylesheet" type="text/css" />
    <script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/SpryDOMEffects.js " type="text/javascript"></script>
    <script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/SpryMenu.js" type="text/javascript"></script>
    <script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/plugins/MenuBar2/ SpryMenuBarKeyNavigationPlugin.js" type="text/javascript"></script><script src="file:///C|/Root Folder/nancy_photography_4172012/nancy_photography/Spry-UI-1.7/includes/plugins/MenuBar2/ SpryMenuBarIEWorkaroundsPlugin.js" type="text/javascript"></script>  
    Could you please look at the code and see what I did wrong?
    Thank you.
    prsnrs

    1. Open the online page in Firefox
    2. Right click on the page and choose View Page Source
    3. The resultnat code is what the browser sees as per
    4. (left) click the link pointed to and you will see
    This means that the file cannot be found by the browser.
    This is caused when the link is not correct (path issue) or that the file has not been uploaded (into the correct directory/folder)
    You can repeat the same procedure for each of the other links with the same result.
    Gramps

  • Opening a link in new browser- JEditorPane

    Hello all,
    I am facing a small problem.
    I am loading an html file from local system in an JEditorPane. Now that html is having some links.
    Is there any way out by which that link when clicked is open into browser.
    Any idea is welcome.
    Smiles,

    Add HyperlinkListener to your editor pane. Add the following method in your class:
    public void hyperlinkUpdate(HyperlinkEvent event) {
       if (event.getEventType() == HyperlinkEvent.EventType.ENTERED) {
            pane.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
       if (event.getEventType() == HyperlinkEvent.EventType.EXITED) {
          pane.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
      if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
          try {
             pane.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
             // editor.setPage(event.getURL());
             //Either set the page as the new page
             // or open a new browser window to display the link using
             // applet's showDocument method
             //applet.showDocument(event.getURL(),"_blank");
          } catch (Exception newPageExc) {}
          finally {
          pane.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    }

Maybe you are looking for