Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. an advice for a book

an advice for a book

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++data-structureshelp
5 Posts 3 Posters 0 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.
  • G Offline
    G Offline
    Gerald Mercet
    wrote on last edited by
    #1

    If i want to learn how i could do an application in vc++ which will be used in excel; for example my application need to catch data in excel, so for that it has to read into an array of value to catch input parameters for member method. I have heard that if i want to use regular dll i won't be able to use c++ functions. is it true? And in a last time if i use dlls, must i use "export" method or some method which call the function defined in vc++ from vba? so i would like to know if i could find help and samples in books or if someone could show me how to do? thanks in advance for your answers gerald

    C A 2 Replies Last reply
    0
    • G Gerald Mercet

      If i want to learn how i could do an application in vc++ which will be used in excel; for example my application need to catch data in excel, so for that it has to read into an array of value to catch input parameters for member method. I have heard that if i want to use regular dll i won't be able to use c++ functions. is it true? And in a last time if i use dlls, must i use "export" method or some method which call the function defined in vc++ from vba? so i would like to know if i could find help and samples in books or if someone could show me how to do? thanks in advance for your answers gerald

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      CUJ had an article about a year ago on doing this through COM, you essentially create a COM object which manipulates an Excel table. I can't remember the details, but it's probably online at www.cuj.com Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff.

      1 Reply Last reply
      0
      • G Gerald Mercet

        If i want to learn how i could do an application in vc++ which will be used in excel; for example my application need to catch data in excel, so for that it has to read into an array of value to catch input parameters for member method. I have heard that if i want to use regular dll i won't be able to use c++ functions. is it true? And in a last time if i use dlls, must i use "export" method or some method which call the function defined in vc++ from vba? so i would like to know if i could find help and samples in books or if someone could show me how to do? thanks in advance for your answers gerald

        A Offline
        A Offline
        Atul Dharne
        wrote on last edited by
        #3

        Check these out HOWTO: Use MFC to Automate Excel and Obtain an Array from a Range HOWTO: Use MFC to Create a Microsoft Excel Chart Atul PS: Search Google for COM Automation Excel Data Sonork ID : 100.13714

        G 1 Reply Last reply
        0
        • A Atul Dharne

          Check these out HOWTO: Use MFC to Automate Excel and Obtain an Array from a Range HOWTO: Use MFC to Create a Microsoft Excel Chart Atul PS: Search Google for COM Automation Excel Data Sonork ID : 100.13714

          G Offline
          G Offline
          Gerald Mercet
          wrote on last edited by
          #4

          i don't want to automate excel i would like to use excel as you could use it with vb for application in the sense that from a cell you could call the function you need which have been initially implemented in vc++. So do you think that i could information and samples for my application? thanks gerald

          A 1 Reply Last reply
          0
          • G Gerald Mercet

            i don't want to automate excel i would like to use excel as you could use it with vb for application in the sense that from a cell you could call the function you need which have been initially implemented in vc++. So do you think that i could information and samples for my application? thanks gerald

            A Offline
            A Offline
            Atul Dharne
            wrote on last edited by
            #5

            You can call a DOS program using the VBA Shell statement in sync or async. An application can be called using the VBA AppActivate statement. So you can implement your automation functions in VC++ apps. Hope it helps... Atul Sonork ID : 100.13714

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups