CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    Denmark
    Posts
    453

    Question Excel automation problem

    I've added a reference to Microsoft.Office.Interop.Excel and added some code for Excel automation.

    But when I run it, I get:

    "
    Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    "

    I couldn't find anything called Microsoft Excel something in the COM section of the Add Reference dialog.

    What do I need (to do) ?

    Also, I'm running this in a web app - will that cause me any problems? The examples I've seen all run in Forms.

  2. #2
    Join Date
    Jun 2001
    Location
    Denmark
    Posts
    453

    Re: Excel automation problem

    Ah...used the starter edition...
    Doh! Never mind for now...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured