View pdf from local machine

I have requirement of selecting a pdf from local system and previewing it before uploading.
I am able to select the file and upload it but i am not able to preview it.
I tried using navigateToURL(urlRequest,
"_blank"); , but it is not able to show file from local path
Can anyone please tell how can i show the file from local machine
TIA

Hi,
is your code executed in Flash runtime (web/standalone application but played in Flash runtime) or in AIR runtime (or 3rd party projector)? That's important as only AIR hosted movie would have access to "file://" protocol when defining/using URLRequest (and then navigateToURL) that are outside of your application domain:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLRequest.html
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/package.html# navigateToURL()
regards,
Peter

Similar Messages

  • Jabber 9.2, uploading the contact photo from local machine or PC.

    is it posssible to upload contact Photo from local machine to jabber from 'edit profile'? I did that but nothing happened! still no contact photo.
    Thanks,

    Hi Shane,
    in previous version of Jabber it was not possible, am I right? But I heard in 9.2.0 onwards we can do it.
    I will send you the problem on Monday once I get back to Customer Site.
    Thanks,

  • Uploading File to server from local machine

    how to Upload the File to server from local machine.
    Using java applet, how to upload the file to secure server.
    I dont know how to proceed the steps for uploading
    Reply me ASAP.......

    Hi Ozkantr,
    The osql utility is installed by SQL Server. You need to make sure the utility is installed on your colleague machine.
    To run SSIS package outside the BIDS, only the DTExec utility which is a client tool is not enough, the server components for Integration Services Service (SSIS runtime) is also required. To install SSIS runtime and DTExec utility, we must install the Integration
    Services shared feature from the SQL Server install media. So, you need to install SSIS service on the machine where the SSIS packages jobs run.
    References:
    http://www.bigator.com/2012/03/11/ways-to-execute-ssis-package/
    http://www.codeproject.com/Articles/219494/SSIS-Overview-Part-I
    Regards,
    +1
    You need to install Integration Services, which installs the necessary bytes on your computer and the SSIS service as well. The service can be disabled though, you don't need it to run packages.
    I wrote a blog post about it some time ago:
    When is DTEXEC installed?
    ps: osql is deprecated. Better start using sqlcmd.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Java code to connect to remote windows machine from local machine

    Hi,
    I have developed a code to connecting remote windows M/C from local M/C by using SSH2 (ganymed-ssh2-build209.jar) API. when I run the code its giving below error. Can any one please help me how to resolve it. And also please let me know, is there any other way to connect remote windows system using java code.
    Exception.
    java.io.IOException: There was a problem while talking to <host name>:22
      at ch.ethz.ssh2.Connection.connect(Connection.java:642)
      at ch.ethz.ssh2.Connection.connect(Connection.java:460)
      at Connect.RemoteServer.ConnectWindowsServer.runCommand(ConnectWindowsServer.java:55)
      at Connect.RemoteServer.ConnectWindowsServer.main(ConnectWindowsServer.java:27)
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at ch.ethz.ssh2.transport.TransportManager.initialize(TransportManager.java:299)
      at ch.ethz.ssh2.Connection.connect(Connection.java:591)
      ... 3 more
    JAVA Code
    import ch.ethz.ssh2.Connection;
    import ch.ethz.ssh2.Session;
    public void setAuthenticationInfo(String hostname, String username,String password) {
           this.host = hostname;
           this.userid = username;
           this.password = password;      
           this.recentCommand = "";     
           System.out.println("setting authentication info completed for host=" + host );
      public void runCommand() throws Exception {
    try{
            // Setup ssh session with endpoint
           System.out.println("starting connection with " + host);
           Connection connection = new Connection(host);
           System.out.println("connection object created..");
           connection.connect();
           System.out.println("Connect to connection");
           connection.authenticateWithPassword(userid,password);
           System.out.println(connection.isAuthenticationComplete());
           Session session = connection.openSession();
          System.out.println("connected");
      }catch (Exception e) {
      e.printStackTrace();
    Regards,
    Praveen

    Hi baftos,
    I tried to telnet remote windows machine from my local machine on port 23, its not connected and given error message like "Connect failed".
    As your response, if we can telnet to remote windows machine from local machine then we can connect from Java. Is it correct ?.
    Can you please help me to resolve this issue. And also please confirm the port (23) is correct, which I was used to connect remote machine from telnet.
    Regards,
    Praveen

  • Unable to view PDFs from the Safari browser.

    I am using Safari 5.1 and Adobe Reader 10.1.0, running on OS 10.6.8.  Until recently I had no problem but am now unable to view PDFs from websites.  What I get is a totally black document.  I can create PDF files which I can also open outside of the internet.  Any ideas?? 

    There seems to be an issue with Adobes plugin and Safari 5, your options are:
    Wait for it to be updated.
    Uninstall the plugin nd let Quicktime handle it.
    Install Schuberts PDF plugin from http://www.schubert-it.com/pluginpdf/

  • View image from local

    Hi,
    I'm using J2ME wireless toolkit, and I want to know is it possible to view image from local(eg. C:\WTK22\appdb\DefaultColorPhone\filesystem\root1). I've written some code to view form the folder but it appear "error: null".
    mage storedImage = null;
              String picLink = "file://localhost/" + currDirName + fileName;
              try{
                   storedImage = Image.createImage(picLocation);
              catch(Exception e){
                   System.out.println("Error here: " + e.getMessage());
              }

    Yes, it is possible.
    They were demonstrating the RT display at NI Week. It is part of the RT features of Vision 6.1. You can route an IMAQ display window to the video output on the PXI chassis. Anything you display in that window will show up on your screen.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Cannot run the code from local machine - works after deployment!!!

    Hi,
    I am totally new to application server. My problem is that the application code after it is 'deployed' from JDeveloper to Oracle Application Server - it works fine. I can go to the web application from the url and do a 'Submit' of forms and it works fine. The problem comes when I try to connect to dev. environment from local machine and try to do a 'Submit' (done for debugging purposes), I get a 500 Internal Server Error. Is there a configuration file or property I file I have to change? I am clueless.
    Basically addRequest can be considered as the 'Submit'.
    Javax.faces.FacesException: #{newRequestItem.addRequest}: javax.faces.el.EvaluationException: java.lang.IllegalAccessError: tried to access class javax.xml.rpc.FactoryFinder from class javax.xml.rpc.ServiceFactory
    At com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
    My application is built on ADF and JSF and connects to BPEL workflow and DRM. So it is using WebServices.
    Thanks.

    Hi,
    Top further pinpoint the issue, I can make the SSRS report work with the stored procedure by running
    SP_recompile 'myStoredProcedure'
    So, SQL Server has somehow messed up the execution plan for the sproc. But to repeat, executing the Sproc in Management Studio works just fine, I just look the exact sproc and parameters with SQL Profiler when it is not working in SSRS report, then run that
    same sproc manually and it works.
    After extensive debugging, it seems to raise from one specific SELECT row:
    SELECT
    cte.TIMEYEAR + 1 AS TIMEYEAR,
    where cte.TIMEYEAR is varchar. After changing that to
    SELECT
    CAST(cte.TIMEYEAR + 1 AS VARCHAR) AS TIMEYEAR,
    it started to work.
    What will probably remain forever unclear is that WHY the original select always breaks every now and then, and always starts to work with a simple sp_recompile. I could reproduce the error easily by running
    exec sp_msforeachtable @command1="EXEC sp_recompile '?'";
    after which the sproc raised error: "Conversion failed when converting nvarchar value 'Q1/2000' to data type int".
    ..aaaand then just by running SP_recompile 'myStoredProcedure' it again started working fine. I could reproduce this break & fix pair coherently.
    Still it makes no sense from SSRS report perspective, when sproc was broken in Management Studio query, it was always broken from SSRS report end as well, but sometimes when sproc was working from SSMS, it wasn't working from SSRS.

  • How can I get one value from local machine registry

    how can I get one value from local machine registry, I would like read one value of regitry. I have windows NT workstation. I need it to find the full path of iexplore.exe, this value is in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE'
    Thanks.

    You can use the D2KWUTIL.pll library to read/write to the registry. You have to install the forms examples to get the library.
    The library d2kwut32.dll must also be installed at the clients.

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • Ifs Connection problem from local machine to Ifs server using API

    I am trying to make an API call to connect to Ifs database server running on different machine(UNIX) from local machine. I copied all jar files and /Lib/Ifs/Settings directory to my local machine. All these files are in the classpath of weblogic 6.0 environment. A jsp on weblogic server call a bean which has a responsibibility of connecting to Ifs server to get LibrarySession.
    From Visual Cafe 4.5 everything works fine but when i start weblogic 6.0 outside the visual cafe environment i get the error
    below. I included all the jar files and /Lib/Ifs/Settings in start up script of weblogic server
    Do you know if i missing some thing????
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at oracle.ifs.server.LibraryConnection.(LibraryConnection.java:235
    at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
    ol.java:576)
    at oracle.ifs.server.ConnectionPool.(ConnectionPool.java:321)
    at oracle.ifs.server.S_LibraryService.(S_LibraryService.java:912)
    at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
    :1129)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)

    Have you installed the Oracle client software on the machine where you are running WebLogic and your custom iFS application (your bean)?
    It looks like the native JDBC libraries are not available to the JVM where WebLogic is executing your code. iFS uses JDBC to access the Oracle database, and it requires "thick" (OCI8) JDBC to do so. This means that you need Oracle client software to be installed (in an ORACLE_HOME directory) on a computer where you want to use the iFS API.
    If you do have the Oracle client software installed already, then perhaps the WebLogic environment isn't configured to have access to the native JDBC libraries. Normally, as long as $ORACLE_HOME/lib is in the LD_LIBRARY_PATH (on unix) or $ORACLE_HOME/bin is in the PATH (on windows), stuff should just work.
    See if you can find any information about including native libraries (for instance, to use JNI) in the WebLogic documentation. We don't certify with WebLogic, which is why I don't know the answer offhand.

  • Running CLIX commands from local machine

    Hello Experts,
    We have the following requirements in terms of clix commands
    Need to know the number of files in log/archieve/report folder - Is there any clix commands for this
    Want to run the clix commands manually from local machine (Windows), the mdm server is at linux environment. We dont want to automate the script and want to run when needed from local machine. Is that possible
    Thanks & Regards,
    Antony

    HI,A.Antony
    as far as i know ,clix can not count the number of files in the loglog/archieve/report folder.but there is a way out.you can get through the path:<driver>:\usr\sap\<instance>\MDS00\log to check it out.
    to run clix locally,you need to install the mdm-clix-7.1.<sp>.<patch>-win32.exe on your windows.then run the clix in the cmd circumstance.for the clix command Syntax,please refer to the MDM console reference guide,as for MDM7.1SP12,you may goto the Clix referece guide on help.sap.com.
    hope it helps.
    best regards
    Stephen

  • Cannot view pdf from a secure web site

    I have no problems viewing pdf's normally. But if I am on a secure page (https://), the pdf won't load. This happens on two different web sites, both the Cox cable site and USAA insurance, I am unable to view my statements which are in pdf. I can get around it on the USAA site by choosing to save the pdf instead, and then viewing it locally, but the Cox site doesn't give me that option. I pick a statement month, then it opens up a new tab and goes to a secure page where it appears to try to download the pdf statement- to then try to display in the browser window, I guess? At any rate, there is a little download icon down in the left corner of the status bar, but the progress bar never completes. It just fizzles out and I'm left with a blank page. I had these problems when I used XP Home Edition and nothing has changed under Vista Home Basic. Interestingly, I have no problem viewing my statements on either site from my work computer, which uses XP Pro. I was running Reader 8 on my home system and just recently upgraded to 9, but with no change with this problem. At work Reader 7 is installed.
    So it would appear to be a setting on my computer, a limitation of the low-end OS's, or some difference between Reader 7 and 8/9. I am mystified as to exactly what it could be, however. Anyone have any experience with this issue?
    UPDATE: Found the answer to my problem! Did a little more searching on these forums and found the culprit setting, but maybe my post will help someone else out if they happen to find it first during their search. Anywho, uncheck the Do not save encrypted files to disk under Internet Advanced Options under Tools :)

    Your system details list doesn't show the Flash plugin for Firefox, so if you've disabled that plugin then you will have to re-enable it.
    *https://support.mozilla.org/kb/Managing+the+Flash+plugin
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems caused by recent Flash updates and try these if the Flash plugin is working properly:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *downgrade to Flash 11.2 or 10.3
    *http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows

  • Viewing PDFs from IE9 in Acrobat X Pro?

    I am having trouble opening PDFs from the web in Acrobat X Pro.  I generally use IE9, but I also have the problem in Firefox.  I would like any PDF I open, whether from the web or one that is saved on my harddrive to be opened in Acrobat and not in the browser window (or in Acrobat Reader for that matter).
    Does anyone know how to resolve this issue?
    Her is what happens.  If I click on PDF link from a website, a downloading window appears and then quickly disappears.  The PDF never displays, and there is nothing in my downloads folder. If I right click on the link and "Save Target As...", then I can save it to my computer and open it from my harddrive. I don't want to be forced to do that. I just want to open it and read the document.  I just purchased CS5 Web Premium about a week ago, and this didn't happen when I first loaded the software.  Somewhere along the way I have changed a preference in Adobe or on IE which has affected reading documents.
    What I have done:
    I have downloaded Adobe Reader X, and set the display preference to Display PDF in Browser.  This seems to have allowed me to view the PDF in the browser window.
    When I loaded Adobe Reader the option to 'Display PDF in Browser" was greyed out in Acrobat and it show Reader in the path on the preferences window.
    Has anybody experienced this problem?
    Any help would be greatly appreciated!

    First example: http://www.screencast.com/t/xef9cK2aGz shows different programs that can open PDF. one in Blue highlight indicates once selected.
    Second Example: http://www.screencast.com/t/ielOmB31IXch Shows button to push.
    Third Example : http://www.screencast.com/t/7qMnNqUtEPM Shows the message that comes up button is pushed.

  • 11.5.10 Step by Step - Run istore from local machine for customization

    Hello,
    Does anyone have step by step instructions on using JDeveloper to run iStore JSPs on local machine with the end goal to customize JSPs? We have 11.5.10. I am using JDeveloper 9.0.3.5. Have tried following steps per lot of metalink notes but none seem to be working. Need to know exactly:
    - what Jdeveloper version to use for 11.5.10?
    - Where to download this version from?
    - Is it even possible to run iStore from local Windows machine using JDeveloper?
    - What is the main iStore page that should be run the 1st time?
    - Any expert available in USA for a 2 week paid assignment to help our team setup Jdeveloper for customization? And give intro lessons?
    Much Help...
    Thanks

    1. The Jdeveloper you use with 11.5.10 will depend on which ATG patch level you are at (see metalink note 416708.1)
    2. It will be in a metalink patch (see metalink note 4167708.1)
    3. I don't believe you can run it locally on a windows machine.
    4. Can't remember it off the top of my head but I will look back in my notes, I'm no longer working at the client site who has iStore.
    5. I know of 3 or 4 experts that I have worked with in Canada on JDeveloper/iStore/Configurator, I don't know anyone in the US but there has got to be a bunch out there looking for work.
    Edited by: mcharchu on Jul 17, 2009 9:20 PM

  • Apex link not able to connect from local machine.

    Hi,
    Here is the scenario.
    I have installed oracle apex 3.2 in my vmware linux machine.
    I'm able to connect the link (http://b03apex.domain.com) from my linux(vmware) box but I'm not able to connect from windows local machine.
    I tried to ping the ip, from both the ends are working but not sure why I'm not able to connect from windows local machine.
    local windows ip: 192.168.1.2
    vmware Linux ip address : 192.168.1.3
    Do I need to do add any parameters in the Apache logs to connect from windows local machine.?
    Need your suggestion.
    Thanks, Muhammed.

    user9354175 wrote:
    I tried to ping the ip, from both the ends are working but not sure why I'm not able to connect from windows local machine.In that case, it means there is network connectivity. The problem is thus something else - like a firewall or name resolution failure.
    >
    local windows ip: 192.168.1.2
    vmware Linux ip address : 192.168.1.3
    Do I need to do add any parameters in the Apache logs to connect from windows local machine.?No.
    Can you ping the VM hostname from your Windows console (instead of IP address)?
    Have you tried in your Windows browser the following URL (using IP address of the VM instead of the hostname)?
    http://192.168.1.3/
    Have you checked that your browser is not configured to use a proxy server?
    Have you checked your Windows firewall for allowing tcp web traffic to the virtual machine?
    Have you checked for the same on on the virtual machine (firewall will be likely be done using <i>iptables</i>).

Maybe you are looking for

  • Is there a way to do a firmware update without being plugged into a power source?

    I have a Macbook 2GHz Intel Core 2 Duo and the indicator light on the Magsafe power cord is not lighting up. I know the cord works because I have tried it on a different computer but it is only this macbook that it doesn't work on. I have reset the S

  • Problem updating pre-installed iPhoto and iMovie "to update this application, sign into the account you used to purchase it"

    My dad bought a new retina macbook pro over a year ago. The pre-installed iPhoto and iMovie applicaitons get this error when trying to download an update: "to update this application, sign into the account you used to purchase it" We are logged into

  • Can't  download RAW photos to LR 3

    I just purchased LR 3 and I've tried to download RAW pictures from my D80 for processing, but for some some reason the down load does'nt work. Is DNG the same as RAW? Do I have to convert fron RAW to DNG? Help!!

  • Translation error at update process (German)

    Hi, during the update progress of Flash Player in German (on Windows 7), the text is translated wrong. Instead of "Installation wird zurzeit ausführt" it should be "Installation wird zurzeit ausgeführt". Kind regards Domar

  • User exit co01

    GUY'S when i go for tcode:CA02 and set status to 3 in general data section and then go to tcode co01 to create production order for the same material and same plant, it pop up  message ( routing not released:15294) and then it save it.but requriment