ActiveX and excel error "-2147287038"

Hi all,
        I'm trying to open excel via the ActiveX "automation open"function, however it occurence  a  error when running the program. The error is detailed as follow:
error code"-2147287038",string illustrate"未命名 1中的Unknown System Error". Can any guy help me for explaining the problem?
Thanks a lot in advance

Hi all ,
        Please you help to answer my question,because i learned the labview myself,so many question can need higher help to explain.
Thanks,
Solon

Similar Messages

  • Bug Appeal: LV6 activeX with Excel; Error -2147319784

    At Thu, 16 Nov 2000 14:55:00
    "Dominic Lavoie" wrote:
    <-2147319784 Old format or invalid type library.
    Dominic and others
    This is an old bug in LabVIEW that I have been fighting
    with for several years. The problem (as I have seen it) is that
    LabVIEW for some reason on some PC's suddenly becomes unable to read
    from the (NT-) registry that Excel is installed as an
    available ActiveX component on the machine. In my case the
    Excel8.olb file.
    Under earlier verion of LabVIEW no error messages
    was generated, but you could see the problem when entering
    the list over ActiveX classes, Type library. Suddenly the Excel
    would be gone from this list, and it will not come back no matter
    how you try to install, reinstall or reconfigure the Excel (or Office)
    system. (And the Regsvr32 program does not handle OLB files.)
    The only way I have heard to fix it, is to reformat the
    harddisk and install the OS and everything fresh. But you might
    see the problem coming back again.
    There might be a possibility that this bug is not NI's, but one
    in the OS. When I use other programs to View/Edit the registry,
    these programs have no problems of detecting the Excel library.
    So I believe it is a LabVIEW bug !
    When working with Excel and ActiveX with this problem
    meant that you had to manually browse to the OLB file each time you
    would want to work with it, or you would sometimes get messed up
    the wires and VI's working against the Excel library.
    Now, under LabVIEW 6i, this situation creates the error message
    -2147319784, and the problem suddenly seems much bigger.
    I have reported this bug two month ago to NI, together with some
    other people that has seen the same problem. So far NI has not
    been able to locate the problem in detail or done anything with it,
    as far as I have been informed.
    This has been a very frustrating experience for me, because there are
    many other features under 6i that I would like to use right away.
    But since I am working a lot with Excel as a data format from LabVIEW,
    I cannot proceed with 6i before they have broken this bug.
    So now I would like the LabVIEW community to help me push NI
    a little in their effort to debug this one.
    All questions of course assuming that you have installed Excel
    on your PC.
    Could as many as possible out there check out if,
    when testing the ActiveX/Excel examples;
    A) under 6i; do you get the Error -2147319784 ? (YES or NO)
    B) under 5.1.1 or earlier; can you run the example Write Table to XL.vi ?
    (YES or NO)
    C) if B=NO, can you locate the Excel library in the ActiveX class list ?
    (YES or NO)
    D) Where in the world are you located (country) ?
    (Some has speculated that this bug might be connected to a problem
    with different OS versions in different parts of the world.)
    E) What version of Excel are you using ?
    F) What OS are you running ?
    If you can't do both A and B/C, send me the one you can.
    Please report your results directly to me.
    DO NOT REPLY TO THIS LIST. I will send a
    summary after a couple of weeks, to let you know
    the results. And also if NI seems to make any progress here.
    best regards
    Martin Plassen

    "[email protected]" wrote in message
    news:[email protected]...
    > Martin, I'm not sure how to reply directly to you. (I can't find your
    > email address or anything.) I may be experiencing a very similar
    > problem. I am trying to generate Excel reports using LabVIEW 6.0
    > under a Windows 2000 OS. Under Win95 in LabVIEW 4 I had no problem
    > but I recently updated. Now I can't even open Excel using the NI
    > distributed LabVIEW 6i Excel toolkits from ni.com. When I execute the
    > Open Excel vi I get a Windows error message, "Labview.exe has
    > generated errors and will be closed by windows. An error log is being
    > created." Could this be the same problem dominic was having under WIN
    > NT?
    dmbillings
    It seems NI has been so kind as to remove the fix on this problem
    from their Knowledgebase. Well, I dug up some old e-mails on the subject,
    and here's one you should look through. According to NI this problem
    should have been fixed under LV 6, so I really hope this is not what you are
    facing...
    Martin
    Good news for all of you,
    we have a bug-fix that seems to do the trick.
    Here's the recipe , with my words:
    Do You have the bug ?
    You can confirm that the bug is there, by opening a new file in LabVIEW,
    in the diagram, insert an Automation Open.VI, right-click on it,
    Select ActiveX class, Browse, and check the Type Library list.
    You should not see the Microsoft Excel5 and 8 library in the list,
    if the bug is there.
    As I have suspected for a long time, the whole bug was related to
    how LabVIEW read the registry at startup to locate all ActiveX
    components on the machine.
    Here's the fix to try out;
    1. Open the RegEdit program
    2. Under HKEY_CLASSES_ROOT locate the TypeLib
    3. Locate the Excel-key
    On my machine this is {00020813-0000-0000-C000-000000000046}
    (You will find it on top part, I think, not necessary to browse long
    down.)
    4. There are two base keys there, named "1.0" and "1.2".
    Under the "1.0"-key, right-click and create new key, name it "0"
    (zero).
    5. Under the new "0"-key, create a new key kalled "win32".
    6. Under the "1.0"-"9"-"win32" key you will find the link to the
    Excel5-library on the machine, copy this link into the key you created
    under pt 5.)
    On my machine this is "C:\Program Files\Microsoft
    Office\Office\XL5EN32.OLB".
    That's all. Exit RegEdit.
    Afterwards, check again that the Microsoft Excel5 and 8 libraries
    is on the LabVIEW list mentioned above. After restarting LabVIEW of
    course. It is not necessary to restart the PC.
    Attached you wil find two gifs showing how this should look
    in RegEdit before and after the described operation.
    Good luck
    PS: hacking around is the registry are do be done with
    caution. The wrong actions here could have large consequences.
    The two attached pictures should help you out,
    but if you feel uncomfortable by working with the registry,
    try to hook on to some hacker around that has been there before.
    As I understand it, this is the reason that NI asked me also not to
    give this info directly to the List-server. So please don't do it
    you either. I plan to put the word out about the fix, not with these
    details, but with a reference to the NI Knowledgebase that soon will
    have this info.
    You are welcome to send me a conformation that you see the
    fix is working, or worst case, not.
    Martin

  • ActiveX and Excel Questions

    I've done searches and haven't really found what I'm looking for so maybe you guys can help.
    Basically what I want to do is retrieve a named location from Excel and place it on the front panel. I figure the way to do that would be to have an ActiveX container and put the data into that. It is here where I get stuck. Is this possible? I haven't found a way to do that from browsing the VIs and properties. There's a clearer list below of the order I want to do things in.
    1) Open Excel (done);
    2) Retrieve an area of my excel file (done);
    3) take the excel 2-D data area and put the data into a specific area (inside a box for instance) on the FP;
    4) Do what ever I wanna do to the data and write (and save) it back to Excel;
    5) Close Excel (done)
    Is this possible? Or am I being a little too ambitious?
    Gary D

    mikeporter wrote:
    Doesn't sound very ambitious at all. There are many examples shipping with LV on how to interact with Excel. In addition, I have within the past day or so seen some posts on how to read and write 2D arrays of values. I guess my question is that if you are going to be manipulating the data in LV, why mess with Excel at all?
    Mike...
    The way our files are edited now through LV is a pain. Everything is stored in Excel but the data presented in a manageable, albeit very tedious, way through our interface. I'm trying to make it easier to view and easier to change multiple things at once by basically allowing the user to edit the Excel stuff from the LV environment where the data will look like more than justa bunch of numbers in rows and columns.
    Thanks for the info though, I'll revise my searches and see if I can find some clues to help me towards my goal. Thanks.
    Gary

  • Move from Windows to Linux or a RT system that uses ActiveX and Excel?

    So I have a Labview Windows application, which access an Excel file via an ActiveX VI.  I want to port this to Linux or even a RT system.
    Can this be done and still access the Excel file?
    Thanks.

    no.
    ActiveX is pure Windows, you can't use this technique on another platform. only thing you can do is to write your data to a file (text or binary) using the file IO functions and then re-read these files with a second app on a windows platform and write it to excel or access.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • ActiveX and Excel Charts

    I am currently using LabVIEW 6.0.2 on a WIN98 Machine with Office97. The problem I seem to have is with a chart. I have a chart template created and saved as an XLT file for Labview to call. I then write 401 points of data to the page that is linked to the chart. The chart basically frequency vs amplitude. Y-axis for Amplitude ans X-axis for Freq. the Amplitude is always -4 to 4 and the frequnecy changes, in one instance it is 5.85-6.425 and the chart x-axis range is 5.80 to 6.50 which is great. but when the frequnecy is changed to 5.85 to 7.10 the chart range if 0 to 8. If I could find a way to programmatically change the range I would but I don't see anything. Right now thw Office tool kit is not an option as I am still trying to get the company I am at to upgrade to LV 7.1. if I remove point of data from the middle the chart range shows the same. as it fills the data I can watch it shift from the left but I am not sure how to fix it..
    Attached is a zip file with the 2 charts I am describing
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect
    Attachments:
    chart.zip ‏42 KB

    Im still confused how you guys are pulling the ref num for the chart out of these nodes??
    Ive tried pretty much every combination of Invoke Node, property node, and used ChartObjects, ChartObject, Chart, Charts.... all I want to do is change the title of my chart.
    I've looked at the VI that was posted above that requires a chart ref num... but how the heck do I get the chart ref num from?
    Is it off the workbook or worksheet?
    GRRRRR, very aggrivated. Im sick of searching through endless heirchies of ActiveX garbage!!!!
    Message Edited by MJBrehm on 08-17-2006 03:01 PM
    Message Edited by MJBrehm on 08-17-2006 03:03 PM
    Attachments:
    ActiveXError GRRRRR.jpg ‏507 KB

  • Report Generation Toolkit Excel errors and Libraries, Classes

    Hello All,
    I'm using the Report Generation toolkit Excel functions to handle some data and create graphs.  I'm running into problems with the Add Worksheet.vi.  At the very start of the vi, it closes the reference to Shapes.  Occasionally, the Close Ref will throw an error.  I haven't pinned down the exact cause yet (probably an invalid reference).  The error itself wouldn't be a problem.  Under other circumstances I would choose to ignore it and continue on.  The problem is, this is stored in a Class Library controlled by NI.
    Solutions I've tried without success:
    1.) Make changes, and save the new vi with another name - can't do it because it's encapsulated and the Library is password protected.
    2.) Install toolkit in something other than the default folder, so I can make changes and put it under Source Control - installer doesn't allow a new path to be entered.
    3.) Change the vi where it is.  This works until I move the source to another computer or I update Labview.  At that point I lose all my changes.
    Maybe it's just my inexperience with Classes, but I just don't see an elegant solution to this.  Ultimately I'd like to copy the library off to somewhere else and put it under Source Control so I can make changes and additions to it (NI folks - providing a password to unlock the lib would be helpful...).  Does anyone have suggestions on how I can accomplish this?
    Thanks in Advance,
    Doug

    Hi Ben,
    Sorry about the first post.  After re-reading it, it sounds more like a frustrated rant than a request for help.
    I've attached a simplified vi to try to illustrate the problem I'm having.  I'm running Excel 2007.  Please open the vi, then open Excel Add Worksheet.vi.  At the start of the vi, Close Ref for Excel.Shapes occasionally throws an error.  So far, I have not been able to consistently reproduce the error, so I can't really troubleshoot it.  As I recall, the error code is 1045.  The error is carried through the rest of the vi, causing invalid references to be written to Excel._Worksheet and Excel.Shapes, going out to NI_report.ctl.
    So, here are the issues I'm running into (other than the error itself):
    1.)Short of closing and reopening the file, there is no way to recover from the error.  After the error, there is an invalid reference in Excel._Worksheet.  There is no vi available to regenerate references in NI_report.ctl.  I could easily write a vi to start from Excel._Application and re-read them, but because NI_report.ctl is in a Class library (controlled and passworded by NI), I can't add the vi to the library.
    2.) I found that I could ignore the error by wiring around it.  If I disconnect Error Out from Excel.Shapes Close Ref and wire Error In from Excel.Sheets.Count to the Error In of the Close Ref, everything works fine.  Under other circumstances, I'd save this with a new vi name (because functionality changed) and continue on.  But, because the vi is part of a Class library (controlled and passworded by NI), I can't do this.  I can save the vi with the modifications (because Excel Add Worksheet.vi is not passworded), but if I pass the source off to someone else, they will have to make the same changes on their installation of the NI Report Generation Toolkit.
    Again, I can't reproduce the error with any regularity.  I've run the example vi I provided a few times and everything seems to work fine.  If I come up with something, I'll repost.  If you (or anyone) has an idea of what could be failing or if they've seen the problem, I'd appreciate a comment.
    Thanks again,
    Doug
    Attachments:
    Excel Fail.vi ‏15 KB

  • LabVIEW and Excel with ActiveX

    Hi,
    I am using LabVIEW6.1 and I am trying to format data for printout that I have stored in Excel using activeX.
    I have three questions that I included the recorded Excel macro for:
    1) How do I set the horizontal and vertical page breaks using ActiveX?
    Excel macro:
    Set ActiveSheet.VPageBreaks(1).Location = Range("F1")
    Set ActiveSheet.HPageBreaks(1).Location = Range("A41")
    2) How do I set the print area using activeX?
    Excel macro:
    ActiveSheet.PageSetup.PrintArea = "$A$1:$J$57"
    3) How do I left, right center justify the content of cell using ActiveX.
    Excel macro:
    Range("B3:B8").Select
    With Selection
    .HorizontalAlignment = xlCenter
    End With
    Thanks in advance for your time.
    KMA

    You cannot index the VPageBreaks if you are creating a new worksheet. You would use the index to change an existing VPageBreak. To create a new VPageBreak, replace the Item method with the Add method. Wire the range ref directly into the Before input. I fixed your VI and attached it.
    To get the value of the xlCenter constant, open the Visual Basic editor that comes with Excel and use the Object Browser (F2). Type xlcenter into the search window and click the binoculars. The value is displayed at the bottom of the window. You will use that trick a lot when looking for the Excel constants for LabVIEW.
    Michael
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector
    Attachments:
    Excel_Page_Break_mod.vi ‏67 KB

  • HttpWebRequest_WebException_RemoteServer error when opening MDS Explorer and Excel addin also throws an error

    HI,
    I am facing a big problem every now and then and  It is intermittent is what i have seen.
    I keep getting be bleow error messare on my MDS Explorer. I am having MDS2012 installed both UI and excel addin gives error 
    My machine is a 2008 R2 Enterprise Web Server x64
    I have checked my Authentication settings, and Windows Auth is enabled for the site and for Services folder and so is Anonymous on Services folder.
    The error happens both on the machine itself and from a client machine.
    The Same time excel addin throws the below error
    But when do a complete  Restart of the server or Do a IISRESET on the server by going to >> RUn >> IISRESET ,
     it starts working back normally. But this keeps happening very often. How to solve this . It is getting irritating for customers to use it. Please help.
    This is the log details say:
    ===================================
    The requested service, 'http://ausapexweb01:81/service/service.svc/bhb' could not be activated. See the server's diagnostic trace logs for more information.
    Program Location:
    Server stack trace:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at Microsoft.MasterDataServices.AsyncEssentials.AsyncResultBase.EndInvoke()
       at Microsoft.MasterDataServices.AsyncEssentials.AsyncExecuter`1.EndExecute(IAsyncResult ar)
       at Microsoft.MasterDataServices.ExcelAddInCore.ConnectionManager.<>c__DisplayClasse.<TestConnectionAsync>b__c(IAsyncResult ar)
       at System.Threading.Tasks.TaskFactory.FromAsyncCoreLogic(IAsyncResult iar, Action`1 endMethod, TaskCompletionSource`1 tcs)

    Hi Tejaswini,
    Please refer to the following article to troubleshoot this issue:
    http://blogs.technet.com/b/beatrice_popa/archive/2013/01/31/master-data-services-issue-with-https-error-message-httpwebrequest-webexception-remoteserver-arguments-notfound-debugging-resource-strings-are-unavailable.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Word and Excel 2013 error: Disk is full

    I have several Windows Server Standard 2012 RDS with Office 2013 Standard 32-bit.
    Servers are fully updated with Windows Update.
    On all of them we get errors in Word and Excel.
    Word:
    Microsoft Word
    The disk is full or too many files are open.
    P1: 200890
    P2: 15.0.4535.1000
    P3: ajeusP4:
    Excel:
    Microsoft Excel
    The disk is full.
    P1: 100105
    P2: 15.0.4535.1003
    P3: ajeusP4:
    The disk is not full :)
    Anybody else seen this?

    Hi
    If the document contains corrupt or invalid links, follow the methods below to solve the issue:
     Method 1: Save Your Word Document as Rich Text Format
     Method 2: Save Your Word Document as a Web Archive
     Method 3: Test for Invalid Object Links
     Method 4: Paste the Problem Object as a Picture
     Method 5: Recreate the Microsoft Equation Object
    If you are running the Bgmail utility, edit the Winstart.bat file or the Autoexec.bat file, and place a semicolon (;) at the beginning of the Bgmail.exe line to temporarily turn it off. Save and close the file, and then restart Windows and run ScanDisk.
    For more information about how to resolve the issue, refer the link below:
    http://support.microsoft.com/kb/224041#appliesto
    (Although it is for Word 2000, we can apply to it)
    Regards
    Tylor Wang
    TechNet Community Support
    Thanks for your reply.
    We will try this on Word. But what about Excel?

  • Excel 2013 "cannot use object linking and embedding error"

    Hi
    We are using excel export as pdf functionality and have the following DCOM configuration
    1.start->run and type 'DCOMCNFG'
    2: Open 'DCOM Config' and locate 'Microsoft Excel Application'
    3: Set its identity to 'This User' and give specific service user
    On opening excel  we are getting  "cannot use object linking and embedding error" and the microsoft sugestions tells to change to launching user which is not an option for us,Is there any other suggestion to fix this issue by keeping Dcom
    configuration with'This User'
    Thanks in advance
    Pradeep

    Hi
    when excel is opened, a warning pops up saying "Cannot use object linking and embedding" . This
    fix change the DCOM ID to Launching User) does not work for us. We need the Excel DCOM ID to use a particular user "domain\user" in order to access excel from our website.
    Is there any other suggestions
    Thanks in advance
    Pradeep

  • Opening the activeX control "Excel.FormatCondition" class

    I am using activeX controls for excel including the classes Excel._Application, Excel._Workbook, and Excel._Worksheet. I used an open automation refnum to open the application class, then I used property nodes to get to the workbook and worksheet classes. Now I want use the Excel.FormatCondition class. I couldn't get to the class with nodes and methods, so I'm using an open automation refnum as before, but I'm getting "Error 3005 occurred at Automation Open".
    I found another post with advice to register the controls, but I read that the excel activeX controls don't need to be registered--they just work in windows.
    If I do need to register something, I dont' know what. I'm using LabVIEW 8.6, and Office 2007.
    Andrew
    Solved!
    Go to Solution.
    Attachments:
    formatcondition.PNG ‏4 KB

    Here's a picture (scaled-down excerpt of my project) to show how I'm opening the application class and using invoke nodes and property nodes to get to the workbook and worksheet classes. I used a cluster to group the classes that I use later on, so you'll notice that I'm not closing the classes in this exceprt.
    I went through all the drop-down menu's in the invoke nodes and property nodes and I couldn't find a way to get to "FormatCondition" so I figured I'd have to use an automation refnum, and select the "Excel.FormatCondition" class, and another automation open (which is what I tried showing earlier). I understand I have to specify a range, but I'm not quite there yet. (Sorry if I mis-led you, Michael, with my first attachment.)
    Does that clear up my question?
    Andrew
    Attachments:
    ExcelCodeExcerpt.PNG ‏20 KB

  • Microsoft excel error while exporting a FRS report from Planning to excel

    I have multiple screen shots of the issue.
    are getting issues when within citrix trying to run an FRS report from workspace into excel.
    first they get a windows login window looking for credentials of a User name and a Password.
    the first error:
    "Could not open 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'.
    second error:
    Microsoft Excel cannot access the file 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another person
    The workbook you are trying to save has the same name as a currently open workbook.
    Third error:
    The file you are trying to open, 'FILENAME.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file do you want to open the file now?
    yes , no, or help
    I am trying to figure out if its a CITRIX issue? An EPM issue? or what
    We have Office 2010 32 bit with smart view and excel add-in.
    Does anybody know why this may occur? I have screen shots I just don't know how to post them.

    When you export a FR report to excel, yes, you will get a prompt for credentials, but as said in 11.1.2 HFR guide, you have to ignore that by clicking "Cancel" and then you will get a second warning pop-up saying "The file you are trying to open, 'FILENAME.xls', is in a different format ........"... Click on "Yes"... you should be able to see the report in excel....
    Both these are known issues in HFR export to excel and you can find them in oracle features guide. And they are not related to Citrix.
    As in Oracle HFR user guide "When exporting a Financial Reporting document to a Microsoft Office format (Excel, Word or PowerPoint), when using Microsoft Office 2007, you may receive the following warning: "The file your are trying to open <filename>, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?". This warning notifies users that, although the file has an Office extension ( ".xls", ".doc" or ".ppt"), the content of the file is different from the expected (native) Office format. Although Financial Reporting reports are generated in an MHTML format during export, this is not a security concern. Microsoft Office is just warning a user of a file format that is different than expected. Upon selecting “Yes” in the warning, the file will successfully open in Microsoft Office."
    Thanks,
    Siva

  • Excel error -2146777998

    Hi LabView community,
    I wonder is someone has encountered this problem before me. I am maintaining an application which generates 2 excel reports which are similar. The app generates them in a case structure wired to the loop value (i) of a for loop. (1st report in case 0, 2nd report in case 1)
    All is good and works well on a development system, and 2 other PCs but on one particular customer PC, the above excel error occurs sometime between finishing the 1st report and starting the 2nd.
    Meagre Google links point to problems not closing Excel after the 1st report - which is fine, but in my code there is only 1 reference to the report which is passed through each invoke node until there's a "Dispose Report.vi" at the end.
    I also dont understand why, if excel being open causes this error, the error doesnt occur on the other 2 test PCs (all PCs are Windows 7-64/ Office 2010).
    If Excel is opened again in parallel thanks to the marvels of auto parallism, this also confuses me because at the end of the 1st report there is a small delay inside a flat sequence so this would seem to restrict auto parallelism by using rules of dataflow , as well as the for loop generating the report mentioned earlier.
    If I swap around the order of report generation, the failure still occurs between report 1 & 2.
    Any ideas , world?
    System is LabView 2011
    Thanks,
    Chris
    Attachments:
    Dispose Report.png ‏12 KB

    Hi El_Penguino,
    The Dispose Report does close the reference to the report, however in my research it seems that Excel occasionally stays open behind the scenes, which may be what's causing the error. After you receive the error, open up Task Manager and see if there's an Excel process still running when Excel is not open. If so, stop the process, and attempt running your program again.
    Here's the discussion I found that mentions the background Excel process messing with the Report Generation Toolkit:
    Error -2146777998 Unkown System
    http://forums.ni.com/t5/LabVIEW/Error-2146777998-Unkown-System/m-p/720393/highlight/true#M329651
    I hope this helps!
    David S.

  • The dock in Maverick is doing strange things to word and excel files

    For years (and Mac operating systems), I have kept Microsoft word and excel documents on my doc. I use these documents frequently...click on the file icon in the dock, it opens, I edit and save. Click on the icon again and the saved document opens. so simple.
    Since upgrading, I click on the icon, the file opens with a number following the file name (version number I assume) but before docx or xlsx. I edit and save, but get a "save as" box. Now I have to edit the file's name, find the original and replace the original with the new version. Not so simple.
    Since I open and close my daily billing log many times a day, this has slowed me down (and irritated me).
    I have had no other problems with my Maverick installation and these files are in Word and Excel 2008. This does not happen to powerpoint or any other file I tried so far.
    Any suggestions on how to solve this?

    Your Mac will generate a new .plist file automatically after restart.
    Deleting the .plist file shouldn't delete any app icons from the dock.
    Check the startup disk just in case.
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If DU reports errors, restart your Mac while holding down the Command + R keys.
    From there you can access the built-in utilities to repair the disk using OS X Recovery

  • VB6 and Excel loading then unloading immediately

    First off I posted this here
    http://social.msdn.microsoft.com/Forums/office/en-US/4c07879b-e033-4e8f-8266-95f9f606923a/vb6-and-excel-loading-then-unloading-immediately?forum=exceldev However I think this is the right forum for this.
    We have an old VB6 application that uses data from and to Excel 97-2003 XLS and
    Access MDB. This application is slated to be updated to VS2012 and VB.NET. In
    the mean time I have a glitch that I cannot seem to find the issue. When we
    load the VB6 app it opens Excel 2010 in the background for getting and setting
    data. We are set to roll out Office 2010 on everyone’s system and I am still
    unable to find why it works fine on two systems and not on others. With Office
    2007 everything seems to work just fine.
    What happens is when I look at the processes in Task Manager on my Windows 7
    Enterprise edition with Office Professional Plus 2010 system while loading
    the VB6 app I see?
    EXCEL.EXE *32 | "My user name" | 00 CPU | 10,132k | Microsoft Excel
    This is normal and stays in process the entire time I run it on my system. I also have
    this working on another end users system. However the issue and the fix I used
    on our two systems does not seem to work on other systems. I launch the VB6 app
    and it comes up.
    EXCEL.EXE *32 | "My user name" | 00 CPU | 10,132k | Microsoft Excel
    This loads in the processes and then immediately unloads without any errors. Then when I
    execute something that needs to use Excel I get.
    Run-Time error ‘91’:
    Object variable or With block variable not set.
    This only happens if Excel unloads immediately otherwise the program works great. There
    are no events in any of the event logs and our other IT guy said it is loading
    and unloading normally with out crashing.
    I have applied this to the systems http://support.microsoft.com/kb/926430/en-us . In
    all of my searching this looked like the best answer. However only two systems
    are working with Office Professional Plus 2010.
    Here are the references and components.
    References:
    Visual Basic For Applications
    Visual Basic runtime objects and procedures
    Visual Basic objects and procedures
    OLE Automation
    Microsoft DAO 3.6 Object Library
    Microsoft Excel 5.0 Object Library
    Components:
    Controls
    Desaware Animated Button Control
    Microsoft Common Dialog Control 6.0 (SP6)
    Microsoft Data Bound Grid Control 5.0 (SP6)
    Designers
    Dat Environment
    Data Report
    DHTML Page
    WebClass
    Code:
    Public xlApp As Excel.Application
    Public WBSetup As Excel.Workbook
    Public objWbCALC As Excel.Workbook
    Public objShtLEVELS As Excel.Worksheet
    Sub Main()
    ' There is more code here that is not specific to Excel issue
    Set xlApp = Excel.Application
    ' Get the workbook.
    Set objWbCALC = xlApp.Workbooks.Open("c:\temp\Calc.xls")
    Set WBSetup = xlApp.Workbooks.Open("c:\temp\Setup.xls")
    ' Get worksheet
    Set objShtLEVELS = objWbCALC.Worksheets("Levels")
    ' There is more code here that is not specific to Excel issue
    End Sub
    This is working on one system that had Office 2007 and was upgraded to Office 2010. Working on my system with Office 2010. The EXE file is ran from the server you can install it or add the OCX files to local system and register them with regsvr32. No
    new components have been added or changed to the actual VB6 application. It seems to work on two systems and not on other systems.
    However our test system have Office 2010 loaded on it and never had office 2007 on it. Maybe there is a residual left over file on it.
    Any ideas?
    www.ipdg3.com

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I would like to know whether you can get the same issue when you create/load a Visual Basic application rather than VB6 in VS2012. If the issue only occurs when you load VB6 app, as Andrew said, there are other better forums for
    VB6 app provided in this thread:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions?forum=vbgeneral
    For example:
    VB Forums
    VB City
    Best regards,
    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.

Maybe you are looking for

  • Memory leak in OCCI/libclnts on Linux RHEL 5.5 ? Please advise...

    Hi all, Starting with some background: I have an application that has been running on 32-bit Linux server for years without problem, a few weeks ago it was ported to 64-bit RHEL 5.5 (compiled with -m32). Now with the application in the new environmen

  • How do I change the white background color in a b/w line drawing jpg?

    How do I change the white background color in a b/w line drawing jpg?

  • Installing java3d opengl version?

    i have my java j2sdk1.4.2_04 installed in the root of c: i have j2re1.4.2_03 installled in the following location C:\Program Files\Java i installed the java3d-1_3_1-windows-i586-opengl-sdk package, and when it asked for my install directories, it aut

  • Toc navigation panel has chaptertitles listed 2x

    I've really been working on this for hours and days using all resources available. I know that this is an easy fix  but I just cannot get it. Issue: TOC  generation When I open up the indesign book in adobe digital editions the first page is a visual

  • Idvd or studio pro ?

    1/ I'would like to create a movie DVD from several files already in Mpeg2. Around 20 files (.vob) per DVD. 2/ I would like to have different quality (compression) on each file What are softwares I need to load videos, cut, create mpeg2 files and real