Opening excel from apex

i have a DML program that creates a report as a text file when a button is clicked and saves it onto a shared directory.i need to open this file in excel once it is created. the apex is used for a front end that allows user to select parameters to the program.
is there a way of opening these files in excel via apaex. or rather can you open an excel instance from apex that will open a file sitting on any location

If you store your files as a .csv file, you will be able to download those and open them
directly in excel. See this thread for a how to on opening BFILE:
Storing documents in FILE SYSTEM not in BLOB
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • Unable to open Excel from desk top running Live Office

    Running Win7, Office 2007, Live Office, am unable to open excel 2007 from desk top, can only opena blank excel and then save ecel to desk top and the open. have tried the Excel options ,advanced, ignore other application but does not work
    Thx//wwagner

    hi Sergio,
    I am also facing the same problem.
    Your option worked out like a charm. It is resolved now.
    Thank you.
    Regards,
    Vamsee

  • Opening Excel from LabView

        Hey all,
    I am trying to figure out how to open an Excel document from within a running LabView .vi.  I have been looking around here but I can't seem to find exactly what I am looking for.  What I have is a GUI running to operate some test equipment.  The user needs to be able to create and load a configuration file that is created with Excel.  I have added options to my Run Time Menu to make this easy for the user, but I can't figure out how to actually execute it in the code.
    I plan on having the template they will use at a location like this:
    C:\Program Files\Naitonal Instruments\LabView 8.2\Templates\Interrogation Setup.xls
    So I am trying to figure out the best way to execute this.  I was going to use the System Exec.vi but, being a DOS prompt, it can't handle the spaces in the directory.  Is there a better way for me to do this?
    Really appreciate it.

    You can interface excel via ActiveX in LabView. Have a search through the forum with these keywords. There is also a thread containing links to excel related threads, but I've no bookmark at hand.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Open Excel from SAP

    Hi,<br>
    got a problem. I click the Excel button after I did a query, but nothing happend. I mean the system ask me to save it as txt file, but then Excel dosn't start... More... if Im in one remote session I got this error on my status bar:<br><br>
    <i>Error -216 [86.29]</i><br><br>
    Hope somebody can help<br>
    Thx,Roberto

    Coming back to my problem I made some test...<br>
    Consider first my "architecture":<br><br>
    I got some client that works as client pc and some other that works thru Remote Desktop.<br><br>
    I thought that address the Excel path like
    ServerName\Program Files\Microsof Office\bla bla could be a common path to everybody, but I discovered that seems SAP dosnt like so much it, it like more C:\Program Files\Microsoft Office\bla bla<br>
    Setting the path in  this way works for them that are working with Remote Desktop, but dosn't work for the other clients, coz they maybe got installed Office in another folder or another disk..<br>
    Why should I do? Create a standard configuration for all the client so they got installed Microsoft Office in the same folder...??? Let say I got 200 client...I don't want neither to take in consideration...<br><br>
    Why if Microsoft let you select the path where you like more to install office, SAP impose to get just one folder, that should be the same for everybody? Did they assume that everybody install office in the same folder, did they?? In this case.. sorry guys but things are different..<br><br>
    Why you SAP guys don't consider in the next release, the let the user installation, set the path he likes more fore Word Excel or whatever else? Could be appriciate... as well as a tools for copy one configuration for every clients, instead of going client to client to setup everything....but this is another chapter ...that upset me..<br><br>
    Cheers<br>
    Roberto

  • Export from APEX to Excel - Which Tool?

    I need to produce some charts on a regular basis. I'm running APEX on our company server, without administration privileges. I can sometimes get administrative tasks accomplished, but it usually takes a lot of trouble and paperwork (or email).
    The charts I currently produce are in Excel and consist of two sets of one page of data plus one pareto chart based on that data. The users need to be able to edit this data and rearrange once the initial run is complete. Once they do this, the charts are printed in color and posted.
    The "old" way that has been in place for a few years is to produce the charts in Access and spit them out to Excel. I simplified this somewhat by producing the 10 or so charts through VBA that runs the queries and creates the spreadsheets, and then does some formatting and formula insertion using Excel automation features.
    So now we've got all of this data in APEX. I can produce a good approximation of the charts using the xmlcharts package, but there is no way for me to export this, and printing from APEX seems hit or miss for trying to get any kind of consistent output. I don't think my chances are good at getting BI Publisher installed. I have a weeks old request out as to whether there is a print server I can use, but no response as of yet.
    So what am I left with? I would like some way to do essentially what I'm doing now, except have APEX do it. I can keep everything the way it is and use xmlcharts to display the charts, but I would like to programmatically export to Excel. Can I use Excel automation from javascript without installing anything that requires system level access? How about using automation from pl/sql, which would be ideal, but I believe it needs COM objects for Oracle installed, which is probably not likely (how do I check to see if this is there already?)?
    Also, the way I do it now I use an excel file for a template and export to ranges in that template. If need be I could write automation code to reconstruct the entire workbook from scratch, I just need the tools to do it.
    Thanks,
    Chris

    Off the top of my head, this is a complete hack so I am sure someone will have something better but you can use Excel to import the data from Apex:
    Create an Apex report with no formatting at all.
    Create an Excel file and import the data from your Apex report:
    Data -> import -> New Web query
    Create your charts etc on this report.
    Upload the report through Apex.
    Now, create an Apex page that has the various criteria. When the user presses submit - download the excel file to them and have them open it instead of save.
    Hey Presto - charts that can be printed, saved or whatever.

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

  • Open file in excel from labview

    I need a way to open an existing Excel file, that may or may not be open already.  I am using the attached "Open Specific WorkBook.vi" from the examples.  My LabVIEW program must be able to either open a specifc Excel workbook and worksheet even if it is already open.  Is this even possible, or would it be better to close it (if open), the open it again?
    Attachments:
    Open Specific WorkBook.vi ‏37 KB

    As you probably know, nothing "bad" happens when you open Excel if it's already open, it just doesn't come to the front of your LabVIIEW ap. To get it to the front, Minimize the Excel window then immediately Maximize it (or Normalize it) programmatically with a PN.  I have tried many of the other methods (but not all of them) to no avail, this works for me. There may be a more elegant solution.
    There are other known methods to bring an ap to the front, with callbacks etc, but they can be clunky, or require Userlib32, etc. Since this property node already exists in your ap, it's comes at little expense.
    Of course, you may want to check that the ap was open before you do this, but even that is optional, at the expense of a little flashing on the screen.
    Richard
    Attachments:
    windowState.gif ‏4 KB

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • How to open file system file from Apex?

    Hi,
    Can someone help me to find how to open a pdf file e.g. test.pdf from apex when someone click on a button ABC?
    The file is located in /C/
    Thanks in advance
    Dip

    You can use the Onclick event and window.location to show the file when the user clicks a button.
    <input type=button onClick="window.location= 'file:///C:/Documents%20and%20Settings/rchamarthi/Desktop/test.pdf' + document.form1.cmuds.value;" value="Open File">The actual location of the file is "C:/Documents and Settings/rchamarthi/Desktop/test.pdf"
    Since the location is treated as a URL, remember that it should be URL encoded.
    Hence all spaces should be replaced by '%20' (32 being the ASCII for space and 20 in hex -> 32).

  • "An error occurred sending the command to the application" When trying to open excel document from outlook 2007

    Error message "An error occurred sending the command to the application" When trying to open excel document from outlook 2007.
    OS: Windows Server 2008 R2
    If I save the document then it opens fine, messing with default file associations does not resolve this problem, I've googled for ir it and some suggest unticking compatibility mode or "run as admin" for excel application, neither is selected in my case.
    Outlook is configured to run as remote application from remoteApp server, this error is only occurring for one user, for others excel documents open just fine.

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can Create a trusted location follow these steps
    Click the Microsoft Office Button , and then click Excel Options.
    Click Trust Center, click Trust Center Settings, and then click
    Trusted Locations.
    If you want to create a trusted location that is not local to your computer, select the Allow trusted locations on my network (not recommended) check
    box.
    Click Add new location.
     IMPORTANT   We recommended that you don't make your entire
    Documents or My Documents folder a trusted location. Doing so creates a larger target for a hacker to potentially exploit and increases your security risk. Create a subfolder within Documents or My Documents, and make only that folder a trusted location.
    In the Path box, type the name of the folder that you want to use as a trusted location, or click Browse to
    locate the folder.
    If you want to include subfolders as trusted locations, select the
    Subfolders of this location are also trusted check box.
    In the Description box, type what you want to describe the purpose of the trusted location.
    Click OK.
    More detailed information you can refer to this link:
    http://office.microsoft.com/en-us/word-help/create-remove-or-change-a-trusted-location-for-your-files-HA010031999.aspx?CTT=1#BM12
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHN
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Getting error while opening Excel document from SharePoint site

    Hello All,
    I am getting following error while opening Excel document from SharePoint site.
    This issue appears when we open Excel document from Windows>> Run using below mentioned command:
    Excel.exe "{File Name}"
    If once I go to Excel back stage and browse for the SharePoint location, then this problem disappears.
    I have a work around for this issue but main problem is that i do not have any work around when i need to open Exel document using Excel COM interop in C#.
    Thanks,
    Amit Bansal
    Amit Bansal http://www.oops4you.blogspot.com/

    Hi Amit Bansal,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application.
    According to the description, you got an error when you open the document form SharePoint site.
    Based on my understanding, this issue maybe relative to the SharePoint, I would like move it to
    SharePoint 2013 - General Discussions and Questions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    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.

  • EXCEPTION RAISED WHILE OPENING EXCEL SHEET FROM E-BUSINESS SUITE FORM

    Hi,
    I got error message ORA-10656I when was trying to open excel sheet which is in my local drive from e-business suite form. the following is the code where it is raising error.
    Appid := dde.app_begin('C:\Program Files\Microsoft Office\Office12\EXCEL.EXE '||'D:\emp.xls' ,dde.app_mode_normal);
    Oracle EBS version : 11.5.10.2cu
    Server : HP
    OS : HP Unix 11.11
    Could anyone help me out
    Thanks

    Two different forum users, exactly the same question? Hardly possible. So I guess this is just a double post.

  • Unhandled exception while opening excel file from e-business suite form

    Hello,
    I am getting error ORA-106561 (Unhandled errorg) when I am trying to open excel sheet which is reside in my desk top from Oracle E-business suite customized form using dde.app_begin('C:\Program Files\Microsoft Office\Office12\EXCEL.EXE'||'d:\emp.xls' ,dde.app_mode_normal)
    E-BUSINESS SUITE is in Unix server and EBS version is 10.5.10.2cu and hp Unix version is 11.11
    Please help me out in the above issue
    My objective is to open an excel sheet which is in my local disk and read and update the excel.
    Edited by: user538673 on Jul 23, 2010 2:20 AM

    Hello,
    This is the standalone Forms forum here.
    Please, ask your EBS questions on the E-Business Suite forum ;-)
    Francois

  • Opening Excel Files from DB (blob column)

    My project has implemented a WEBUTIL solution to attach files into the database, view the files stored in the database (in a BLOB column), and remove the files stored in the database.
    Everything has been running smoothly. We are in final testing and have found a couple of interesting scenarios ...
    When a user tries to view an Microsoft Excel 2007 file from our application, the Excel file displays properly (as long as Microsoft Excel isn't already open - outside of our Oracle application). Once the Excel file is viewed, the system will not allow the user back to our application until after the Excel file is closed (we use the start /wait myExcelFile.xls ... command). This works perfectly for us.
    The two scenarios we encounter occur when
    1.) The user has Microsoft Excel open outside of our application and tries to open an Excel file from within our application, or
    2.) The user has the file already open (either from within our application or outside of our application) and then tries to open the file from within our application.
    Let me explain a little further because the above two scenarios are interrelated.
    When a user has Microsoft Excel open (outside of our application), and then clicks the button to open the Excel file, the system will open the file as another window (within Excel). The system will allow the user to navigate back to our application (where as, if Excel is not open outside of our application, the system will not allow the user to navigate back to our application). Once the user navigates back to our application (while the file is still open), the user can click the button to view the file again. At this point, the user is displayed a WUT-105 error message (I assume b/c the system is trying to open a file that is already open).
    I assume the two solutions are the following:
    a.) Do not allow a user to open a file that is already open (not sure how to check this from within Forms ?)
    b.) Do not allow a user to open an Excel file when another EXCEL process is already running (this will avoid allowing the user to naviagate back to our application)
    I don't know if there is a better solution.
    Do you experts have any recommendations?
    We are using Oracle Application Server 10g R2 (10.1.2.0.2), Oracle Database 10g R2 (10.2), and Oracle Developer 10g (10.1.2.0.2)
    I hope this all makes sense.
    Thanks,
    Mike
    Edited by: user639843 on Oct 20, 2008 2:15 PM
    Edited by: user639843 on Oct 20, 2008 2:20 PM

    Thank you, Thank you, Thank you!!!!
    I believe that will work (adding a sequence number to the end of the filename)!
    We do not allow a user to update the file, only view. If a user wants to make a change, they need to remove the existing file (from the database), create a new file (outside of our application), and attach the file in our application (into the database). All updates occur outside of our application - we are not a document authoring system, just a document storage system.
    Once again, many thanks on the solution!
    Mike

Maybe you are looking for

  • The application LOGINserver quit unexpectedly

    Hi, Every time I log in - the following text appears in a box The application LOGINserver quit unexpectedly The following are the problem details. How do I solve this please? Process: LOGINserver [1471] Path: /Library/Printers/Brother/Utilities/Serve

  • Planning application daily backup process

    Hi gurus, I have to backup a hyperion planning application which has two databases in Essbase. I need to back the application everyday just to make sure if anything goes wrong we can have the data. What is the process that you recommend. One thing I

  • Shadow on camougflage Background

    Hi , I have a problem with my realtrre camouflage background. When I try to put a camouflage background the upper part becomes shadowed. And even if it's a background of the realtree app. It only does it with this background. Can anyone help me ?

  • What are the endpoints attributes collected by NAC Profiler through SNMP and DHCP?

    Hi Everyone, Please help on this. I want to know what are the endpoints attributes collected by NAC Profiler to discover and profile the endpoints.through SNMP protocol and DHCP protocol. Also if anybody can explain a simple used case on this. Please

  • Disable auto show tool options

    Hi - I'm a new user of PE11, just upgraded from PE7.  I've read in the forum where users say they've disabled Auto Show Tool Options (Keyboard Shortcuts post on 10/15/12).  I would like to disable auto show but haven't been able to figure out how. Ca