Opening multiple excel files thorugh a servlet

Hi
In my system , i have excel reports in my server disk . And i am opening the excel files through an servlet class like /viewReport.do?id=23 .....and thus from the servlet will open my excel file .
After opening one excel file , i try to open another excel by clicking that link , then my system often hangs else excel shows an error saying "a report with name viewReport.do is already open " even though both of these files are different on the server
How can i avoid this ??
The reason why i am opening the excel file through a servlet is , i need to perform some operations before opening that excel report
Can any one let me know how to go abt this ??

I had a similar porblem....
I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
This is my code in servlet...
HSSFWorkbook wb = new HSSFWorkbook();
     HSSFSheet spreadSheet = wb.createSheet("Users");
     spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
     spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
//     Creating Rows
     HSSFRow row = spreadSheet.createRow(0);
     HSSFCell cell = row.createCell((short) 1);
     cell.setCellValue("Year 2005");
     cell = row.createCell((short) 2);
     cell.setCellValue("Year 2004");
     HSSFRow row1 = spreadSheet.createRow(1);
     HSSFCellStyle cellStyle = wb.createCellStyle();
cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
cell = row1.createCell((short) 0);
cell.setCellValue("Revenue ($)");
cell = row1.createCell((short) 1);
cell.setCellValue("25656");
cell = row1.createCell((short) 2);
cell.setCellValue("15457");
FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
ServletOutputStream out = response.getOutputStream();
wb.write(output);
output.flush();
output.close();
forward = null;
In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
Thanks in advance...
Message was edited by:
onlycoding

Similar Messages

  • Batch script to open multiple excel and doc files

    Hi Everyone,
    Could anybody please provide a batch script to open multiple excel and doc files at a time.
    Appreciate ur quick response.
    Regards,

    You have several scripting choices within Windows. At a basic level you've got "batch files" - which run a series of command interpreter commands, and have a file extension of .BAT or .CMD. If you just wanted to open a list of Word documents, then assuming that the path to Word is correct (something like this below) you could list these in a file with a .BAT extension and run this (e.g. double click on it):
    "C:\Program Files\Microsoft Office\Office\Winword.exe" "C:\Documents and Settings\All Users\Desktop\File1.DOC"
    "C:\Program Files\Microsoft Office\Office\Winword.exe" "C:\Documents and Settings\All Users\Desktop\File2.DOC"
    "C:\Program Files\Microsoft Office\Office\Winword.exe" "C:\Documents and Settings\All Users\Desktop\File3.DOC"
    "C:\Program Files\Microsoft Office\Office\Excel.exe" "C:\Documents and Settings\All Users\Desktop\File1.XLS"
    "C:\Program Files\Microsoft Office\Office\Excel.exe" "C:\Documents and Settings\All Users\Desktop\File2.XLS"
    Another script language is VBScript, which was the example I gave. VBScript is available on most Windows platforms and can be run from a command prompt or within Windows. If you save the text I gave you above to a file with a .VBS extension you can double-click to run it (Windows) or open a command prompt and type CSCRIPT MyVBScript.VBS (assuming that's the name of the your .VBS file).
    Other script languages are available to achieve the same thing, including Powershell, however you'd need to have Powershell available on your PC.

  • How to Open Two Excel Files in Multiple Monitors in Windows 7

    How to open two excel files in two excel windows using multiple monitors in Windows 7.
    Currently it opens multiple files on top of each other on the same one monitor.
    I found this article in a blog it says
    "The snap feature that you are looking for will not work unless you open two instances of Excel. This is because Excel Unlike Word is not a True SDI Application. Microsoft is aware of the Issue however there is no resolution to the problem but the workaround"

    If you are working almost the entire day in front of your computer at your office with lots of Excel Sheets and Word, then probably you might be working with a
    dual monitor or may be even more than that. Studies have shown that having an additional monitor increases the productivity by 20 to 30 percent (Source: NY Times)
    But some applications like MS Office Excel, even though you open multiple files, they are all from the same instance of the application. So if you want to compare two
    Excel
    files, then you may not be able to have it in two
    separate monitors as the files are loaded using the same instance of Excel. If you move one
    Excel
    file to the other window, the other Excel files are also moved to the other window.
    So how to have two separate Excel files or other application side by side in dual monitors?
    Option A:
    In Excel 2003, go to Tools -> Options ->
    General tab.
    Make sure the option, ‘Ignore other applications’ is checked. Now all the Excel files will be opened as separate instance and you can move the Excel files individually across the monitors.
    In Excel 2007, Click the Office button ->
    Excel Options -> Advanced.
    Under General, check ‘Ignore other applications that use Dynamic Data Exchange’.
    or
    As this method forces each Excel file as a separate instance, the memory consumption will be more. If you don’t want too many memory consumption then you can open only two instances (see
    Option B) and manage wisely to view in both the monitors.
    Note: If you are having issues like Excel opens without displaying a workbook, then you may have to
    uncheck this option. (See Microsoft Help for more details on this). You can use option B in this case. I have this option checked and I have not faced any issue yet.
    Option B:
    They key here is, the application has to be loaded as separate instances. Lets say you have opened an Excel file in
    Monitor 1 and you want to open the next excel file in Monitor 2. You can usually open another instance of Excel by browsing through the
    Start Menu -> Programs -> Microsoft Office ->
    Excel. Make sure this newly opened Excel file is the last Excel file you had viewed and then double click on the Excel file that you wanted to open. This will force the Excel to
    open
    in the second instance of Excel. Now you can move these
    two excel files separately across windows or monitors.
    This may be little cumbersome way to open new instances of Excel every time. The easy solution would be to keep these links in the
    quick links near the Start button. So, every time you want to open a new instance of the application, you can just use those quick links.
    hope work thanks
    http://www.lytebyte.com/2008/05/13/how-to-open-two-excel-files-side-by-side-in-separate-monitors/

  • Opening an excel file on server side using servlets

    hi, am having a small problem for launching an excel file. Standalone,
    i use
    Desktop.getDesktop().open( new File("C:/test.xls") );
    and it works fine but when using servlets via tomcat, it does not launch. Any idea?
    actually am using ajax to allow a user to remotely launch an excel
    file (the excel file contains a macro which will generate and save a
    chart as image) on the server.

    Do you realize that this will only open that Excel file at the Server machine, not at the Client machine? If you're testing (read: acting as Client) at the same machine as where the Server runs, then you will see the result of Desktop#open(). But if you're testing at a different machine (read: as in the real world) than where the Server runs, then you won't see the result of Desktop#open(), because this is executed at the Server machine itself, not at the Client machine.

  • How do I merge multiple Excel files with more than one tab in each file using PowerQuery?

    Hello
    I have 12 Excel (.xlsx) files and each file has three identically named and ordered tabs in them. 
    I know how to merge multiple Excel files in a folder using M (those guides are all over the web) but how do I merge multiple Excel files with multiple (yet identically named and ordered) tabs? Surely it is possible? I just don't know how to do it in M.
    Cheers
    James

    What Laurence says is correct, and probably the best thing to do when the sheets have differing structures. Here is an alternate approach that works well when the sheets all have the same structure.
    When you first open the Excel file from Power Query, you can see its structure in the navigator at the right-hand-side of the screen. If you select the root (which is the filename itself) and click Edit, you'll see all the tabs in the sheet as a single table.
    You can now do filtering based on the Name, Item and Kind values. When you've reduced the set of things down to the sheets you want, select the Data column and say "Remove Other Columns". If the sheets don't have any header rows, you can just click the expand
    icon in the header and you'll be done.
    Otherwise, if the sheets have headers or if some other kind of sheet-level transformation is required against each sheet before doing a merge, you'll have to write some M code manually. In the following example, each sheet has a header row consisting of
    two columns: Foo and Bar. So the only step I need to perform before merging is to promote the first row into a header. This is done via the Table.TransformColumns operation.
    let
        Source = Excel.Workbook(File.Contents("C:\Users\CurtH\Desktop\Test1.xlsx")),
        RemovedOtherColumns = Table.SelectColumns(Source,{"Data"}),
        PromotedHeaders = Table.TransformColumns(RemovedOtherColumns,{{"Data", each Table.PromoteHeaders(_)}}),
        ExpandData = Table.ExpandTableColumn(PromotedHeaders, "Data", {"Foo", "Bar"}, {"Data.Foo", "Data.Bar"})
    in
        ExpandData

  • Open Multiple PDF files from Production order/Routing

    Hi Everyone
    We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and closing the previous file. How can I open multiple PDF files at one time from Production order or Routing?
    Any help is appreciated.
    Regards
    Prasad

    Hi Prasad,
    from DMS standard I regret but such a functionality is not available. In the standard originals can be opened only one after another.
    I think for realising this functionality an individual modificatoin is necessary.
    Best regards,
    Christoph

  • Microsoft Forms and Microsoft Visual Basic while opening the Excel file

    Hello,
    I have issues with 2010 64 bit Office Pro Plus Excel. Whenever I open an Excel file (97-2003 worksheet) which has macros then I get below 2 errors in sequence.
    Please note that all macro settings are enabled and below are my system configs.
    Win 7 Ultimate 64 bit,
    MS Office Pro Plus 2010 64 bit with SP2.
    Googled all and tried but in vein and also note that I dont have any .exd files under ../forms to delete. Please help.
    Please note that for others with same system config/office versions and same 97-2003 worksheet it works so issues is only in my system.
    First Error
    Microsoft Forms
    Could not load an object because it is not available on this machine.
    Second Error
    Microsoft Visual Basic for Applications
    Compile error in hidden module:  MainUtilities2.
    This error commonly occurs when code is incompatible with the version, platform, or architecture of this application.  Click "Help" for information on how to correct this error.
    Thanks.

    Your macro's will not run in a Office 64 environment only in a 32bit environment. The 64bit environment has a whole different setup and macro's created in an earlier 32 bit environment will stop working.
    So if you want to use them in a 64 Office environment you have to rewrite the macro's.
    have a look here:
    http://msdn.microsoft.com/en-us/library/gg264421.aspx
    Maurice

  • After upgrade to 10.9.1 office for mac 2011 will not open most excel files.

    After upgrade to 10.9.1 office for mac will not open most excel files. The files will open in open office. I have tried re-saving as excel file, no joy.
    I have repaired permissions, no joy.
    below are the results of EtreCheck scan.
    Hardware Information:
              MacBook Pro (13-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.3 GHz Intel Core i5 CPU: 2 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 5 days 3:45:14
    Disk Information:
              Hitachi HTS545032B9A302 disk0 : (320.07 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 319.21 GB (64.84 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5970H 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              org.virtualbox.kext.VBoxDrv          (4.1.2)
              org.virtualbox.kext.VBoxUSB          (4.1.2)
              com.logmein.driver.LogMeInSoundDriver          (1.0.3 - SDK 10.5)
    Startup Items:
              VirtualBox: Path: /Library/StartupItems/VirtualBox
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.logmein.logmeinblanker.plist 3rd-Party support link
              [System] com.logmein.logmeinserver.plist 3rd-Party support link
              [System] com.logmein.raupdate.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
              [System] com.sharpcast.xfsmond.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_service.plist 3rd-Party support link
              [System] com.zeobit.MacKeeper.AntiVirus.plist 3rd-Party support link
              [System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [System] com.logmein.LMILaunchAgentFixer.plist 3rd-Party support link
              [System] com.logmein.logmeingui.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagent.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagentatlogin.plist 3rd-Party support link
              [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_desktop.plist 3rd-Party support link
              [System] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] .dat0157.000 (hidden)/Users/fboyd3/Library/Application Support/Spotify/SpotifyWebHelper
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
              [not loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist 3rd-Party support link
              [not loaded] com.spotify.webhelper.plist 3rd-Party support link
              [not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
              [not loaded] org.virtualbox.vboxwebsrv.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              GrowlHelperApp
              Alarm Clock
              Canon IJ Network Scanner Selector2
              Microsoft Database Daemon
              SugarSync Manager
              Neat
              LogMeIn
              Dropbox
              Spotify
              Spotify
              AdobeResourceSynchronizer
    Internet Plug-ins:
              LogMeInSafari64: Version: 1.0.730 3rd-Party support link
              OVSHelper: Version: 1.0 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.0.0.126   - SDK 10.8 3rd-Party support link
              AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.1 3rd-Party support link
              LogMeIn: Version: 1.0.730 3rd-Party support link
              Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              LogMeInSafari32: Version: 1.0.730 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              SharePointBrowserPlugin: Version: 14.3.4 - SDK 10.6 3rd-Party support link
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 3rd-Party support link
              EPPEX Plugin: Version: 3.0.0.0 3rd-Party support link
              WidevineMediaTransformer: Version: (null) 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 25 Outdated! Update
    Safari Extensions:
              DivX Plus Web Player HTML5 <video>: Version: 2.1.0.900
              Open in Internet Explorer: Version: 1.0
              ClickToPlugin: Version: 2.5.3
              DivX HiQ: Version: 2.1.0.900
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              Move-Media-Player: Version: npmnqmp 071705000010 3rd-Party support link
              WebEx64: Version: 1.0 - SDK 10.6 3rd-Party support link
    3rd Party Preference Panes:
              DivX  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Java  3rd-Party support link
    Old Applications:
              Microsoft Language Register:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1326
                        Cisco WebEx Event Center:          Version: 1304.07.2811.0 - SDK 10.5 3rd-Party support link
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
              Neat ADF Scanner 2008 10_5:          Version: 1.0.0.15 - SDK 10.5 3rd-Party support link
                        /Library/Image Capture/Devices/Neat ADF Scanner 2008 10_5.app
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1324
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        Cisco WebEx Meeting Center:          Version: 1304.23.2811.0 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
                        atmsupload:          Version: 1209.12.2806.0 - SDK 10.5 3rd-Party support link
              Amazon MP3 Downloader:          Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
              /Applications/Microsoft Office 2011
                        Microsoft PowerPoint:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Outlook:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Word:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Document Connection:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              Solver:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
              /Applications/Microsoft Office 2011/Office
                        Microsoft Graph:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Utility:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Office Reminders:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Upload Center:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        My Day:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        SyncServicesAgent:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Open XML for Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Alerts Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Chart Converter:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Clip Gallery:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              /Applications/iWork '09
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              /Users/[redacted]/Downloads
                        Install Spotify 7:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 3:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 2:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 4:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 5:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 6:          Version: 1.0 - SDK 10.5 3rd-Party support link
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  97%          Microsoft Outlook
                  16%          Google Chrome
                   5%          WindowServer
                   3%          Finder
                   2%          EtreCheck
    Top Processes by Memory:
              180 MB          Finder
              164 MB          soffice
              156 MB          mds_stores
              147 MB          Google Chrome
              131 MB          Numbers
    Virtual Memory Information:
              928 MB          Free RAM
              2.59 GB          Active RAM
              1.22 GB          Inactive RAM
              1.57 GB          Wired RAM
              31.52 GB          Page-ins
              1.33 GB          Page-outs

    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper (v 2.8). Earlier versions than the one released in 2012 require more extensive work to uninstall all its components.
    The effects of having actually used MacKeeper to do anything are a completely different matter. The fastest way to take an exquisitely designed and painstakingly engineered Mac and make it run like a steaming pile of dung is to install and use such ill-conceived "cleaning" or "security" products. This is just one example of a broad category of time- and money-wasters capable of causing damage that can only be rectified by reinstalling OS X, restoring from a backup, or completely erasing your system and rebuilding it from the ground up. Never install such junk on a Mac.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.

  • Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    What does the error say?
    A couple of thoughts: the file is corrupted or is password-protected. Corruption is more likely to cause Numbers to crash & Numbers cannot open password-protected Excel files. Try using one of the free Office clones & see what happens.

  • Intermittent Error 41106 Error when trying to open an Excel file.

    I am having an intermittent problem while opening an Excel file.  The problem only occurs occasionally during execution of my program.  My program has a cluster of buttons each button opens a sub VI that is part of a calibration process.  The first VI generates an EXCEL filename that is used to save all calibration data.  A template is opened, data is placed in this template, and then it is saved under the generated filename.  Most of the time this seems to work fine, but every once in a while I receive a -41106 error indicating that Microsoft EXCEL did not open.  As far as I can tell when I run each sub VI independently they work fine and no errors are generated.  Does anyone know why this might be happening?  I would appreciate any help.
    Thanks 

    What version of LabVIEW and the Report Generation Toolkit are you using?  I remember adding some code in the 1.1 version of the toolkit to attempt to avoid some Microsoft Excel latencies with opening/closing the application repeatedly, but it was by no means fool proof, since Excel sometimes takes its sweet time leaving memory when the application exits.  Without knowing any more specifics, my best suggestion is for you to add a small delay between successive operations regarding opening/closing Excel and see if that helps.  Also, if you could post a simple VI that demonstrates the behavior, that would be extra helpful.
    Oh yeah, and another suggestion would be to open one report reference at the beginning of your program, and use this reference through the whole thing...I understand that this might not be possible, though, if you're opening different worksheets throughout the course of your application running.
    Good luck,
    -D
    P.S. - For those of you reading this wondering why I would automatically assume MegaMan is using the Report Generation Toolkit, he cites error -41106, which is an error specific to this toolkit.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Office 2013 can't open word, excel files from the network after upgrade to 8.1

    Hello,
    Recently, I upgraded all PCs from WIN 8 to Win 8.1. After the upgrade I noticed that I can't open any word documents and excel files. Before the upgraded I have no problem opened any files. All PCs have over 500GB free space on hard drive. Other PCs that
    run Win 7 have no problem open them only the one with Win 8.1. This is what I got:
    I right click--> property and there is no unblocked. All files resided on the network server.
    Please help.
    Jimmy

    Hi Jimmy,
    Did you get any error message when you try to open an Excel file/Word document?
    If so, you can post the error message and  event log here.Also ,if you had antivirus software installed, try to disable them to test this issue.
    In addition, what happens if you add the network server location as a trusted location?
    Wind Zhang
    TechNet Community Support

  • Unable to open multiple PDF files in Acrobat 9 Pro - Vista

    I have a staff member that is unable to open more than one PDF at a time.  If a PDF is currently open and another one is selected the program will crash and close.  It gives a message stating the program has crashed and must be closed and also gives an option to check online for a solution.  Has anyone else seen this issue or know a fix for it?  Thanks in advance.

    No. Starting with Acrobat 9 it is no longer possible to open multiple PDF files in the same window.

  • Not opening multiple RAW files

    If i open a Raw file in Bridge, it opens up perfectly. Also my jpegs and tiff open in RAW, so no problem there. The problem is, that I cannot open multiple Raw files from Bridge into Raw with the option "open in Camera Raw" So the shortcut cmd+R ( I am on a mac) does not work. It says that Raw has to be opened at least once. I have been using Raw for years now so it has been opened multiple times.
    I Can not seem to find a solution. I would really like to open up multiple edited Raw files at once, and in Raw give the order to rename them into JPEG. If you do that, you see Photoshop CC and a window that says how many convertions are left. So far so good...  but before, I was able to open up some new raw files in Camera Raw without having to wait for Photoshop to convert everything. Now I have to wait for a long time before I can make my new Edits. Can somebody please help me?
    I am using all updated software.
    Ben

    Hello SSPRENGEL,
    Thank you very much for your reply. My apologies for the mess up with RAW and ACR naming.
    The situation is, that I can not open any file with CMd-R. I can open single files with CMD-O. But I need to open multiple files at ones with CMD-R. It used to work good.
    The problem is, That I am in the business of school photography. I take the pictures as RAW files on an Nikon camera (nef) After I ajust all the pictures, I have to rename all of them to JPEG, just to get them online.
    I used to do that with ACR. But now the problem is, if I open a lot of picures with CMD-O, It opens up very good in ACR and I still can give the command to save all of these as JPEG. It workt great, but I have to wait a looooooong time before I can open up my next batch of pictures and start to adjust those. Normally, it would save the files as JPEG and I was able to open up a new batch of pictures in ACR right away. That saves me A LOT OF TIME. This only works if you can open the files with CMS-R. Strange...
    I updated my I-mac to 10.9.1 so I see that is not the newest. PS-CC is 14-2-1 x64 and I am using the beta ACR for now (8.4)
    I just tried to open a RAW file in photoshop with the normal open command and it lauches ACR perfectly. But again from within Adobe bridge I still get the same error about needing to open a qualifying product at least once.
    Stange isn't it?
    Thank you very much for your time!
    Ben

  • Opening an Excel file configures MSO Pro 2007

    Using Win7 & MSO Pro 2007.
    When I try to open an Excel file two unusual things happen after the splash window opens
    1> A message box opens and says stdole32.tlb. When dismissed by clicking
    [OK]...
    2> A window opens and starts to configure MSO Pro 2007 which takes 20-40 seconds to complete
    Taking a clue from KB 2528748 ..
    3> I looked in the registry at:  HKCU\Software\Microsoft\Office\12.0\Excel\Options and
          found no NoReReg Key, so
    4> I executed , in the RUN BOX..
       reg add HKCU\Software\Microsoft\Office\12.0\Excel\Options /v NoReReg /t REG_DWORD /d 1
    The registry now contains the appropriate noReReg key BUT the the behavior remains unchanged.
    Is this likely due to the unclear message about stdole32.tlb at
    1>?
    Could some one help me unravel and fix this nuisance problem?
    Thanx
    Arvin

    Hi,
    Please try the following method and check if it is helpful:
    Right Click the Excel>Properties>Compatibility>Choose Run this program in compatibility mode and Run this program as administrator
    Copy/paste a new stdole32.tlb from installation copy or other pc
    More similar issue:
    http://answers.microsoft.com/en-us/office/forum/office_2007-office_install/stdole32tlb-file-missing/ba3e940d-d628-4334-ac89-5e8ac9878093
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28171576.html
    http://andyjwilliams.co.uk/technology/vista-office-2007-installation-problems-stdole32tlb/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Opening an excel file from a button. square brackets in filename

    Internet explorer 6. Apex 3.1
    When I open an excel file (via a button) , it has the filename as follows:
    production_report[1].csv
    The prompt to save or open has the name as production_report.csv
    This prevents people saving the opened file as square brackets are not allowed in the file name.
    Is this an apex issue (ie a problem with the way I specify the filename) or a browser issue, and is there a solution?
    I am passing the filename in to my excel download page using the items/values settings.
    eg
    ITEM P12_FILENAME
    ITEM VALUE production_report.csv

    Yes, It works on firefox. It is only an issue with Internet Explorer.
    However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
    I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help)

Maybe you are looking for

  • TS3212 how do you get your itunes back if you uninstall in on your computer

    how do you get your itunes back if you uninstall in on your computer

  • Multi Row Madness: Insert?

    Hey Guys, I've been hitting my head against a cobbled wall trying to figure this one out. I'm creating a form that needs to support versioning - so instead of ever using an update the form always inserts a copy of the data into the database with an i

  • How to  configure destionation to connect jboss messaging

    first,I install jboss 4.2.2GA ,and Jboss messaging 1.4.2sp3 ,and test they are ok.<br />seconde, I deploy blazeds to jboss and run traderdektop samples,it also ok.<br />third(the problem), I want use jms for flex client consume  jMS ,the  I try write

  • My purchased items aren't appearing in "Music" after ios5 update

    OK, I'll try to put this simply. I'm using an iPhone 3GS if that makes any difference. I updated to IOS5 this morning, and it removed all of my music. Not a problem as I can sync it up again from my laptop. But, I "downloaded" all previous purchases

  • Compressor interface slow to repsond

    Hi, I have just installed FCS and I am using Compressor 3.5.3 to convert some footage into Apple ProRes format ready for use with Final Cut Pro. When I drag a clip into the project window, it appears immediately. However, when I click on the clip to