Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QAxBase::setControl: requested control Excel.Application could not be instantiated
Forum Updated to NodeBB v4.3 + New Features

QAxBase::setControl: requested control Excel.Application could not be instantiated

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    duncan98
    wrote on last edited by duncan98
    #1

    hi,
    The application output shows:
    QAxBase::setControl: requested control Excel.Application could not be instantiated
    QAxBase::dynamicCallHelper: Object is not initialized, or initialization failed
    How to solve this problem?

    JonBJ 2 Replies Last reply
    0
    • D duncan98

      hi,
      The application output shows:
      QAxBase::setControl: requested control Excel.Application could not be instantiated
      QAxBase::dynamicCallHelper: Object is not initialized, or initialization failed
      How to solve this problem?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @duncan98 said in QAxBase::setControl: requested control Excel.Application could not be instantiated:

      How to solve this problem?

      Depends on what the code is.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        @duncan98 said in QAxBase::setControl: requested control Excel.Application could not be instantiated:

        QAxBase::setControl: requested control Excel.Application could not be instantiated

        Install the 32-bit or 64-bit Excel to match your application?

        D 1 Reply Last reply
        1
        • D duncan98

          hi,
          The application output shows:
          QAxBase::setControl: requested control Excel.Application could not be instantiated
          QAxBase::dynamicCallHelper: Object is not initialized, or initialization failed
          How to solve this problem?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @duncan98
          You already have this question going in https://forum.qt.io/topic/129216/why-export-excel-in-windows10-normal-in-windows7-export-will-crash/11. Please don't double-post, it causes people to respond twice/in different places which is a waste of peoples' time.

          1 Reply Last reply
          0
          • C ChrisW67

            @duncan98 said in QAxBase::setControl: requested control Excel.Application could not be instantiated:

            QAxBase::setControl: requested control Excel.Application could not be instantiated

            Install the 32-bit or 64-bit Excel to match your application?

            D Offline
            D Offline
            duncan98
            wrote on last edited by
            #5

            @ChrisW67
            Thanks,the problem has been found. However, it cannot be initialized without software installed, which is more limited

            mrjjM 1 Reply Last reply
            0
            • D duncan98

              @ChrisW67
              Thanks,the problem has been found. However, it cannot be initialized without software installed, which is more limited

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @duncan98 said in QAxBase::setControl: requested control Excel.Application could not be instantiated:

              However, it cannot be initialized without software installed, which is more limited

              Of cause it cant. its using excel to do the actual functions just like any other
              activeX servers depends on the client app.

              D 1 Reply Last reply
              4
              • mrjjM mrjj

                @duncan98 said in QAxBase::setControl: requested control Excel.Application could not be instantiated:

                However, it cannot be initialized without software installed, which is more limited

                Of cause it cant. its using excel to do the actual functions just like any other
                activeX servers depends on the client app.

                D Offline
                D Offline
                duncan98
                wrote on last edited by duncan98
                #7

                @mrjj
                Can this Excel component be referenced independently? I want to package it into the installer

                JonBJ 1 Reply Last reply
                0
                • D duncan98

                  @mrjj
                  Can this Excel component be referenced independently? I want to package it into the installer

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @duncan98
                  See the answer at https://forum.qt.io/topic/129216/why-export-excel-in-windows10-normal-in-windows7-export-will-crash/22 in your other on-going thread with the same question.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved