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. export & import data from vc++ or c++

export & import data from vc++ or c++

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
5 Posts 5 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.
  • S Offline
    S Offline
    shiva shankar
    wrote on last edited by
    #1

    plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..

    H G D F 4 Replies Last reply
    0
    • S shiva shankar

      plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..

      H Offline
      H Offline
      harshadjahagirdar
      wrote on last edited by
      #2

      use utilities for office. mso97.dll exports the required class to manipulate with office documents from your C++ application, get necessary classes from mso97.dll as a part of your application.

      1 Reply Last reply
      0
      • S shiva shankar

        plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..

        G Offline
        G Offline
        GuimaSun
        wrote on last edited by
        #3

        Just a tip. If you create a text file, even a HTML page with colors and tables, and name it as .XLS, it will be read by Excel converting the HTML formatting to Excel as close as possible...I have got good results using this approach :cool: GuimaSun www.nexsun.com.br NEXSUN TechZone

        1 Reply Last reply
        0
        • S shiva shankar

          plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          See if the MSDN article Q178749 is of any help.


          "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          1 Reply Last reply
          0
          • S shiva shankar

            plz can any one help in getting a code which writes and reads data into excel sheet using c++ or vc++..

            F Offline
            F Offline
            f64
            wrote on last edited by
            #5

            Hi Shiva, You have some options, but I would say the easiest is using Automation, but the drawback is Excel has to be installed on the client machine. The other option is using ADO and accessing Excel files as if they were databases, in this case Excel doesn't have to be installed, but you are limited on what you can do. Anyways, to use Excel automation, check this article on the MSDN Office Automation Using Visual C++ Fabian

            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