My excel report is not working in executable file ,however,it works well in vi

Hi all ,
     Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
Thanks & Regards !
sarita
Message Edited by MindPower on 10-24-2007 01:40 AM
Message Edited by MindPower on 10-24-2007 01:43 AM
Attachments:
test datalog.vi ‏264 KB
test datalog-NEW.zip ‏1020 KB

I can't open the vi in the moment. But by your description I think that I know the solution.
When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.
And don't know if these tips are enough.
From NI Zvezdana S.
"When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "
Software developer
www.mcm-electronics.com
PS: Don't forget to rate a good anwser ; )
Currently using Labview 2011
PORTUGAL

Similar Messages

  • VI works but executable file doesn't

    I built an application in LV 8.2 to read in some binary data, create some graphs, and make a microsoft word report.  The VI works just fine.  However, when I build the executable file so that I can run it stand-alone, part of it doesn't work.  I have an event structure which waits for user input from 3 buttons - Make Report, Open Report in Word, and Quit.  Open and Quit both work fine, but Make Report just doesn't seem to do anything.  When I built the executable, I made sure to include all of the source files.  All of my stuff is in the zip file attached.  The top-level is called Graph Report Maker.  Can anyone help me out with this?  I'm probably just doing something wrong when I build it, but I'm not sure what.  Thanks.
    Attachments:
    Report Maker.zip ‏2212 KB

    Yes, there are some RGTK VI's that need to be included as dynamic VI's in the build spec.
    See this KB article for all the details.
    Ed
    Message Edited by Ed Dickens on 07-25-2007 04:34 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Firefighter log report does not show programs executed under SA38/SE38

    We are on version 400_700 of Compliance Calibrator.  When executing the log report, the report name only shows "RFC".  We are testing SA38 & SE38.  I expected the report to display the program name.  Is there something set up wrong or are my expectations too high?  Thanks!

    Hi Vikki,
    I dont think you can see the programs executed under SA38/SE38.
    The functionality of Virsa Firefighter allows you to see the following log reports:
    Firefight log summary
    Reason/Activity report
    Firefight Transaction usage report
    Invalid Firefight ids/Owners/Control
    Log Report
    SOD conflicts in Firefighter
    Hope this helps.
    Thanks,
    Kiran Kandepalli.

  • My Excel 2011 will not open an .xlsb file, how do I open the file?

    I have a working document that I need to access, but my version of Excel will not open the file. It states that there's an issue with the file, and some of the spreadsheet isn't supported "-slicer". Do I need to upgrade my Excel version, is there a patch? I need some direction.
    thank you.

    xlsb files are binary Excel worksheets, and many have problems with them. Make sure your version of Office 2011 is up to date. If that doesn't help, try reinstalling Office.

  • Executable file won't work in terminal when I'm in it's folder

    I don't get it, I thought I could just go to a folder then I can execute an excutable file in that folder by simply typing it. For some reason terminal wants me to put in the entire path of the file to execute it even if I'm in the folder. Clearly this isn't DOS . How do I do this? ./<file> ? Is that correct? Thanks.

    Your PATH environment variable tells the shell where to look for commands you type, if there is not path information.
    If you want the shell to look in the current working directory, your PATH environment variable must have a period as one of the entries.
    export PATH=".:$PATH"
    would make your shell look in the current working directory for the command you are entering before looking in any of the other PATH directory.
    NOTE:  This can be considered insecure, as if you are on a multi-user system, and then are in some directory where another user has put a file such as 'ls' that you execute instead of the /bin/ls, then you could be tricked into doing something the other user wants.
    Or you can invoke commands in any random directory by supplying ./ in front of the file name, or providing the full path.

  • FlashPlayer 9.0 r 115 executable file don't work, opens a blank screen

    Hi,
    I'm publishing my projector from flash cs3 (embed flashplayer 9.0 r115).I burnt my cd-rom but it doesn't work.
    It opens a blank window, in Windows 7 and Vista.
    Not always, I mean ... It works in most of computers I try to execute, but I get this problem in a few cases.
    I can't get the solution, please anyone can help me?...
    It is a fullscreen projector and uses actionscript 2.0.
    Thanks a lot

    Ok,
    This is normally a setting in a modem or router about DOS or SPI protection.
    Turn it Off if you have it.
    Also Check Internet Sharing is Off.
    Your log suggests that you are using a Airport Base Station of some sort (or one end is)
    If it is your end you will not fond DOS or SPI there it will be the modem.
    5:01 PM Sunday; November 11, 2007

  • RMS reports do not open in a new window

    Hello,
    I am trying to access RMS reports (Control -> View reports). I am using IE 6.0 . No pop ups are blocked. But the new IE window which shows the report is not being displayed. This however is working fine for 2 of my colleagues who have IE 7.0 . But the documentation says that it should work for IE 5.5 + . ? Any suggestions ?
    Best regards,
    brinda

    Hello Sachin,
         Please get in touch with your portal consultant and ask him to check with the Iview integration. Also do ask him to check with the Event button.
    BR
    Gaurav Gautam

  • Excel report generation error

    Hi,
    Does anyone have experienced (and solved) this behaviour?
    I've been using the report generation toolkit to build word report without
    problem. I've also solved a lot of problems in the excel part of the toolkit
    (e.g. building graphs with >20000 points). It finally works in development
    environment.
    Now when I install the executable (, with the installer) the word reports
    still work, but the excel report don't. The executable does run on a
    different system, but the excel versions are the same (both Excel 2000).
    I have copied the excel library in the data directory of the executable.
    The following error is generated:
    -2147319784
    Old format or invalid type library
    Excel_Open.vi
    This is the first report generation vi that is called. I us
    e it to open a
    template.
    Any help is appreciated.
    Wiebe.

    Hi,
    Surfing the internet, I found this comment:
    *Start quote*
    Sometimes you'll find that a parameter is required that isn't mentioned
    anywhere in the application's documentation. This happens when you need to
    specify system information: the chief example of this is the lcid, which is
    a locale identifier, and which pops up all over the place in Excel. The good
    news is that there is a constant in the Windows unit which provides you with
    the correct value, LOCALE_USER_DEFAULT:
    var
    lcid: integer;
    begin
    lcid := LOCALE_USER_DEFAULT;
    Excel.Visible[lcid] := True;
    There's also a function, GetUserDefaultLCID, but using that value can cause
    an error, complaining about an 'old format or invalid type library' on some
    setups. Using LOCALE_USER_DEFAULT for the
    LCID value should fix that.
    *End quote*
    Could this be the problem?
    Regards,
    Wiebe.
    "Wiebe@AIR" wrote in message
    news:3e79a3aa$0$140$[email protected]..
    > Hi,
    >
    > Does anyone have experienced (and solved) this behaviour?
    >
    > I've been using the report generation toolkit to build word report without
    > problem. I've also solved a lot of problems in the excel part of the
    toolkit
    > (e.g. building graphs with >20000 points). It finally works in development
    > environment.
    >
    > Now when I install the executable (, with the installer) the word reports
    > still work, but the excel report don't. The executable does run on a
    > different system, but the excel versions are the same (both Excel 2000).
    >
    > I have copied the excel library in the data directory of the executable.
    >
    > The following error is generated:
    >
    > -2147319784
    > Old format or invalid type library
    > Excel_Open.vi
    >
    > This is the first report generation vi that is called. I use it to open a
    > temp
    late.
    >
    > Any help is appreciated.
    >
    > Wiebe.
    >
    >

  • Parameter issue - report not generating any pdf files

    Hi All,
    I'm trying to run a report which generates pdf files. Is there any limitation on the parameter string size? For one of the parameter values - '11F EA Accept nonhonor ASnSOMnSON_20091201090150846' the report is not generating any pdf files. I assumed the reason is of the keyword 'AS' in it and created another parameter value - '11F EA Accept nonhonor AnS-SOM-SON_20091202074331997', but it is also not generating any pdf files. I get this message from Adobe Reader " There was an error opening this document. This file cannot be opened because it has no pages. " The report is working normally when i hardcode the same parameter values into the logic. Any suggestions on this?
    Thanks.
    Edited by: user1049091 on Dec 2, 2009 9:17 AM
    Edited by: user1049091 on Dec 2, 2009 12:37 PM

    Tim,
    That report is working normally for all the parameter values, except this one. It is not working only if i pass the value - ''11F EA Accept nonhonor ASnSOMnSON_20091201090150846' as a parameter. It is generating the pdf files when i hardcode the same value into sql query logic in the data template, instead of passing it as a parameter. Please advise.
    Thanks.

  • Launch Excel Reporter

    When i used the ID/Password of the laptop administrator, i'm available to launch XL Reporter from SBO, but when i'm using one user ID (defined as administrator on the laptop), i've the message when i try to launch XL Reporter from SBO :
    "A required COM Add-In program for Excel Reporter has not been loaded and prohibit Microsoft Excel for running"
    XL Reporter Release 6.80.01.05
    SBO Release : 2005 SP 01 patch 11

    Hi Give this a go.  Its from SAP note 853343, I've had to do this a few times before.
    Please mark it as answered if its resolves your issue and reward points if useful.
    Regards,
    Adrian
    Manually Loading the XL Reporter Excel COM Add-In
    Symptom
    If you install Microsoft Office after installing the XL Reporter application or use another Windows user than the one you used when installing XL Reporter, you can get an error message.
    Other terms
    XLR, SBO, ilytix
    Reason and Prerequisites
    The reason for this is that the report writer COM Add-in has not been loaded, which prohibits Microsoft Excel from running.
    Solution
    1. Start Microsoft Excel. If you already have the COM Add-ins command on the Tools menu, go to step 7.
    2. In the Tools menu, choose Customize.
    This opens the Customize window.
    3. Choose the Commands tab and select Tools from the Categories pane on the left.
    4. In the Command pane on the right, scroll down to the COM Add-ins command.
    5. Select the COM Add-ins command, hold down the mouse button, and drag COM Add-ins from the Commands pane over to the Tools menu on the Microsoft Excel men bar. When the Tools menu commands appear, point to where you want the COM Add-ins command to appear on the menu and release the mouse button.
    6. To close the Customize window, choose Close.
    7. On the Tools menu, choose the new COM Add-ins option.
    This opens the COM Add-ins window.
    8. In the window, choose Add to open the Add Add-in window.
    9.Select the IXXLReporter.dll file located in the Client directory in the XL Reporter program installation area and choose OK.
    10. In the COM Add-ins window, select the XL Reporter checkbox and choose OK.

  • "could not get an output file for the document (error RWI 00314)"

    Hi
    We are getting the following error when running the Webi Reports "could not get an output file for the document (error RWI 00314)". The issue seems to be related to Tomcat Memory Heap size, our Tomcat Java heap Size is 1024MB. We were able to resolve  the issue by restarting the Tomcat. We cannot restart the Tomcat in Prod if this is happening frequently.
    Can some one please suggest  any other solution other than restarting the Tomcat frequently, our platform is BOBJ XI 3.1 SP3 with FP 3.1 our Wndows OS is 32 Bit.
    Thank's for your help

    Hi Sreeram,
    Earlier i also faced same kind of problem.
    To solve this kind of problems you need to shutdown the server.
    second thing is when patches missed that time also you will get this kind of problem.
    check j2ee connection is it properly working or not?
    Regards,
    samar reddy.

  • Photoshop CS6 keeps freezing when I work with large files

    I've had problems with Photoshop CS6 freezing on me and giving me RAM and Scratch Disk alerts/warnings ever since I upgraded to Windows 8.  This usually only happens when I work with large files, however once I work with a large file, I can't seem to work with any file at all that day.  Today however I have received my first error in which Photoshop says that it has stopped working.  I thought that if I post this event info about the error, it might be of some help to someone to try to help me.  The log info is as follows:
    General info
    Faulting application name: Photoshop.exe, version: 13.1.2.0, time stamp: 0x50e86403
    Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988950
    Exception code: 0xe06d7363
    Fault offset: 0x00014b32
    Faulting process id: 0x1834
    Faulting application start time: 0x01ce6664ee6acc59
    Faulting application path: C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Photoshop.exe
    Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
    Report Id: 2e5de768-d259-11e2-be86-742f68828cd0
    Faulting package full name:
    Faulting package-relative application ID:
    I really hope to hear from someone soon, my job requires me to work with Photoshop every day and I run into errors and bugs almost constantly and all of the help I've received so far from people in my office doesn't seem to make much difference at all.  I'll be checking in regularly, so if you need any further details or need me to elaborate on anything, I should be able to get back to you fairly quickly.
    Thank you.

    Here you go Conroy.  These are probably a mess after various attempts at getting help.

  • Report runs fine in Analyzer but not working when executed fromQuerydesig

    Hi,
    I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
    But the same report executes fine in the Bex Analyzer.
    If any one has faced this issue earlier,update us reg that.
    We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
    Vamsi

    Hi there,
    Can you please let us know what cache settings you changed, as we are having the same issue.
    Many thanks

  • Report runs fine in Analyzer but not working when executed fromQuerydesiger

    Hi,
    I have a issue with the Bw report which is not showing any data for Keyfigureswhen i execute the report related to APO from Bex query designer in Web.
    But the same report executes fine in the Bex Analyzer.
    If any one has faced this issue earlier,update us reg that.
    We are doubting any prob related to catch memory as the java link for the report is not working.Report works fine in RSRT.
    Vamsi

    Hi there,
    Can you please let us know what cache settings you changed, as we are having the same issue.
    Many thanks

  • SCOM reports not working, with execute permission denied error.

    Operations manager 2012 R2,
    some reports stopped working. Then i open report and click "add object" or "add group" i get error:
    Note:  The following information was gathered when the operation was attempted.  The
    information may appear cryptic but provides context for the error.  The application will continue to run.
    The EXECUTE permission was denied on the object 'ManagedEntityTypeGetBySystemName', database
    'OperationsManagerDW', schema 'dbo'.
    In SQL  there is EXECUTE permission on object 'ManagedEntityTypeGetBySystemName'
    Reports which not required to specify object or groups are working as expected.
    what esle can be wrong ?

    Hi,
    Please refer to the blog below. It tell us how to grant permission to objects.
    http://www.ndoubleor.com/the-execute-permission-was-denied-on-the-object-database-schema-dbo/11/2009/
    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Juke Chou
    TechNet Community Support

Maybe you are looking for

  • HT204053 Can I use one Apple ID for iMessage/Facetime that is not the same as my iCloud ID?

    I have one Apple ID for iCloud that is used on multiple devices. Each user has their own Apple ID for Store purchases.  Can I use my Apple ID that is NOT my iCloud ID as a way to get my iMessages/FaceTime on multiple devices?

  • Z30 not boot: no screen, not led lights, nothing...

    Hi, I can't believe this is happening to me. it's mt 4th blackberry, but something like that never happened before. I have z30 for a year now. today, after finished a phone call and starting a new phone call, the phone calls app stop responding. so I

  • Help with Adobe photoshop cs3....

    Hello. i need help with something. i'm trying to switch the mode so that both of my files will show up at the same time in cs3. i understand there is a command for it, but i don't know what it is. can someone please help me with this issue? help woul

  • Cross Component Navigation Error

    Hi, I'm trying to navigate back and forth from DC A View A and DC B View B, follow the "How to Navigate Inside WDP Interface Views" tutorial by Bertram. My steps to navigate from DC A View A to DC B View B: 1. Create outbound plugs at the DC A Interf

  • Why interfaces?

    I have difficulties in understanding why would I use an interface if I wanted to communicate between two (or more) classes. Because the interface is by definition abstract, every class implementing the interface has to accept all of its methods (if n