Air and .xls file

Here is my sample test for opening an xls file in iframe
My HelloWord.html :
<html>
<head>
<title>Dierbergs Web Applications</title>
<script language="javascript" type="text/javascript"
src="AIRAliases.js"></script>
<script language="javascript">
function init() {
window.nativeWindow.addEventListener(air.Event.CLOSING,
onClosingEvent);
window.nativeWindow.maximize();
function onClosingEvent(event) {
if (!confirm("Exit Dierbergs Web Applications? Any unsaved
changes will be lost."))
event.preventDefault();
</script>
</head>
<body onload="init()">
<frameset rows="100%">
<!--<frame src="
http://www.irs.gov/pub/irs-pdf/fw4.pdf">
-->
<frame src="
http://elsa.berkeley.edu/~saez/TabFig2005prel.xls">
</frameset>
</body>
</html>
My HelloWorld-app.xml:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="
http://ns.adobe.com/air/application/1.0">
<id>examples.html.HelloWorld</id>
<version>0.1</version>
<filename>HelloWorld</filename>
<initialWindow>
<content>HelloWorld.html</content>
<visible>true</visible>
<width>400</width>
<height>200</height>
</initialWindow>
</application>
When I run my HelloWorld application it gives me a blank
page.. but I uncomment the pdf file then it opens fine...
SO HOW CAN WE OPEN AN EXCEL FILE , WORD FILE, CSV FILE. IS
this a bug or what....

I found a workaround for this :
<html>
<head>
<title>Dierbergs Web Applications</title>
<script language="javascript" type="text/javascript"
src="AIRAliases.js"></script>
<script language="javascript">
function init() {
window.nativeWindow.addEventListener(air.Event.CLOSING,
onClosingEvent);
window.nativeWindow.maximize();
var url = "
http://elsa.berkeley.edu/~saez/TabFig2005prel.xls";
var urlReq = new air.URLRequest(url);
air.navigateToURL(urlReq);
function onClosingEvent(event) {
if (!confirm("Exit Dierbergs Web Applications? Any unsaved
changes will be lost."))
event.preventDefault();
</script>
</head>
<body onload="init()">
</body>
</html>
Basically : var url = "
http://elsa.berkeley.edu/~saezTabFig2005prel.xls";
var urlReq = new air.URLRequest(url);
air.navigateToURL(urlReq);

Similar Messages

  • Can't download pdf and xls file

    Hi, I want to download an attachment from my gmail .When I clicked to download, it will go to icloud.com and displayed like this."Your file will begin downloading automatically.Don't see it? Try again>
    The attachment contains both pdf and xls files.
    I have tried many times.
    Please help me.

    Hi amusa123,
    I don't get it. So let me try to explain again what you are describing:
    - You open a mail in Gmail (I guess Gmail in the browser, right?)
    - This email has an attachment (a excel sheet, right?)
    - You try to open the file, which immediately starts downloading the file to your Mac (usually the file gets downloaded into the Downloads folder)
    What I don't get, where do you receive a message regarding icloud.com?
    With kind regards,
    David

  • Initially I had downloaded Document 2 (Free) application to view my doc, ppt and xls files. I was not able to edit the files so there was an option for upgrade the Document-2 free to paid version. I have upgraded the Document 2 application.

    Initially I had downloaded Document 2 (Free) application to view my doc, ppt and xls files. I was not able to edit the files so there was an option for upgrade the Document-2 free to paid version. I have upgraded the Document 2 application. But on my iPad now there are to application present Docemnt-2 (Free) and Document-2. I am not able to open any existing document using the upgraded version of application. How do I connect all the existing txt,PPT,XLS doccument to the new upgraded Document-2 application and then to edit it on my iPad.

    As suggested I had deleted the free application and did a hard restart the iPad. I have again copied the document using iTunes. But I am not able to edit any document using this app. Document 2 (paid version) supports editing features of the txt/ xls /ppt files. Is there any problem while loading the Document 2 app. If I reload then do I need to purchase again?

  • How to Purge pdf and xls files from $LOG_HOME

    Hi There,
    application: ebs R12(12.1.2)
    db: 11.1.0.7
    OS: linux5(x86-64)
    can any one let me is there any concurrent program through this i can purge lots of pdf and xls files from $LOG_HOME/ora/10.1.2/reports/cache folder.
    Please help me out in this regards,
    Thanks in Advance.
    Regards,
    Mohsin
    Edited by: 920138 on May 12, 2012 4:12 AM

    Please also see:
    Patch 11669923 Post Patch Instructions Would Get Overridden By Autoconfig [ID 1322704.1]
    REP-56093: File : Cached Output For Job 1 is No Longer Valid [ID 1321342.1]
    Rep-57054: In-Process Job Terminated:Finished Successfully But Output Is Voided [ID 1332176.1]
    Thanks,
    Hussein

  • Adobe Air and Excel file

    I have my application running in a adobe air which gives
    options to the user to open the reports in excel, csv file, rtf and
    pdf options. I am able to open those files or atleast gets an
    option to save the file on the machine for IE, firefox, Goodgle
    chrome. But in Adobe Air it just gives a blank page and not even
    gives me an option to save the file as other browser does.. Has
    anyone have an application that gives an option to open the file in
    excel or or any format and did they face any issues...
    I am just stuck here, can't proceed further, so any help
    would be appreciated..

    You can save files in XLS and open it with Excel in AIR2:
    http://coenraets.org/blog/2009/11/open-in-excel-another-air-2-mini-sample/
    There is also a nice AS3XLS library used there allowing to read and write XLS files:
    http://code.google.com/p/as3xls/
    Hope that helps.
    Thanks,
    Oleg.

  • Opening .doc and .xls files

    AW 6.2.9
    Have been able to open most .doc and .xls attachments up till now.
    Had trouble and now can't (.doc files will open in textEdit). Reloaded AW but all that happens is that when I click on the open button the list of files disappears. I am not even told that it cannot open the file.
    iMac4,1 Intel Core Duo   Mac OS X (10.4.8)  

    My guess as to why you have been able to open these until recently is that the files you received were not saved with updated versions of Word & Excel. Until earlier this year I was able to open both PC & Mac versions with AppleWorks. PC versions were the first to not open but if I re-saved them with Office: Mac I could open them. Then, after a couple of Office: Mac updates, I can no longer open them. NeoOffice is a reasonable alternative.

  • Csv rtf and xls files in file sender

    Hi Experts,
    I had a requirement to design an interface, its basically just a file to file with certain mappings as per business requirements.
    The input file is currently expected in .csv or .xml or .xls.
    My query (can be even be considered juvenile:-) ) is ,
    if csv can be processedd with FCC, why is it that xls cannot?, saving the xls as csv can be done but since its an automated process it will be out of scope to do t manually
    The other query was, with more files expected in rtf and other formats..what is the best way to outline the interface?
    Request you to elucidate on the above
    Regards,
    Ibrahim

    >
    Ibrahim wrote:
    > Hi Experts,
    >
    > I had a requirement to design an interface, its basically just a file to file with certain mappings as per business requirements.
    >
    > The input file is currently expected in .csv or .xml or .xls.
    >
    > My query (can be even be considered juvenile:-) ) is ,
    >
    > if csv can be processedd with FCC, why is it that xls cannot?, saving the xls as csv can be done but since its an automated process it will be out of scope to do t manually
    XLS is a different format. It is not a text file. Eg. a PDF ... is of a different format... it is not a text file.
    For any format other that a TEXT file, you will have to custom code. FCC will apply only to text formats and csv is a text format.
    For excel, PDF etc you can use modules to read or write contents
    eg. /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    >
    > The other query was, with more files expected in rtf and other formats..what is the best way to outline the interface?
    >
    > Request you to elucidate on the above
    >
    > Regards,
    > Ibrahim
    If you have different formats to be read, make sure you configure different adapters for each and not a single adapter.
    A single adapter can be used if all you need is to pick files and drop them somewhere doing nothing on the content

  • Downloading ppt and xls files

    I am a new mac user and absolutely LOVE it. However, as I am learning i am having a problem with downloads sent to me in emails. I have a Mac OS X Version 10.5.6. The files will download and I can even go to my Finder and see the file, but I am not able to open it or print it. What can I do to view these files?
    Thanks

    Get http://www.neooffice.org/
    It will open these files.
    XLS is Microsoft Excel
    PPT is Microsoft Powerpoint
    NeoOffice is an open source alternative to Microsoft Office that works quite well.

  • DI and XLS Files A No-Go

    Post Author: bryker
    CA Forum: Data Integration
    We consistenly get errors using DI XIR2 to try to import data from an Excel spreadsheet.  This HAS worked, but recently as "quit working".  Gotta love that.
    Anyone else have any problems like this?  This error just does not exist on the web, nor on this site (that I've been able to find).
    Thanks to anyone who might know anything about this.
    Could not access Excel file <//localserver/localdir/localfile.xls>
    OLE or COM processing error: <Unspecified error>

    Post Author: bhofmans
    CA Forum: Data Integration
    Could you add some more details ? This looks more like a file access or permissions error and might not be related to Excel in particular.
    - which exact DI version are you using ? (11.7.x ?)
    - which OS is the jobserver running on ? (Windows ?)
    - can you access a regular .txt file in the same location via the jobserver (to exclude permission issues)
    - when exactly do you get the error ? (in Designer when creating the format or when executing the job)
    Probably the best way to get a quick resolution is to open a support ticket for this...

  • Can not open doc,docx, and Xls files, on server 2008, office 2010,

    on small Business 2008 server, there is office 2010,
    open doc, docx file  i got file conversion massage,
    so i cannot open any Word and Excel file

    Could you open those Office file on another machine? If no, repair you source file first.
    Do you install any other application in this SBS 2008 server, like it also is a DC role?
    Repair/reinstall Office from Control panel to check the result as well.
    Tony Chen
    TechNet Community Support

  • Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file work intermittently.

    SUMMARY
    Hyperlinks to XLS, DOC, and PDF files that are included in a
    .chm file (and the Baggage Files) only work intermittently. The
    only solution appears to be deleting the Temporary Internet Files.
    PROBLEM
    1. I place the XLS, DOC, or PDF file in the Windows
    sub-directory that corresponds to the RoboHelp project sub-folder
    where the topic in which I’ll place the hyperlink exists.
    2. I open the help project in RoboHelp HTML.
    3. I right-click on the project’s Baggage Files
    sub-folder that corresponds to the Windows sub-directory in which I
    placed the XLS, DOC, or PDF file (in step 1).
    4. I import the XLS, DOC, or PDF file.
    5. I open the topic in which I’m going to place the
    hyperlink in the WYSIWYG editor.
    6. I “drag and drop” the Baggage File into the
    topic (in the WYSIWYG editor) to create a link to it.
    7. I save the changes and then generate HTML (.chm) help.
    8. I open the .chm file and click the hyperlink. The XLS,
    DOC, or PDF file may or may not open.
    9. When the hyperlink works correctly, for DOC and XLS files,
    a “File Download – Security Warning” dialog box
    appears asking, “Do you want to open or save this
    file?”. The buttons that are available are
    “Open”, “Save”, and “Cancel”.
    These buttons work then as one would expect. (When the hyperlink
    works correctly for a PDF file, it simply opens the PDF file in a
    new window; there’s no prompt to save, open, or cancel.)
    10. When a hyperlink does NOT work, for DOC, XLS, and PDF
    files, no dialog box or other visual message is displayed. Instead,
    the sound that is associated with the “Exclamation”
    program event is played (the “Windows XP
    Exclamation.wav” file is the WinXP default).
    Other Notes:
    - The hyperlinks ALWAYS work when I view a topic using the
    “View Selected Item” function (Ctrl+W) in the RoboHelp
    HTML project.
    - Once a hyperlink stops working, it will not start working
    again until I delete all the Temporary Internet Files.
    - A hyperlink will stop working even if Internet Explorer
    (iexplore.exe) is closed the entire time.
    WORKAROUND
    Through trial and error, I have discovered that if a
    hyperlink stops working, I can get it to work again using the
    following steps:
    1. Leave the .chm file open.
    2. Open Internet Explorer.
    3. Click Tools>Internet Options….
    4. From the “Internet Options” dialog box, select
    the “General” tab.
    5. Under the “Temporary Internet Files” section,
    click the “Delete Files…” button.
    6. From the “Delete Files” dialog box, select
    “Delete all offline content” and then click
    “OK”. The files are deleted and the “Delete
    Files” dialog box closes.
    7. Click “OK” to close the “Internet
    Options” dialog box.
    8. Without closing Internet Explorer and without re-starting
    the .chm file, all the hyperlinks that didn’t work before
    will now work.
    GENERAL SYSTEM INFORMATION
    - Windows XP Pro, SP2
    - Internet Explorer 6.0.2900.2180
    - RoboHelp X5, 5.0.2 Build 801
    - HTML (.chm) help project files exist on my local machine
    - HTML (.chm) help file is run from my local machine
    - Project is under RoboSource version control
    TEMPORARY INTERNET SETTINGS
    - “Check for newer versions of stored pages” is
    set to “Automatically”
    - “Current location” for the Temporary Internet
    files folder is set to “C:\Documents and Settings\My
    Username\Local Settings\Temporary Internet Files\”
    - “Amount of disk space to use” is set to
    “594” MB
    “View Files…”
    - An XLS or DOC file will be listed here if I click its
    hyperlink and then click either “Open” or
    “Save” from the “File Download – Security
    Warning” dialog box.
    - A file will appear here even if I click “Save”
    and then click “Cancel” from the subsequent “Save
    As” dialog box.
    - If I click “Cancel” from the “File
    Download – Security Warning” dialog box, the file does
    not appear in the Temporary Internet Files folder.
    - When a file does appear in the Temporary Internet Files
    folder, its Internet Address is displayed similar to the following:
    “ms-its:C:\PrimaryProjectFolder\ProjectName.chm::/SubFolderName/FileName.xls”
    “View Objects…”
    Here’s a list of all the program files that appear:
    - “Microsoft Office Template and Media Control”
    (Last Accessed 12/13/06) (Version 12,0,6024,0)
    - “Shockwave ActiveX Control” (Last Accessed
    12/14/06) (Version 10,1,4,20)
    - “Shockwave Flash Object” (Last Accessed
    12/18/06) (Version 9,0,28,0)
    - “Windows Genuine Advantage Validation Tool”
    (Last Accessed 12/14/06) (Version 1,5,722,0)
    - “WUWebControl Class” (Last Accessed 12/13/06)
    (Version 5,8,0,2469)
    Today is 12/18/06 so the only program file that is listed as
    having been “Last Accessed” today is the
    “Shockwave Flash Object”.
    REQUEST FOR HELP
    I really want to include certain PDF, DOC, and XLS files in
    their native format in a .chm file. However, I need a better
    solution to my problem than the one I discovered. What I really
    want is to avoid the entire problem altogether.
    Have anyone seen this before or have any suggestions?

    You wont be able to do that. The embedded objects would appear as images only.

  • Reading DBF & XLS files from ODI-AIX

    Hi all
    I need to read DBF (Foxpro) and XLS files from ODI 10.1.3.5 for AIX 6.x
    Anyone knows what drivers we need to install or any other kind of method to read them?
    Thanks in advance
    Ernest !

    Ernest,
    To load DBF on AIX, you will need to use a DBF Foxpro jdbc driver. One of the drivers can be purchased from http://www.csv-jdbc.com/stels_dbf_jdbc.htm
    or
    http://www.hxtt.com/dbf.html
    Copy the driver in the $ODI_HOME/oracledi/drivers directory and restart the agent if you have any.
    Then you need to configure a Dbase physical dataserver + physical schema with the following JDBC URL
    jdbc:jstels:dbf:/yourserverpath/dir_containing_dbf_files
    Obviously, you will also need to define the corresponding logical schema
    And after you define a model based on the logical schema, you will define the datastore. The "resource name" will contain name of the dbf file without the .dbf.
    For XLS, you can try the drivers from the listed above.
    HTH

  • How convert pdf,xls file format into swf

    Hi friends
                   i am making a tool for wducation site and there i need to convert doc xls and pdf file in swf in runtime and show that in container with cropping and panning functionality.so i do it for doc file format but having no idea how to convert .pdf file format and .xls file format into swf.So please guide me how to do it.
    Thanks And Regards
        Vineet Osho

    QuickTime cannot do this of iteslf: you need to add Flip4Mac:
    http://www.telestream.net/flip4mac-wmv/overview.htm

  • Auto open docx and xlsx files in MS Office 2011 after it download in Safari (com.apple.DownloadAssessment.plist not work)

    Check "Open safe files" in Safari and define docx and xlsx extensions in ~/Library/Preferences/com.apple.DownloadAssessment.plist not work. Old doc and xls files was auto opened successfully...
    Content of .plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>LSRiskCategorySafe</key>
              <dict>
                        <key>LSRiskCategoryExtensions</key>
                        <array>
                                  <string>doc</string>
                                  <string>docx</string>
                                  <string>xls</string>
                                  <string>xlsx</string>
                                  <string>ppt</string>
                                  <string>pptx</string>
                        </array>
              </dict>
    </dict>
    </plist>

    Yes, but there at least you are talking to people who all use the app, while in this forum (which is for hardware and not software in any case, so already off the mark, since the problem has nothing to do with hardware), it is probably a minority.
    A better place would be
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion
    and or
    https://discussions.apple.com/community/mac_os/safari
    I did see someone from serveral years ago with the same problem at
    http://www.neowin.net/forum/topic/877358-open-microsoft-office-files-automatical ly-after-download-in-safari/
    I wonder if there is another list somewhere of permissible extensions in that .plist....

  • Can we get put info from database to excel and download file?

    I want to pull specific information from the database and then put it in an excel file. I want to then be able to download that file from a jsp page at the click of a button/link.
    Can someone give an idea about how this can be done.. If you can show some code that would be very useful.

    Well I think the easiest way to do this would be to use JNDI and write a simple VB app or something to use excel (of course the downside of this is that it ties you to winblows).
    The only reason I say this is simpliest is because there are no real good ways to create and xls file through java. I think there are some third party libraries out there for this but not sure where they are or how to use them.

Maybe you are looking for

  • Problems uncompressing compressed jar files

    Hi all, I am seeing an unusual issue where some entries don't have full header info. By this I mean, according to the ZIP spec, it is possible that the header info is stored before the file data, so you CAN get the right info. But sometimes, it can b

  • Code for report for "Serbia Montenegro"

    Hi, I need to create a new country from business partner master data for "Serbia - Montenegro". I create one ... but I don't know the "Code For Report" of "Serbia - Montenegro" http://i1.tinypic.com/nd28np.gif http://i1.tinypic.com/nd26ux.gif Thank y

  • Row level access, virtual private database, label security

    Hello All, I'm experiencing an issue.... I've a datawarehouse where some tables, for examples orders are shared for two different countries. Difference is made simply with a field country may contain country_id. So using OBI and publisher I need to p

  • Having Problems Using F_ApiSimpleImportFormats

    Hi, I am (still) using FM 8 in Structured Authoring mode with FDK8 . I want to automate the processs of importing formats to the components of a book. I have located the F_ObjHandleT of the files I want to import from I have tried using: F_ApiSimpleI

  • Notes Sync Clutters my Mail, any other options?

    My 3GS notes is synced to MacBook Pro, and all the notes appear in with the rest of my emails. Is there a way to have all of my notes appear someplace else so it does not crowd my email?